mirror of
https://github.com/SukkaW/Surge.git
synced 2026-01-28 17:41:54 +08:00
Chore: update ESLint config
This commit is contained in:
13
eslint.config.js
Normal file
13
eslint.config.js
Normal 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 }]
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user