Skip to content

Commit

Permalink
Add Stylelint support
Browse files Browse the repository at this point in the history
Also rename CI and split the test target
  • Loading branch information
XhmikosR committed Sep 12, 2020
1 parent 2fccbab commit 675b6cd
Show file tree
Hide file tree
Showing 5 changed files with 2,200 additions and 67 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/test.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: CI
on: [push, pull_request]
env:
CI: true
Expand Down Expand Up @@ -29,5 +29,8 @@ jobs:
- name: Install npm dependencies
run: npm ci

- name: Build the files
run: npm run build

- name: Run tests
run: npm test
3 changes: 3 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/*.min.css
**/vendor/
/_gh_pages/
18 changes: 18 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"extends": [
"stylelint-config-twbs-bootstrap/scss"
],
"rules": {
"declaration-no-important": null,
"order/properties-order": null,
"scss/dollar-variable-default": [
true,
{
"ignore": "local"
}
],
"selector-max-class": null,
"selector-max-type": null,
"selector-no-qualifying-type": null
}
}
Loading

0 comments on commit 675b6cd

Please sign in to comment.