Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c49641d9
authored
Aug 13, 2024
by
preschool
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
🎈
perf:移除stylelint已弃用的规则、开启保存时自动stylelint格式化、移除tsconfig报错内容
parent
a7c37fa2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
11 deletions
+12
-11
.vscode/settings.json
+2
-1
stylelint.config.js
+5
-5
tsconfig.json
+5
-5
No files found.
.vscode/settings.json
View file @
c49641d9
...
...
@@ -83,7 +83,8 @@
"editor.defaultFormatter"
:
"esbenp.prettier-vscode"
},
"editor.codeActionsOnSave"
:
{
"source.fixAll.eslint"
:
"explicit"
"source.fixAll.eslint"
:
"explicit"
,
"source.fixAll.stylelint"
:
"explicit"
},
"[vue]"
:
{
"editor.defaultFormatter"
:
"rvest.vs-code-prettier-eslint"
...
...
stylelint.config.js
View file @
c49641d9
...
...
@@ -13,19 +13,19 @@ module.exports = {
'at-rule-no-unknown'
:
[
true
,
{
ignoreAtRules
:
[
'function'
,
'if'
,
'each'
,
'include'
,
'mixin'
]
ignoreAtRules
:
[
'function'
,
'if'
,
'each'
,
'include'
,
'mixin'
,
'extend'
]
}
],
'media-query-no-invalid'
:
null
,
'function-no-unknown'
:
null
,
'no-empty-source'
:
null
,
'named-grid-areas-no-invalid'
:
null
,
'unicode-bom'
:
'never'
,
//
'unicode-bom': 'never',
'no-descending-specificity'
:
null
,
'font-family-no-missing-generic-family-keyword'
:
null
,
'declaration-colon-space-after'
:
'always-single-line'
,
'declaration-colon-space-before'
:
'never'
,
'declaration-block-trailing-semicolon'
:
null
,
//
'declaration-colon-space-after': 'always-single-line',
//
'declaration-colon-space-before': 'never',
//
'declaration-block-trailing-semicolon': null,
'rule-empty-line-before'
:
[
'always'
,
{
...
...
tsconfig.json
View file @
c49641d9
...
...
@@ -24,11 +24,11 @@
"@/*"
:
[
"src/*"
]
},
"types"
:
[
"@intlify/unplugin-vue-i18n/types"
,
"vite/client"
,
"element-plus/global"
,
"@types/qrcode"
,
"vite-plugin-svg-icons/client"
//
"@intlify/unplugin-vue-i18n/types"
,
"vite/client"
//
"element-plus/global"
,
//
"@types/qrcode"
,
//
"vite-plugin-svg-icons/client"
],
"outDir"
:
"target"
,
//
请保留这个属性,防止tsconfig.json文件报错
"typeRoots"
:
[
"./node_modules/@types/"
,
"./types"
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment