mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2026-03-17 04:13:17 +08:00
✨ 添加 @btmuli/stylelint-plugin-color 插件并更新样式lint规则
This commit is contained in:
@@ -8,9 +8,13 @@ plugins:
|
||||
- stylelint-scss
|
||||
- stylelint-prettier
|
||||
- stylelint-order
|
||||
- "@btmuli/stylelint-plugin-color"
|
||||
rules:
|
||||
property-no-vendor-prefix:
|
||||
- true
|
||||
- ignoreProperties: [backdrop-filter]
|
||||
color-hex-length: long
|
||||
prettier/prettier: true
|
||||
color/format:
|
||||
- true
|
||||
- hexa
|
||||
|
||||
@@ -103,6 +103,7 @@
|
||||
"xml-js": "^1.6.11"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@btmuli/stylelint-plugin-color": "^0.1.0",
|
||||
"@eslint/eslintrc": "^3.3.1",
|
||||
"@eslint/js": "^9.26.0",
|
||||
"@tauri-apps/cli": "2.5.0",
|
||||
|
||||
8
pnpm-lock.yaml
generated
8
pnpm-lock.yaml
generated
@@ -105,6 +105,9 @@ importers:
|
||||
specifier: ^1.6.11
|
||||
version: 1.6.11
|
||||
devDependencies:
|
||||
'@btmuli/stylelint-plugin-color':
|
||||
specifier: ^0.1.0
|
||||
version: 0.1.0
|
||||
'@eslint/eslintrc':
|
||||
specifier: ^3.3.1
|
||||
version: 3.3.1
|
||||
@@ -374,6 +377,9 @@ packages:
|
||||
resolution: {integrity: sha512-+EzkxvLNfiUeKMgy/3luqfsCWFRXLb7U6wNQTk60tovuckwB15B191tJWvpp4HjiQWdJkCxO3Wbvc6jlk3Xb2Q==}
|
||||
engines: {node: '>=6.9.0'}
|
||||
|
||||
'@btmuli/stylelint-plugin-color@0.1.0':
|
||||
resolution: {integrity: sha512-XAjqeFQafsr0S5h2XPnPlFFP4zPluMH2nZ7+D7SG6eLQOYdojvmLGiSaBikWFE0OA0wqxcxzhAYSVXN9SDgiig==}
|
||||
|
||||
'@bufbuild/protobuf@2.3.0':
|
||||
resolution: {integrity: sha512-WK6zH4MtBp/uesX8KGCnwDDRVnEVHUvwjsigKXcSR57Oo8Oyv1vRS9qyUlSP+6KWRl5z8tNAU5qpf3QodeVYxA==}
|
||||
|
||||
@@ -3950,6 +3956,8 @@ snapshots:
|
||||
'@babel/helper-string-parser': 7.27.1
|
||||
'@babel/helper-validator-identifier': 7.27.1
|
||||
|
||||
'@btmuli/stylelint-plugin-color@0.1.0': {}
|
||||
|
||||
'@bufbuild/protobuf@2.3.0': {}
|
||||
|
||||
'@csstools/css-parser-algorithms@3.0.4(@csstools/css-tokenizer@3.0.3)':
|
||||
|
||||
Reference in New Issue
Block a user