0 Star 0 Fork 25

gulugulu/Yenai-Plugin

forked from 椰羊/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 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/gulugulu111/yenai-plugin.git
[email protected]:gulugulu111/yenai-plugin.git
gulugulu111
yenai-plugin
Yenai-Plugin
master

搜索帮助