2021-03-04 11:26:32 +00:00
|
|
|
{
|
|
|
|
"root": true,
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint",
|
|
|
|
"prettier"
|
|
|
|
],
|
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
"prettier"
|
|
|
|
],
|
|
|
|
"rules": {
|
2021-03-04 12:07:58 +00:00
|
|
|
"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"
|
2021-03-04 11:50:06 +00:00
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": [
|
|
|
|
"*/src/example.ts"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"no-console": "off"
|
|
|
|
}
|
|
|
|
}]
|
2021-03-04 11:26:32 +00:00
|
|
|
}
|