mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 13:36:48 +00:00
c9f66156d3
Server lint ran without --max-warnings or a baseline, so the rules left on warn could grow without limit. lint:warnings runs ESLint with the server's own config through the shared tally, fails on any error or inline rule config, and holds the warnings per rule for src, tests and eslint-disable'd messages to scripts/eslint-baseline.json, which only falls. It replaces lint:check in CI. no-await-in-loop, no-non-null-assertion and no-console come in as warnings held at today's counts. npm run lint no longer rewrites files; lint:fix does.
31 lines
908 B
JSON
31 lines
908 B
JSON
{
|
|
"src": {
|
|
"@typescript-eslint/no-explicit-any": 93,
|
|
"@typescript-eslint/no-non-null-assertion": 297,
|
|
"@typescript-eslint/no-require-imports": 18,
|
|
"@typescript-eslint/no-unsafe-function-type": 1,
|
|
"@typescript-eslint/no-unused-vars": 43,
|
|
"no-await-in-loop": 566,
|
|
"no-console": 237,
|
|
"no-empty": 6
|
|
},
|
|
"suppressed": {
|
|
"@typescript-eslint/no-explicit-any": 128,
|
|
"@typescript-eslint/no-require-imports": 20,
|
|
"no-control-regex": 7,
|
|
"no-misleading-character-class": 1
|
|
},
|
|
"tests": {
|
|
"@typescript-eslint/no-explicit-any": 1571,
|
|
"@typescript-eslint/no-non-null-assertion": 1757,
|
|
"@typescript-eslint/no-require-imports": 25,
|
|
"@typescript-eslint/no-unsafe-function-type": 7,
|
|
"@typescript-eslint/no-unused-vars": 101,
|
|
"no-await-in-loop": 459,
|
|
"no-console": 18,
|
|
"no-empty": 2,
|
|
"no-useless-escape": 1,
|
|
"prefer-const": 3
|
|
}
|
|
}
|