Skip to content

Commit

Permalink
Add stylelint (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic16x authored Nov 23, 2024
1 parent cf7cebd commit 39f229c
Show file tree
Hide file tree
Showing 42 changed files with 1,309 additions and 422 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Lint
run: npm run lint

- name: Stylelint
run: npm run stylelint

test:
name: Tests:units
runs-on: ubuntu-latest
Expand Down
12 changes: 12 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": [
"stylelint-config-standard-scss",
"stylelint-config-idiomatic-order",
"stylelint-config-standard-scss"
],
"rules": {
"selector-class-pattern": null,
"block-no-empty": null,
"no-empty-source": null
}
}
Loading

0 comments on commit 39f229c

Please sign in to comment.