mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-29 16:10:07 +00:00
f99c7f5421
- index.css stays at its size: the map canvas colour moves to its own stylesheet. - The rating badge on map markers takes its amber and white from a class in ratingBadge.css instead of inline literals; the theme entry drops with it. - Strict mode: the identity a link joins is resolved without a widened union, the description of an entry's origins is string or undefined, and the map search rows are typed. - knip: PLACE_NAME_ATTR is module private, the linked-by enum names the values the service writes, and the unlink contract is its own described schema rather than a second name for the use schema. - The duplicates hook test reads toasts through a module mock instead of the window hook; react-hooks/refs is lowered to the count the run measured. - Tests follow the rename to Places and the list icon on an edit.
52 lines
1.7 KiB
JSON
52 lines
1.7 KiB
JSON
{
|
|
"src": {
|
|
"@typescript-eslint/no-non-null-assertion": 345,
|
|
"@typescript-eslint/no-misused-promises": 812,
|
|
"no-console": 85,
|
|
"complexity": 215,
|
|
"@typescript-eslint/no-explicit-any": 114,
|
|
"trek/no-swallowed-catch": 124,
|
|
"max-params": 31,
|
|
"trek/store-without-selector": 65,
|
|
"react-hooks/refs": 389,
|
|
"react-hooks/set-state-in-effect": 188,
|
|
"@typescript-eslint/no-floating-promises": 162,
|
|
"react-hooks/exhaustive-deps": 112,
|
|
"@typescript-eslint/no-unused-vars": 100,
|
|
"react-hooks/immutability": 26,
|
|
"max-lines-per-function": 126,
|
|
"react-hooks/static-components": 38,
|
|
"react-hooks/preserve-manual-memoization": 12,
|
|
"no-useless-assignment": 7,
|
|
"no-empty": 18,
|
|
"trek/no-window-globals": 41,
|
|
"react-refresh/only-export-components": 44,
|
|
"unused-disable-directive": 5,
|
|
"max-depth": 19,
|
|
"react-hooks/void-use-memo": 1,
|
|
"@typescript-eslint/no-unused-expressions": 2,
|
|
"react-hooks/purity": 1,
|
|
"preserve-caught-error": 53,
|
|
"no-useless-escape": 1
|
|
},
|
|
"suppressed": {
|
|
"@typescript-eslint/no-explicit-any": 38,
|
|
"react-hooks/exhaustive-deps": 44
|
|
},
|
|
"tests": {
|
|
"@typescript-eslint/no-explicit-any": 484,
|
|
"@typescript-eslint/no-non-null-assertion": 1849,
|
|
"@typescript-eslint/no-misused-promises": 22,
|
|
"@typescript-eslint/no-unused-vars": 48,
|
|
"@typescript-eslint/no-floating-promises": 33,
|
|
"trek/no-window-globals": 321,
|
|
"trek/no-swallowed-catch": 6,
|
|
"react-hooks/globals": 4,
|
|
"react-hooks/refs": 16,
|
|
"@typescript-eslint/no-this-alias": 1,
|
|
"trek/store-without-selector": 3,
|
|
"no-console": 2,
|
|
"react-refresh/only-export-components": 1
|
|
}
|
|
}
|