Yunzai-Bot/.eslintrc.cjs
2022-07-15 16:01:13 +08:00

24 lines
326 B
JavaScript

module.exports = {
env: {
es2021: true,
node: true
},
extends: [
'standard'
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module'
},
globals: {
Bot: true,
redis: true,
logger: true,
plugin: true
},
rules: {
eqeqeq: ['off'],
'prefer-const': ['off']
}
}