26 lines
581 B
JavaScript
26 lines
581 B
JavaScript
module.exports = {
|
|
"env": {
|
|
"es2021": true,
|
|
"node": true
|
|
},
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
'no-unused-vars': ['error'],
|
|
'semi': ['error', 'always'],
|
|
'quotes': ['error', 'single'],
|
|
'eqeqeq': ['error', 'smart'],
|
|
'indent': ['error', 2]
|
|
}
|
|
}
|