Skip to content

Commit

Permalink
feat(common): new rule unicorn/no-length-as-slice-end
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazmi35 committed Oct 14, 2024
1 parent d005310 commit 5bb1a7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conf/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ export default [
"unicorn/no-instanceof-array": "error",
"unicorn/no-invalid-fetch-options": "error",
"unicorn/no-invalid-remove-event-listener": "error",
"unicorn/no-length-as-slice-end": "warn",
"unicorn/no-lonely-if": "error", // Used together with no-lonely-if from eslint rules as it's recommended
"unicorn/no-negated-condition": "error", // Replaces no-negated-condition from eslint rules
"unicorn/no-negation-in-equality-check": "error",
Expand Down

0 comments on commit 5bb1a7d

Please sign in to comment.