chore(lint): enable anti-slop no-reduce-accumulator-copy and no-widen-then-assert (#20780)

Both rules already report zero violations, so this only locks in the current
state as a ratchet. No source changes.
This commit is contained in:
Neil
2026-09-14 21:58:56 -07:00
committed by GitHub
parent 11180fa532
commit b79206533e
+2 -2
View File
@@ -31,7 +31,7 @@
"anti-slop/no-known-value-widening": "off",
"anti-slop/no-module-mocking": "off",
"anti-slop/no-object-parameters": "off",
"anti-slop/no-reduce-accumulator-copy": "off",
"anti-slop/no-reduce-accumulator-copy": "error",
"anti-slop/no-reflect-apply": "off",
"anti-slop/no-reflect-get": "off",
"anti-slop/no-runtime-typeof": "off",
@@ -40,7 +40,7 @@
"anti-slop/no-unknown-returns": "off",
"anti-slop/no-unknown-type-aliases": "off",
"anti-slop/no-unsafe-dictionary-type": "off",
"anti-slop/no-widen-then-assert": "off",
"anti-slop/no-widen-then-assert": "error",
"anti-slop/require-readable-spacing": "off",
"anti-slop/require-safety-comment-for-type-assertion": "off"
},