1 Star 0 Fork 47

哈希抠脚汉 / vue-fabric-editor

forked from 秦少卫 / vue-fabric-editor 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
June 提交于 2024-04-15 17:34 . fix: 恢复自动导入api处理
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
'eslint:recommended',
'plugin:vue/vue3-essential',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
'./.eslintrc-auto-import.json',
],
parser: 'vue-eslint-parser',
parserOptions: {
ecmaVersion: 'latest',
parser: '@typescript-eslint/parser',
sourceType: 'module',
},
plugins: ['vue', '@typescript-eslint'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-plusplus': 'off',
'@typescript-eslint/no-this-alias': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'import/no-unresolved': 'off',
'vuejs-accessibility/form-control-has-label': 'off',
'consistent-return': 'off', // 强制统一返回值
'no-param-reassign': 'off', // 参数重新分配
'no-underscore-dangle': 'off', // 使用下划线命名
'comma-spacing': 'off',
'vuejs-accessibility/click-events-have-key-events': 'off',
'max-len': 'off',
'no-unused-expressions': 'off', // 17
'linebreak-style': 'off',
'vue/multi-word-component-names': 'off', // 开启组件需要多单词
'vue/no-setup-props-destructure': 'off',
'vuejs-accessibility/anchor-has-content': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
},
overrides: [
{
files: ['**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)'],
env: {
jest: true,
},
},
],
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/tongshuai18061776464/vue-fabric-editor.git
git@gitee.com:tongshuai18061776464/vue-fabric-editor.git
tongshuai18061776464
vue-fabric-editor
vue-fabric-editor
main

搜索帮助

344bd9b3 5694891 D2dac590 5694891