Skip to content

Commit

Permalink
infra(unicorn): no-zero-fractions
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Oct 17, 2023
1 parent 980f230 commit 3360a31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ module.exports = defineConfig({

'unicorn/no-nested-ternary': 'off', // incompatible with prettier
'unicorn/no-null': 'off', // incompatible with TypeScript
'unicorn/no-zero-fractions': 'off', // deactivated to raise awareness of floating operations
'unicorn/number-literal-case': 'off', // incompatible with prettier

// TODO @Shinigami92 2023-09-23: prefer-at should be turned on when we drop support for Node 14.
Expand All @@ -60,7 +61,6 @@ module.exports = defineConfig({
'unicorn/no-negated-condition': 'off',
'unicorn/no-object-as-default-parameter': 'off',
'unicorn/no-useless-switch-case': 'off',
'unicorn/no-zero-fractions': 'off',
'unicorn/numeric-separators-style': 'off',
'unicorn/prefer-array-some': 'off',
'unicorn/prefer-code-point': 'off',
Expand Down

0 comments on commit 3360a31

Please sign in to comment.