Skip to content

Commit 1e9c42f

Browse files
committed
change stylelint config setting and package json script changes
1 parent aa94089 commit 1e9c42f

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
},
1919
"scripts": {
2020
"fix:js": "eslint --ext .js --fix .",
21-
"fix:css": "stylelint --fix **/*.css",
21+
"fix:css": "stylelint --fix \"bakerydemo/static/css/**/*.css\"",
2222
"format": "prettier --write \"**/?(.)*.{css,js,json,yaml,yml}\"",
2323
"lint:js": "eslint --ext .js --report-unused-disable-directives .",
24-
"lint:css": "stylelint **/*.css",
24+
"lint:css": "stylelint \"bakerydemo/static/css/**/*.css\"",
2525
"lint:format": "prettier --check \"**/?(.)*.{css,js,json,yaml,yml}\"",
2626
"lint": "npm run lint:js && npm run lint:css && npm run lint:format"
2727
}

stylelint.config.mjs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,8 @@ export default {
1111

1212
'scss/media-feature-value-dollar-variable': null, // Bakerydemo uses plain CSS media queries, not SCSS variables.
1313
'scss/selector-class-pattern': null, // Existing bakerydemo/Wagtail block class names do not fully match this stricter pattern.
14-
'declaration-property-value-allowed-list': null, // Current CSS still uses values like text-align: left.
1514
'declaration-property-value-disallowed-list': null, // Current CSS still uses values like border: none.
1615
'declaration-no-important': null, // Allow existing !important usage for now.
17-
'property-disallowed-list': null, // Allow current physical positioning properties.
1816
'scale-unlimited/declaration-strict-value': null, // Too strict until tokenization is further along.
1917
'selector-max-specificity': null, // Relax strict specificity limits for existing CSS.
2018
},

0 commit comments

Comments
 (0)