加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.eslintrc.js 1.33 KB
一键复制 编辑 原始数据 按行查看 历史
viarotel 提交于 2021-11-29 13:36 . 架构更新
module.exports = {
root: true,
env: {
node: true,
},
extends: [
"plugin:vue/essential",
"plugin:vue/recommended",
"eslint:recommended",
"airbnb-base",
],
parserOptions: {
parser: "babel-eslint",
},
rules: {
"vue/html-self-closing": "off",
"linebreak-style": [0, "error", "windows"],
"import/no-extraneous-dependencies": [
"error",
{
devDependencies: true,
},
],
"global-require": "off",
"no-underscore-dangle": "off",
"import/prefer-default-export": "off",
"no-useless-escape": "off",
"import/no-unresolved": "off",
"no-restricted-syntax": "off",
"consistent-return": "off",
"no-param-reassign": "off",
"no-console": "off",
"no-shadow": "off",
"prefer-destructuring": "off",
"max-len": "off",
"import/no-absolute-path": "off",
"default-case": "off",
"no-plusplus": "off",
"no-use-before-define": "off",
"array-callback-return": "off",
"brace-style": "off",
"no-tabs": "off",
"guard-for-in": "off",
eqeqeq: "off",
"import/extensions": "off",
camelcase: "off",
"import/no-dynamic-require": "off",
"no-undef": "off",
"no-unused-vars": "off",
"no-unused-expressions": "off",
"func-names": "off",
"import/no-named-as-default": "off",
"no-empty-function": "off",
},
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化