feat: Adjust eslint configuration to work with JS
This commit is contained in:
@@ -3,26 +3,8 @@ module.exports = {
|
|||||||
env: {
|
env: {
|
||||||
node: true,
|
node: true,
|
||||||
},
|
},
|
||||||
parser: '@typescript-eslint/parser',
|
extends: ['eslint:recommended', 'prettier'],
|
||||||
plugins: ['@typescript-eslint'],
|
parserOptions: {
|
||||||
extends: [
|
ecmaVersion: 'latest',
|
||||||
'eslint:recommended',
|
},
|
||||||
'plugin:@typescript-eslint/recommended',
|
|
||||||
'prettier',
|
|
||||||
],
|
|
||||||
overrides: [
|
|
||||||
{
|
|
||||||
files: ['**/*.test.ts', '**/test/**/*.ts'],
|
|
||||||
rules: {
|
|
||||||
'@typescript-eslint/ban-ts-comment': ['off'],
|
|
||||||
'@typescript-eslint/no-explicit-any': ['off'],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
files: ['**/*.ts'],
|
|
||||||
rules: {
|
|
||||||
'@typescript-eslint/no-explicit-any': ['off'],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user