2 Star 0 Fork 0

喻帅 / 智风控

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
Frank Zheng 提交于 2022-07-18 15:46 . Initial commit
module.exports = {
root: true,
env: {
browser: true,
node: true,
es6: true,
},
extends: ['plugin:vue/vue3-recommended', 'plugin:@typescript-eslint/recommended', 'plugin:security/recommended', 'plugin:prettier/recommended', './.eslintrc-auto-import.json'],
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
ecmaVersion: 2020,
sourceType: 'module',
jsxPragma: 'React',
ecmaFeatures: {
jsx: true,
},
},
rules: {
'no-var': 'error',
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'comma-dangle': ['error', 'only-multiline'],
'vue/multi-word-component-names': 'off',
'security/detect-object-injection': 'off',
'security/detect-non-literal-regexp': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'security/detect-unsafe-regex': 'off',
'@typescript-eslint/ban-types': 'off',
},
globals: {
defineProps: 'readonly',
defineEmits: 'readonly',
defineExpose: 'readonly',
withDefaults: 'readonly',
},
};
JavaScript
1
https://gitee.com/yu20010501/client-develop.git
git@gitee.com:yu20010501/client-develop.git
yu20010501
client-develop
智风控
ys_20220719

搜索帮助