1 Star 1 Fork 1

Ttou / taro-template

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.eslintrc.js 1.21 KB
一键复制 编辑 原始数据 按行查看 历史
Ttou 提交于 2024-04-13 16:44 . build(custom): 更新配置
/**
* @type {import('eslint').Linter.Config}
*/
module.exports = {
root: true,
env: {
browser: true,
node: true
},
extends: [
'eslint:recommended',
'@vue/typescript/recommended',
'plugin:vue/vue3-recommended',
'plugin:prettier/recommended'
],
parserOptions: {
ecmaVersion: 2020,
parser: '@typescript-eslint/parser'
},
plugins: ['@typescript-eslint', 'simple-import-sort', 'prettier'],
rules: {
'no-undef': 'off',
'no-empty': 'off',
'no-useless-escape': 'off',
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
'prettier/prettier': 'error',
'vue/attribute-hyphenation': 'off',
'vue/v-on-event-hyphenation': 'off',
'vue/multi-word-component-names': 'off',
'vue/no-reserved-component-names': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@typescript-eslint/no-empty-interface': 'off'
}
}
TypeScript
1
https://gitee.com/jh_shot/taro-template.git
git@gitee.com:jh_shot/taro-template.git
jh_shot
taro-template
taro-template
master

搜索帮助