1 Star 1 Fork 0

其实雨很好/yenai-plugin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.cjs 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
椰羊 提交于 2024-04-13 20:21 . 🔧 增加一点点状态样式配置项
module.exports = {
env: {
es2021: true,
node: true
},
extends: [
"standard",
"plugin:jsdoc/recommended",
"plugin:import/recommended",
"plugin:promise/recommended"
],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module"
},
plugins: [ "import", "promise", "jsdoc" ],
globals: {
Bot: true,
redis: true,
logger: true,
plugin: true,
segment: true,
ReplyError: true
},
rules: {
"eqeqeq": [ "off" ],
"prefer-const": [ "off" ],
"arrow-body-style": "off",
"camelcase": "off",
"quotes": [ "error", "double" ],
"quote-props": [ "error", "consistent" ],
"no-eval": [ "error", { allowIndirect: true } ],
"array-bracket-newline": [ "error", { multiline: true } ],
"array-bracket-spacing": [ "error", "always" ],
"space-before-function-paren": [ "error", "never" ],
"no-invalid-this": "error",
// 插件规则
"jsdoc/require-returns": 0,
"jsdoc/require-jsdoc": 0,
"jsdoc/require-param-description": 0,
"jsdoc/require-returns-description": 0,
"jsdoc/require-param-type": 0,
"import/extensions": [ "error", "ignorePackages" ]
},
ignorePatterns: [ "echarts.min.js" ]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/qsyhh/yenai-plugin.git
git@gitee.com:qsyhh/yenai-plugin.git
qsyhh
yenai-plugin
yenai-plugin
master

搜索帮助