30 lines
522 B
JavaScript
30 lines
522 B
JavaScript
|
module.exports = {
|
||
|
parser: '@typescript-eslint/parser',
|
||
|
|
||
|
parserOptions: {
|
||
|
ecmaVersion: 2020,
|
||
|
sourceType: 'module',
|
||
|
},
|
||
|
|
||
|
env: {
|
||
|
browser: true,
|
||
|
},
|
||
|
|
||
|
extends: ['plugin:@typescript-eslint/recommended', 'plugin:jest/recommended', 'plugin:prettier/recommended'],
|
||
|
|
||
|
plugins: ['@typescript-eslint', 'jest'],
|
||
|
|
||
|
rules: {
|
||
|
// Specify any specific ESLint rules.
|
||
|
},
|
||
|
|
||
|
overrides: [
|
||
|
{
|
||
|
files: ['./*.cjs'],
|
||
|
rules: {
|
||
|
'@typescript-eslint/no-var-requires': 'off',
|
||
|
},
|
||
|
},
|
||
|
],
|
||
|
};
|