37 lines
980 B
JSON
37 lines
980 B
JSON
{
|
|
"root": true,
|
|
"env": {
|
|
"browser": true,
|
|
"es2020": true
|
|
},
|
|
"extends": [
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier/@typescript-eslint",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020,
|
|
"sourceType": "module"
|
|
},
|
|
"plugins": ["unused-imports", "@typescript-eslint", "json-format", "prettier"],
|
|
"settings": {
|
|
"json/sort-package-json": true
|
|
},
|
|
"rules": {
|
|
"prettier/prettier": "error",
|
|
"no-unused-vars": "off",
|
|
"unused-imports/no-unused-imports-ts": "error",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"warn",
|
|
{
|
|
"argsIgnorePattern": "^_"
|
|
}
|
|
],
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/no-var-requires": "off"
|
|
}
|
|
}
|