b8c6dabfb7
* enabling eslint on the all packages and tests * enabling for all packages * TEMP: adding an only() test to verify it fails CI * using our eslint config and ignore in CI * removing the temporary .only() test * update lock file * lint: fixing new test with a no-shadow warning * chore: update lock file
22 lines
882 B
JavaScript
22 lines
882 B
JavaScript
module.exports = {
|
|
parser: '@typescript-eslint/parser',
|
|
extends: ['plugin:@typescript-eslint/recommended', 'prettier'],
|
|
plugins: ['@typescript-eslint', 'prettier', 'no-only-tests'],
|
|
rules: {
|
|
'@typescript-eslint/ban-ts-comment': 'off',
|
|
'@typescript-eslint/camelcase': 'off',
|
|
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
|
'@typescript-eslint/no-empty-function': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
'@typescript-eslint/no-unused-vars': 'off',
|
|
'@typescript-eslint/no-use-before-define': 'off',
|
|
'@typescript-eslint/no-var-requires': 'off',
|
|
'@typescript-eslint/no-this-alias': 'off',
|
|
'no-console': 'warn',
|
|
'prefer-const': 'off',
|
|
'no-shadow': 'off',
|
|
'@typescript-eslint/no-shadow': ['error'],
|
|
'no-only-tests/no-only-tests': 'error'
|
|
},
|
|
};
|