Yunzai-Bot/.eslintrc.cjs

23 lines
349 B
JavaScript
Raw Normal View History

2022-07-15 16:01:13 +08:00
module.exports = {
env: {
es2021: true,
node: true
},
2022-08-17 09:39:26 +08:00
extends: ['standard'],
2022-07-15 16:01:13 +08:00
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module'
},
globals: {
Bot: true,
redis: true,
logger: true,
plugin: true
},
rules: {
eqeqeq: ['off'],
2022-08-16 16:44:17 +08:00
'prefer-const': ['off'],
2022-08-17 09:39:26 +08:00
'arrow-body-style': 'off'
2022-07-15 16:01:13 +08:00
}
}