19 lines
354 B
JavaScript
19 lines
354 B
JavaScript
|
module.exports = {
|
||
|
extends: ['eslint:recommended'],
|
||
|
env: {
|
||
|
browser: true,
|
||
|
node: true,
|
||
|
},
|
||
|
overrides: [
|
||
|
{
|
||
|
files: ['**/*.ts'],
|
||
|
plugins: ['@typescript-eslint'],
|
||
|
parser: '@typescript-eslint/parser',
|
||
|
},
|
||
|
],
|
||
|
rules: {
|
||
|
'no-unused-vars': 'off',
|
||
|
'no-constant-condition': ['error', { checkLoops: false }],
|
||
|
},
|
||
|
}
|