1 Star 0 Fork 0

euzen / vue-pups

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 1.04 KB
一键复制 编辑 原始数据 按行查看 历史
euzen 提交于 2021-09-24 15:47 . init
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/vue3-essential',
'@vue/standard',
'@vue/typescript/recommended'
],
parserOptions: {
ecmaVersion: 2020
},
globals: {
Poups: true
},
rules: {
'no-console': 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'prefer-const': 'off',
'indent': 'off',
'@typescript-eslint/indent': ['error', 'tab'],
'no-tabs': 'off',
'no-mixed-spaces-and-tabs': 'off',
'eol-last': 'off',
'@typescript-eslint/no-explicit-any': ['off'],
'no-unused-expressions': 'off',
'@typescript-eslint/no-this-alias': 'off',
'prefer-promise-reject-errors': 'off',
'@typescript-eslint/no-var-requires': 'off',
'no-useless-return': 'off',
'no-useless-constructor': 'off',
'@typescript-eslint/no-useless-constructor': ['error'],
'comma-dangle': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
"@typescript-eslint/ban-types": ["error", {
"types": {
"Function": false,
},
"extendDefaults": true
}],
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/euzen/vue-pups.git
git@gitee.com:euzen/vue-pups.git
euzen
vue-pups
vue-pups
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891