mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-23 01:06:37 +08:00
a5b177e8e1
Co-authored-by: pengYYYYY <pengyue970715@gmail.com>
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
{
|
|
"extends": [
|
|
"plugin:@typescript-eslint/recommended",
|
|
"eslint-config-airbnb-base",
|
|
"plugin:vue/vue3-recommended",
|
|
"plugin:prettier/recommended"
|
|
],
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"jest": true,
|
|
"es6": true
|
|
},
|
|
"plugins": [
|
|
"vue",
|
|
"@typescript-eslint"
|
|
],
|
|
"parserOptions": {
|
|
"parser": "@typescript-eslint/parser",
|
|
"sourceType": "module",
|
|
"allowImportExportEverywhere": true,
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
}
|
|
},
|
|
"settings": {
|
|
"import/extensions": [
|
|
".js",
|
|
".jsx",
|
|
".ts",
|
|
".tsx"
|
|
]
|
|
},
|
|
"rules": {
|
|
"no-console": "off",
|
|
"no-continue": "off",
|
|
"no-restricted-syntax": "off",
|
|
"no-plusplus": "off",
|
|
"no-param-reassign": "off",
|
|
"no-shadow": "off",
|
|
"guard-for-in": "off",
|
|
|
|
"import/extensions": "off",
|
|
"import/no-unresolved": "off",
|
|
"import/no-extraneous-dependencies": "off",
|
|
"import/prefer-default-export": "off",
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/explicit-module-boundary-types": "off"
|
|
}
|
|
} |