Skip to content

Commit

Permalink
fix checkInfinity schema
Browse files Browse the repository at this point in the history
  • Loading branch information
gurgunday committed Apr 10, 2024
1 parent ab964d5 commit 86f91af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/prefer-number-properties.js
Expand Up @@ -80,7 +80,7 @@ const create = context => {
checkNaN,
} = {
checkInfinity: false,
checkNaN: false,
checkNaN: true,
...context.options[0],
};
const {sourceCode} = context;
Expand Down

0 comments on commit 86f91af

Please sign in to comment.