Skip to content

Commit

Permalink
Add stylelint (#2095)
Browse files Browse the repository at this point in the history
* Add stylelint

* Add single quote rule

* Config

* Remove unused stylelint-config-html

* Integrate prettier to stylelint

* Add stylelint ignore

* Allow v-bind function keyword to be any case

* Remove postcss-html from stylelint config

* Add comment about conflicting stylelint plugins

* Ignore vendor prefix for "box" values

* Add stylelint-prettier, remove stylelint-config-prettier

* Apply single string quotes rule

* Run autofix

* Fix declaration-block-no-duplicate-properties

* Fix no-duplicate-selectors

* Ignore keyframes-name-pattern

* Fix no-descending-specificity

* Fix max-line-length

* Fix custom-property-pattern

* number-max-precision

* Remove postcss-html

* Add stylelint to lint-staged

* Add prettier rules to stylelint

* Add stylelint-config-prettier

* Remove duplicate keyframes

* Remove duplicate husky install command

* Run linters for all files

* Edit comment
  • Loading branch information
simeonkerkola authored Aug 3, 2022
1 parent 6673fc8 commit 9004a20
Show file tree
Hide file tree
Showing 72 changed files with 2,058 additions and 544 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:
run: npm run lint
- name: Run prettier
run: npm run prettier
- name: Run stylelint
run: npm run stylelint

Test:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
dist/
build/
Loading

5 comments on commit 9004a20

@vercel
Copy link

@vercel vercel bot commented on 9004a20 Aug 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 9004a20 Aug 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 9004a20 Aug 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 9004a20 Aug 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 9004a20 Aug 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.