Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Commit

Permalink
Add stylelint for CSS linting (#122)
Browse files Browse the repository at this point in the history
* Add stylelint

* Add lint-css package.json script

* Ignore all CSS files in public/build folder
  • Loading branch information
pdehaan authored Nov 9, 2020
1 parent 23e3a30 commit bb46db8
Show file tree
Hide file tree
Showing 3 changed files with 3,038 additions and 4,835 deletions.
21 changes: 21 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"extends": "stylelint-config-standard",
"ignoreFiles": ["public/build/*.css"],
"rules": {
"color-hex-case": null,
"color-hex-length": null,
"comment-empty-line-before": null,
"custom-property-empty-line-before": null,
"declaration-colon-newline-after": null,
"function-name-case": null,
"indentation": null,
"no-descending-specificity": null,
"number-leading-zero": null,
"rule-empty-line-before": null,
"selector-combinator-space-before": null,
"selector-list-comma-newline-after": null,
"selector-type-no-unknown": null,
"value-keyword-case": null,
"value-list-comma-newline-after": null
}
}
Loading

0 comments on commit bb46db8

Please sign in to comment.