Miao-Yunzai/.eslintrc.cjs

25 lines
388 B
JavaScript
Raw Normal View History

2023-03-04 14:30:13 +08:00
module.exports = {
env: {
es2021: true,
node: true
},
extends: ['standard'],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module'
},
globals: {
Bot: true,
redis: true,
logger: true,
plugin: true,
Renderer: true,
segment: true
2023-03-04 14:30:13 +08:00
},
rules: {
eqeqeq: ['off'],
'prefer-const': ['off'],
'arrow-body-style': 'off'
}
}