* chore(deps): bump @actions/core from 1.2.7 to 1.3.0 Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.2.7 to 1.3.0. - [Release notes](https://github.com/actions/toolkit/releases) - [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md) - [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core) Signed-off-by: dependabot[bot] <support@github.com> * feat: switch to YAML boolean for inputs The parsing is now handled by `@actions/core` package * docs(README): minor changes Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Federico Grandi <fgrandi30@gmail.com>
37 lines
725 B
JavaScript
37 lines
725 B
JavaScript
module.exports = {
|
|
env: {
|
|
commonjs: true,
|
|
es6: true,
|
|
node: true
|
|
},
|
|
extends: ['eslint:recommended', 'plugin:prettier/recommended'],
|
|
globals: {},
|
|
parser: '@typescript-eslint/parser',
|
|
parserOptions: {
|
|
ecmaVersion: 6,
|
|
sourceType: 'module'
|
|
},
|
|
plugins: ['@typescript-eslint'],
|
|
ignorePatterns: ['lib/*'],
|
|
rules: {
|
|
'prettier/prettier': 'warn',
|
|
'no-cond-assign': [2, 'except-parens'],
|
|
'no-unused-vars': 0,
|
|
'no-redeclare': 0,
|
|
'@typescript-eslint/no-unused-vars': 1,
|
|
'no-empty': [
|
|
'error',
|
|
{
|
|
allowEmptyCatch: true
|
|
}
|
|
],
|
|
'prefer-const': [
|
|
'warn',
|
|
{
|
|
destructuring: 'all'
|
|
}
|
|
],
|
|
'spaced-comment': 'warn'
|
|
}
|
|
}
|