26 lines
799 B
JSON
26 lines
799 B
JSON
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module"
|
|
},
|
|
"env": {
|
|
"node": true,
|
|
"es6": true
|
|
},
|
|
"extends": ["eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:@typescript-eslint/recommended"],
|
|
"plugins": ["@typescript-eslint"],
|
|
"rules": {
|
|
"semi": "warn",
|
|
"quotes": ["warn", "double"],
|
|
"no-dupe-args": "error",
|
|
"no-dupe-else-if": "error",
|
|
"no-unreachable-loop": "error",
|
|
"no-unreachable": "error",
|
|
"no-duplicate-imports": "error",
|
|
"@typescript-eslint/no-var-requires": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-require-imports": "off"
|
|
}
|
|
}
|