Skip to content

Commit 018ba07

Browse files
committed
Fix style linting
1 parent a51f244 commit 018ba07

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed

.stylelintrc

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
{
22
"extends": "stylelint-config-htmlacademy",
3-
43
"rules": {
5-
"declaration-no-important": true,
6-
"indentation": [2, {"ignore": ["inside-parens"]}]
4+
"codeguide/indentation": [
5+
2,
6+
{
7+
"ignore": [
8+
"inside-parens"
9+
]
10+
}
11+
]
712
}
813
}

package-lock.json

Lines changed: 9 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"linthtml-config-htmlacademy": "1.0.12",
2323
"postcss": "8.4.31",
2424
"postcss-csso": "6.0.1",
25-
"postcss-scss": "4.0.9",
2625
"postcss-url": "10.1.3",
2726
"sass": "1.69.5",
2827
"stylelint": "15.11.0",
@@ -31,7 +30,7 @@
3130
},
3231
"scripts": {
3332
"lint:spaces": "editorconfig-cli",
34-
"lint:styles": "stylelint \"source/styles/**/*.scss\" --custom-syntax postcss-scss",
33+
"lint:styles": "stylelint \"source/styles/**/*.scss\"",
3534
"lint:markup": "cd build && html-validator --quiet --continue",
3635
"lint:html": "linthtml source/**/*.html --config .linthtmlrc",
3736
"lint:bem": "gulp lintBem --silent",

0 commit comments

Comments
 (0)