Skip to content

Commit

Permalink
MPR Add stylelint
Browse files Browse the repository at this point in the history
Add stylelint
pkong-ds authored Aug 27, 2024
2 parents 6bda460 + 7a93f1e commit d81f5ef
Showing 16 changed files with 1,931 additions and 1,502 deletions.
13 changes: 13 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": ["stylelint-config-standard", "stylelint-config-html"],
"rules": {
"selector-id-pattern": null,
"selector-class-pattern": null,
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["global"]
}
]
}
}
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -91,6 +91,7 @@ lint_astro:
npx eslint --ext .js,.astro src
npx astro check
npx tsc --noEmit
npx stylelint "src/**/*.css" "src/**/*.astro" --ignore-pattern "src/styles/bootstrap/*.css"

.PHONY: build
build:
Loading

0 comments on commit d81f5ef

Please sign in to comment.