mirror of
https://github.com/Tencent/tdesign-vue-next-starter.git
synced 2024-12-23 02:26:34 +08:00
dcf3f1d73c
* feat/login/uiedit (#21) * feat: login ui edit * feat: login page add dark theme * feat: login page over * feat: ui Update * feat: update start script Co-authored-by: pengyue970715@gmail.com * docs: readme start script update * fix/UI/dark (#22) * style: ui edit。 * feat: ui edit complete * style: ui edit * chore: update style import path * feat: update import path * chore: lint fix * feat: add package.lok * chore: update node version * chore: update actions * chore: remove lock file * fix: node version update * fix: revert preview actiion * fix: tdesign-wrapper classname fix * chore: complete type pkg * chore: action complete * feat: update redirect url * feat: rename layouts to layout * chore: revert layout to layouts Co-authored-by: Uyarn <uyarnchen@gmail.com> * enhance/router (#23) * style: ui edit。 * feat: ui edit complete * style: ui edit * chore: update style import path * feat: update import path * chore: lint fix * feat: add package.lok * chore: update node version * chore: update actions * chore: remove lock file * fix: node version update * fix: revert preview actiion * fix: tdesign-wrapper classname fix * feat: add router permission * feat: enhance router * feat: optimize header icon Co-authored-by: pengYYY <pengyue970715@gmail.com> * fix: layouts name fix (#24) Co-authored-by: Uyarn <uyarnchen@gmail.com>
65 lines
1.4 KiB
Plaintext
65 lines
1.4 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",
|
|
"vue/first-attribute-linebreak": 0
|
|
},
|
|
"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,
|
|
|
|
}
|
|
}
|
|
]
|
|
} |