mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-13 11:23:50 +00:00
a41fe8806b
* chore: upgrade monorepo deps * chore: configure lint-staged * refactor: lenient use of any
62 lines
1.2 KiB
Plaintext
62 lines
1.2 KiB
Plaintext
{
|
|
"root": true,
|
|
"parserOptions": {
|
|
"ecmaVersion": 2020
|
|
},
|
|
"env": {
|
|
"es6": true,
|
|
"jest": true
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/recommended",
|
|
"prettier",
|
|
"eslint-config-prettier"
|
|
],
|
|
"plugins": [
|
|
"@typescript-eslint",
|
|
"prettier"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"e2e/**/**.spec.ts",
|
|
"e2e/**/**.test.ts"
|
|
],
|
|
"extends": [
|
|
"plugin:playwright/playwright-test"
|
|
]
|
|
}
|
|
],
|
|
"rules": {
|
|
"no-useless-concat": "warn",
|
|
"prefer-template": "warn",
|
|
"no-console": [
|
|
"warn",
|
|
{
|
|
"allow": [
|
|
"warn",
|
|
"error"
|
|
]
|
|
}
|
|
],
|
|
"@typescript-eslint/no-non-null-assertion": "warn",
|
|
"@typescript-eslint/no-explicit-any": "warn",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{
|
|
"argsIgnorePattern": "^_",
|
|
"caughtErrorsIgnorePattern": "^_",
|
|
"destructuredArrayIgnorePattern": "^_",
|
|
"varsIgnorePattern": "^_"
|
|
}
|
|
],
|
|
"prettier/prettier": [
|
|
"warn",
|
|
{
|
|
"endOfLine": "auto"
|
|
}
|
|
]
|
|
}
|
|
} |