Skip to content

Commit 42bb891

Browse files
committed
ci: move stylelint to codacy
1 parent 65f960c commit 42bb891

File tree

3 files changed

+31
-60
lines changed

3 files changed

+31
-60
lines changed

.github/workflows/style-lint.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.stylelintrc.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"ignoreFiles": ["_sass/vendor/**"],
3+
"extends": "stylelint-config-standard-scss",
4+
"rules": {
5+
"no-descending-specificity": null,
6+
"shorthand-property-no-redundant-values": null,
7+
"at-rule-no-vendor-prefix": null,
8+
"property-no-vendor-prefix": null,
9+
"selector-no-vendor-prefix": null,
10+
"value-no-vendor-prefix": null,
11+
"color-function-notation": "legacy",
12+
"alpha-value-notation": "number",
13+
"selector-not-notation": "simple",
14+
"color-hex-length": "long",
15+
"declaration-block-single-line-max-declarations": 3,
16+
"scss/operator-no-newline-after": null,
17+
"rule-empty-line-before": [
18+
"always",
19+
{
20+
"ignore": ["after-comment", "first-nested"]
21+
}
22+
],
23+
"value-keyword-case": [
24+
"lower",
25+
{
26+
"ignoreProperties": ["/^\\$/"]
27+
}
28+
],
29+
"media-feature-range-notation": "prefix"
30+
}
31+
}

package.json

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -68,41 +68,6 @@
6868
]
6969
}
7070
},
71-
"stylelint": {
72-
"extends": "stylelint-config-standard-scss",
73-
"rules": {
74-
"no-descending-specificity": null,
75-
"shorthand-property-no-redundant-values": null,
76-
"at-rule-no-vendor-prefix": null,
77-
"property-no-vendor-prefix": null,
78-
"selector-no-vendor-prefix": null,
79-
"value-no-vendor-prefix": null,
80-
"color-function-notation": "legacy",
81-
"alpha-value-notation": "number",
82-
"selector-not-notation": "simple",
83-
"color-hex-length": "long",
84-
"declaration-block-single-line-max-declarations": 3,
85-
"scss/operator-no-newline-after": null,
86-
"rule-empty-line-before": [
87-
"always",
88-
{
89-
"ignore": [
90-
"after-comment",
91-
"first-nested"
92-
]
93-
}
94-
],
95-
"value-keyword-case": [
96-
"lower",
97-
{
98-
"ignoreProperties": [
99-
"/^\\$/"
100-
]
101-
}
102-
],
103-
"media-feature-range-notation": "prefix"
104-
}
105-
},
10671
"release": {
10772
"branches": [
10873
"production"

0 commit comments

Comments
 (0)