mirror of
https://gitee.com/fantastic-admin/basic.git
synced 2024-12-05 21:47:55 +08:00
引入 stylelint-stylistic 插件
This commit is contained in:
parent
5a245fb819
commit
c74f435bc6
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"extends": [
|
"extends": [
|
||||||
|
"stylelint-stylistic/config",
|
||||||
"stylelint-config-standard",
|
"stylelint-config-standard",
|
||||||
"stylelint-config-standard-scss",
|
"stylelint-config-standard-scss",
|
||||||
"stylelint-config-standard-vue/scss"
|
"stylelint-config-standard-vue/scss"
|
||||||
@ -8,6 +9,13 @@
|
|||||||
"stylelint-scss"
|
"stylelint-scss"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"stylistic/max-line-length": null,
|
||||||
|
"stylistic/block-closing-brace-newline-after": [
|
||||||
|
"always",
|
||||||
|
{
|
||||||
|
"ignoreAtRules": ["if", "else"]
|
||||||
|
}
|
||||||
|
],
|
||||||
"at-rule-no-unknown": null,
|
"at-rule-no-unknown": null,
|
||||||
"no-descending-specificity": null,
|
"no-descending-specificity": null,
|
||||||
"property-no-unknown": null,
|
"property-no-unknown": null,
|
||||||
|
@ -57,6 +57,7 @@
|
|||||||
"stylelint-config-standard-scss": "^7.0.1",
|
"stylelint-config-standard-scss": "^7.0.1",
|
||||||
"stylelint-config-standard-vue": "^1.0.0",
|
"stylelint-config-standard-vue": "^1.0.0",
|
||||||
"stylelint-scss": "^4.6.0",
|
"stylelint-scss": "^4.6.0",
|
||||||
|
"stylelint-stylistic": "^0.4.0",
|
||||||
"svgo": "^3.0.2",
|
"svgo": "^3.0.2",
|
||||||
"terser": "^5.16.8",
|
"terser": "^5.16.8",
|
||||||
"typescript": "^5.0.3",
|
"typescript": "^5.0.3",
|
||||||
|
@ -129,6 +129,9 @@ devDependencies:
|
|||||||
stylelint-scss:
|
stylelint-scss:
|
||||||
specifier: ^4.6.0
|
specifier: ^4.6.0
|
||||||
version: 4.6.0(stylelint@15.4.0)
|
version: 4.6.0(stylelint@15.4.0)
|
||||||
|
stylelint-stylistic:
|
||||||
|
specifier: ^0.4.0
|
||||||
|
version: 0.4.0(stylelint@15.4.0)
|
||||||
svgo:
|
svgo:
|
||||||
specifier: ^3.0.2
|
specifier: ^3.0.2
|
||||||
version: 3.0.2
|
version: 3.0.2
|
||||||
@ -7493,6 +7496,19 @@ packages:
|
|||||||
stylelint: 15.4.0
|
stylelint: 15.4.0
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
|
/stylelint-stylistic@0.4.0(stylelint@15.4.0):
|
||||||
|
resolution: {integrity: sha512-8x6sClY6D+wrdTZD9kEcIcyH6Qv3nXapngd8INEI0iABukdecepZcme+RpxMOJCe4ngacBZf+JlCLjDjKadBcA==}
|
||||||
|
engines: {node: '>=14.x'}
|
||||||
|
peerDependencies:
|
||||||
|
stylelint: ^15.0.0
|
||||||
|
dependencies:
|
||||||
|
postcss: 8.4.21
|
||||||
|
postcss-media-query-parser: 0.2.3
|
||||||
|
postcss-value-parser: 4.2.0
|
||||||
|
style-search: 0.1.0
|
||||||
|
stylelint: 15.4.0
|
||||||
|
dev: true
|
||||||
|
|
||||||
/stylelint@15.4.0:
|
/stylelint@15.4.0:
|
||||||
resolution: {integrity: sha512-TlOvpG3MbcFwHmK0q2ykhmpKo7Dq892beJit0NPdpyY9b1tFah/hGhqnAz/bRm2PDhDbJLKvjzkEYYBEz7Dxcg==}
|
resolution: {integrity: sha512-TlOvpG3MbcFwHmK0q2ykhmpKo7Dq892beJit0NPdpyY9b1tFah/hGhqnAz/bRm2PDhDbJLKvjzkEYYBEz7Dxcg==}
|
||||||
engines: {node: ^14.13.1 || >=16.0.0}
|
engines: {node: ^14.13.1 || >=16.0.0}
|
||||||
|
Loading…
Reference in New Issue
Block a user