1 Star 0 Fork 0

yiidot/bt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.js 1.18 KB
一键复制 编辑 原始数据 按行查看 历史
weihongli 提交于 2023-04-07 17:11 +08:00 . init: 初始化模板
module.exports = {
root: true,
globals: {
defineOptions: 'readonly',
},
env: {
node: true,
'vue/setup-compiler-macros': true,
},
extends: [
'plugin:vue/vue3-strongly-recommended',
'@vue/standard',
'@vue/typescript/recommended',
'plugin:prettier/recommended',
'./.eslintrc-auto-import.json',
],
parserOptions: {
ecmaVersion: 2020,
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'import/first': 0,
camelcase: 0,
// prettier
'prettier/prettier': 'error',
// vue
'vue/no-v-html': 'off',
'vue/require-default-prop': 'off',
'vue/require-explicit-emits': 'off',
'vue/multi-word-component-names': 'off',
'vue/prefer-import-from-vue': 'off',
'vue/no-v-text-v-html-on-component': 'off',
// ts
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-namespace': 0,
},
overrides: [
{
files: ['**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)'],
env: {
jest: true,
},
},
],
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yiidot/bt.git
git@gitee.com:yiidot/bt.git
yiidot
bt
bt
develop

搜索帮助