1 Star 0 Fork 28

BabySeeME「大雄」 / uniapp vue next starter

forked from dodu / uniapp vue next starter 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
// TypeScript感知规则
process.env.ESLINT_TSCONFIG = 'tsconfig.json'
module.exports = {
extends: '@antfu',
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-var': 'error',
'no-irregular-whitespace': 'warn',
'promise/param-names': 'warn',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'vue/no-irregular-whitespace': 'warn',
'vue/component-name-in-template-casing': ['error', 'kebab-case'],
'vue/component-options-name-casing': ['error', 'PascalCase'],
// 'vue/custom-event-name-casing': ['error', 'camelCase' | 'kebab-case'],
'vue/no-template-shadow': 'off',
},
// overrides: [
// {
// files: ['*.vue'],
// rules: {
// 'vue/component-name-in-template-casing': [2, 'kebab-case'],
// 'vue/require-default-prop': 0,
// 'vue/multi-word-component-names': 0,
// 'vue/no-reserved-props': 0,
// 'vue/no-v-html': 0,
// },
// },
// ],
// globals: {
// defineProps: 'readonly',
// defineEmits: 'readonly',
// defineExpose: 'readonly',
// withDefaults: 'readonly',
// uni: 'readonly',
// },
}
TypeScript
1
https://gitee.com/babyseeme/uniapp-starter.git
git@gitee.com:babyseeme/uniapp-starter.git
babyseeme
uniapp-starter
uniapp vue next starter
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891