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 11:53:34 +00:00
|
|
|
"no-inferrable-types": 0,
|
2021-03-04 11:26:32 +00:00
|
|
|
"no-console": 1, // Means warning
|
2021-03-04 11:50:06 +00:00
|
|
|
"prettier/prettier": 2, // Means error
|
2021-03-04 11:57:28 +00:00
|
|
|
"no-unused-vars": 0
|
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
|
|
|
}
|