@@ -651,6 +651,7 @@ export default [
651651 'unicorn/no-array-splice' : 'off' , // toSpliced copies the whole array (perf)
652652 'unicorn/no-break-in-nested-loop' : 'off' , // Conflicts with our performance-oriented loops
653653 'unicorn/no-global-object-property-assignment' : 'off' , // We use globalThis[Symbol.for('dd-trace')]
654+ 'unicorn/no-negated-array-predicate' : 'off' , // Predicate inversion is harder to read and creates churn
654655 'unicorn/no-nested-ternary' : 'off' , // Not really an issue in the code and the benefit is small
655656 'unicorn/no-new-array' : 'off' , // new Array is often used for performance reasons
656657 'unicorn/no-null' : 'off' , // We do not control external APIs and it is hard to differentiate these
@@ -678,17 +679,12 @@ export default [
678679 'unicorn/switch-case-braces' : 'off' , // Questionable benefit
679680
680681 // These remaining rules need focused rewrites before activation (counts from the v72 run).
681- 'unicorn/logical-assignment-operators' : 'off' , // 51 errors | matches our ??=/||= usage
682682 'unicorn/no-confusing-array-splice' : 'off' , // 1 error
683683 'unicorn/no-for-each' : 'off' , // 10 errors | we already prefer for-of in production
684684 'unicorn/no-negated-comparison' : 'off' , // 1 error
685685 'unicorn/no-subtraction-comparison' : 'off' , // 2 errors
686686 'unicorn/no-unnecessary-global-this' : 'off' , // 3 errors | explicit globals are clearer
687- 'unicorn/no-unnecessary-splice' : 'off' , // 2 errors
688- 'unicorn/no-useless-concat' : 'off' , // 4 errors
689687 'unicorn/no-useless-continue' : 'off' , // 1 error
690- 'unicorn/no-useless-delete-check' : 'off' , // 1 error
691- 'unicorn/no-useless-template-literals' : 'off' , // 16 errors | String() rewrites reduce readability
692688 'unicorn/prefer-array-from-map' : 'off' , // 9 errors | loops avoid callback allocation
693689 'unicorn/prefer-continue' : 'off' , // 52 errors
694690 'unicorn/prefer-logical-operator-over-ternary' : 'off' , // 3 errors
0 commit comments