33 lines
860 B
Plaintext
33 lines
860 B
Plaintext
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
"@typescript-eslint",
|
|
"prettier"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier"
|
|
],
|
|
"rules": {
|
|
"no-inferrable-types": "off",
|
|
"no-console": "warn",
|
|
"prettier/prettier": "error",
|
|
"@typescript-eslint/no-unused-vars": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/ban-ts-comment": "warn",
|
|
"no-unused-vars": "off",
|
|
"no-prototype-builtins": "warn"
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"*/src/example.ts"
|
|
],
|
|
"rules": {
|
|
"no-console": "off"
|
|
}
|
|
}]
|
|
} |