Files
OwnCord/Client/tauri-client/.oxlintrc.json
T
jevb 57ba535673 fix: replace mutating sort/reverse with toSorted/toReversed (ES2023)
Replace .sort() with .toSorted() and .reverse() with .toReversed()
to avoid in-place mutation (consistent with project immutability rules).
Only disable no-map-spread rule — new Map(existingMap) is the correct
immutable copy pattern, not a perf issue worth flagging.

Oxlint: 0 warnings, 0 errors with all rules enabled except no-map-spread.
2026-04-01 15:44:06 +02:00

13 lines
308 B
JSON

{
"$schema": "https://raw.githubusercontent.com/oxc-project/oxc/main/npm/oxlint/configuration_schema.json",
"categories": {
"correctness": "error",
"suspicious": "warn",
"perf": "warn"
},
"rules": {
"no-map-spread": "off"
},
"ignorePatterns": ["dist", "node_modules", "public"]
}