vd-plugins/.eslintrc.json

43 lines
958 B
JSON
Raw Normal View History

2023-02-12 22:48:12 +08:00
{
"env": {
"es2021": true,
"node": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": "latest",
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint"
],
"rules": {
"indent": [
"error",
4
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/triple-slash-reference": "off",
2023-02-13 00:18:39 +08:00
"@typescript-eslint/no-non-null-assertion": "off",
2023-02-12 22:48:12 +08:00
"eol-last": "error"
}
}