Highlights
- drop Node < 14 and NPM < 7
- remove React-rules
- add TypeScript-rules
Update packages
- plugin-import: 2.23.4 → 2.25.4
- plugin-promise: 5.1.0 → 6.0.0
- plugin-sonarjs: 0.9.1 → 0.12.0
- plugin-unicorn: 34.0.1 → 41.0.0
New rules
-
core: no-dupe-else-if - no-import-assign - no-loss-of-precision - no-promise-executor-return - no-setter-return - no-unreachable-loop - no-unsafe-optional-chaining - no-constructor-return - no-nonoctal-decimal-escape - no-param-reassign - no-useless-backreference - no-array-constructor - prefer-numeric-literals
-
sonar: no-gratuitous-expressions - no-nested-switch - no-redundant-jump - no-unused-collection
-
unicorn: no-invalid-remove-event-listener - no-thenable - no-useless-fallback-in-spread - no-useless-length-check - no-useless-promise-resolve-reject - no-useless-spread - prefer-array-find - prefer-array-flat - prefer-array-some - prefer-date-now - prefer-node-protocol - prefer-object-from-entries - prefer-string-starts-ends-with