Skip to content

Commit

Permalink
Bugfix: Sass style lint (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagomapmarques authored Aug 30, 2018
1 parent ad5054c commit 5efa5ec
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": "stylelint-config-standard"
"extends": [
"stylelint-config-standard",
"stylelint-config-recommended-scss"
],
"plugins": [
"stylelint-scss"
]
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@
"jest-fetch-mock": "~1.6",
"local-web-server": "~2.6",
"stylelint": "~9.5",
"stylelint-config-recommended-scss": "~3.2",
"stylelint-config-standard": "~18.2",
"stylelint-scss": "~3.3",
"webpack-livereload-plugin": "~2.1"
}
}
1 change: 1 addition & 0 deletions src/app/components/home/home.style.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

.content {
text-align: center;
font-weight: bold;
Expand Down
1 change: 1 addition & 0 deletions src/app/index.style.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

html,
body {
margin: 0;
Expand Down
30 changes: 29 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2487,6 +2487,10 @@ cssesc@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-0.1.0.tgz#c814903e45623371a0477b40109aaafbeeaddbb4"

cssesc@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/cssesc/-/cssesc-1.0.1.tgz#ef7bd8d0229ed6a3a7051ff7771265fe7330e0a8"

csso@^3.5.0:
version "3.5.1"
resolved "https://registry.yarnpkg.com/csso/-/csso-3.5.1.tgz#7b9eb8be61628973c1b261e169d2f024008e758b"
Expand Down Expand Up @@ -7329,6 +7333,14 @@ postcss-selector-parser@^3.1.0, postcss-selector-parser@^3.1.1:
indexes-of "^1.0.1"
uniq "^1.0.1"

postcss-selector-parser@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-4.0.0.tgz#50c6570f40579036d8e63f23e6c0626fe5743527"
dependencies:
cssesc "^1.0.1"
indexes-of "^1.0.1"
uniq "^1.0.1"

postcss-styled@>=0.33.0, postcss-styled@^0.33.0:
version "0.33.0"
resolved "https://registry.yarnpkg.com/postcss-styled/-/postcss-styled-0.33.0.tgz#69be377584105a582fda7e4f76888e5b97eed737"
Expand Down Expand Up @@ -8730,7 +8742,13 @@ style-search@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/style-search/-/style-search-0.1.0.tgz#7958c793e47e32e07d2b5cafe5c0bf8e12e77902"

stylelint-config-recommended@^2.1.0:
stylelint-config-recommended-scss@~3.2:
version "3.2.0"
resolved "https://registry.yarnpkg.com/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-3.2.0.tgz#5761be65e28b58fa6a4a628b71291e83e921d10f"
dependencies:
stylelint-config-recommended "^2.0.0"

stylelint-config-recommended@^2.0.0, stylelint-config-recommended@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-2.1.0.tgz#f526d5c771c6811186d9eaedbed02195fee30858"

Expand All @@ -8740,6 +8758,16 @@ stylelint-config-standard@~18.2:
dependencies:
stylelint-config-recommended "^2.1.0"

stylelint-scss@~3.3:
version "3.3.0"
resolved "https://registry.yarnpkg.com/stylelint-scss/-/stylelint-scss-3.3.0.tgz#0de0ef241d347e32ed28a2cffb8397c37ae2738c"
dependencies:
lodash "^4.17.10"
postcss-media-query-parser "^0.2.3"
postcss-resolve-nested-selector "^0.1.1"
postcss-selector-parser "^4.0.0"
postcss-value-parser "^3.3.0"

stylelint@~9.5:
version "9.5.0"
resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-9.5.0.tgz#f7afb45342abc4acf28a8da8a48373e9f79c1fb4"
Expand Down

0 comments on commit 5efa5ec

Please sign in to comment.