Skip to content
This repository has been archived by the owner on Dec 9, 2019. It is now read-only.

Commit

Permalink
feat: Add stylelint-config-standard and stylelint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
equinusocio committed Mar 5, 2017
1 parent ba4c9e2 commit 793174b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "stylelint-config-standard",
"rules": {
"color-hex-case": "upper",
"max-empty-lines": 2,
"no-missing-end-of-source-newline": true,
"selector-type-no-unknown": null
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"fs-extra": "^2.0.0",
"postcss": "^5.2.15",
"replace-in-file": "^2.4.1",
"stylelint-config-standard": "^16.0.0",
"webpack": "^2.2.1",
"webpack-dev-server": "^2.4.1",
"xo": "^0.17.1"
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4071,6 +4071,10 @@ strip-json-comments@~2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"

stylelint-config-standard@^16.0.0:
version "16.0.0"
resolved "https://registry.yarnpkg.com/stylelint-config-standard/-/stylelint-config-standard-16.0.0.tgz#bb7387bff1d7dd7186a52b3ebf885b2405d691bf"

supports-color@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7"
Expand Down

0 comments on commit 793174b

Please sign in to comment.