22 строки
525 B
JavaScript
22 строки
525 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: '@typescript-eslint/parser',
|
|
plugins: [
|
|
'@typescript-eslint',
|
|
],
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/eslint-recommended',
|
|
'plugin:@typescript-eslint/recommended'
|
|
],
|
|
rules: {
|
|
"no-unused-vars": "off", // this rule is superseded by typescript-eslint's version
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"warn", {
|
|
"args": "all",
|
|
"argsIgnorePattern": "^_",
|
|
"varsIgnorePattern": "^_"
|
|
}
|
|
]
|
|
}
|
|
}; |