Skip to content

Commit

Permalink
feat(common): new unicorn/prefer-math-min-max rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazmi35 committed Oct 14, 2024
1 parent 9cc278b commit 981873b
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 @@ -393,6 +393,7 @@ export default [
"unicorn/prefer-includes": "error",
"unicorn/prefer-keyboard-event-key": "error",
"unicorn/prefer-logical-operator-over-ternary": "error",
"unicorn/prefer-math-min-max": "warn",
"unicorn/prefer-modern-math-apis": "warn",
"unicorn/prefer-module": "off", // Add @hazmi35/eslint-config/modules config
"unicorn/prefer-native-coercion-functions": "error",
Expand Down

0 comments on commit 981873b

Please sign in to comment.