37 lines
490 B
JavaScript
37 lines
490 B
JavaScript
|
module.exports = {
|
||
|
"env": {
|
||
|
"es2021": true,
|
||
|
"node": true
|
||
|
},
|
||
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"plugin:@typescript-eslint/recommended"
|
||
|
],
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"parserOptions": {
|
||
|
"ecmaVersion": 12,
|
||
|
"sourceType": "module"
|
||
|
},
|
||
|
"plugins": [
|
||
|
"@typescript-eslint"
|
||
|
],
|
||
|
"rules": {
|
||
|
"indent": [
|
||
|
"error",
|
||
|
"tab"
|
||
|
],
|
||
|
"linebreak-style": [
|
||
|
"error",
|
||
|
"unix"
|
||
|
],
|
||
|
"quotes": [
|
||
|
"error",
|
||
|
"double"
|
||
|
],
|
||
|
"semi": [
|
||
|
"error",
|
||
|
"never"
|
||
|
]
|
||
|
}
|
||
|
}
|