1 Star 0 Fork 0

actions.win / uniapp-template-ts

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
.eslintrc.cjs 877 Bytes
一键复制 编辑 原始数据 按行查看 历史
actions.win 提交于 2024-05-11 00:59 . chore: eslint调整
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')
const { defineConfig } = require('eslint-define-config')
module.exports = defineConfig({
root: true,
extends: [
'./.eslintrc-auto-import.json',
'plugin:vue/vue3-essential',
'eslint:recommended',
'@vue/eslint-config-typescript',
'@vue/eslint-config-prettier/skip-formatting'
],
parserOptions: {
ecmaVersion: 'latest'
},
plugins: ['unused-imports', '@typescript-eslint'],
rules: {
'@typescript-eslint/consistent-type-imports': 'error',
'no-var': 'error',
'prefer-const': 'error',
'unused-imports/no-unused-imports': 'error',
'vue/multi-word-component-names': 'off',
'vue/component-name-in-template-casing': [
'error',
'kebab-case',
{
registeredComponentsOnly: false,
ignores: []
}
]
}
})
1
https://gitee.com/ywenhao/uniapp-template-ts.git
git@gitee.com:ywenhao/uniapp-template-ts.git
ywenhao
uniapp-template-ts
uniapp-template-ts
main

搜索帮助