Chore: update ESLint config

This commit is contained in:
SukkaW
2023-09-28 22:59:19 +08:00
parent d69def0024
commit 3d2afa608c
21 changed files with 315 additions and 315 deletions

13
eslint.config.js Normal file
View File

@@ -0,0 +1,13 @@
'use strict';
module.exports = require('eslint-config-sukka').sukka({
js: {
disableNoConsoleInCLI: ['Build/**']
},
node: true
}, {
rules: {
'sukka/unicorn/prefer-math-trunc': 'off',
'sukka/unicorn/prefer-number-properties': ['warn', { checkInfinity: false }]
}
});