Miao-Yunzai/.eslintrc.cjs

25 lines
390 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: {
2024-06-08 21:07:07 +08:00
'eqeqeq': ['off'],
2023-03-04 14:30:13 +08:00
'prefer-const': ['off'],
'arrow-body-style': 'off'
}
}