Skip to content

Commit

Permalink
Add stylelint configuration
Browse files Browse the repository at this point in the history
Signed-off-by: Maurício Meneghini Fauth <mauriciofauth@gmail.com>
  • Loading branch information
MauricioFauth committed Nov 24, 2018
1 parent e6f9812 commit 05dfb76
Show file tree
Hide file tree
Showing 3 changed files with 1,453 additions and 16 deletions.
7 changes: 7 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"extends": "stylelint-config-recommended-scss",
"rules": {
"no-descending-specificity": null,
"no-duplicate-selectors": null
}
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@
"zxcvbn": "4.4.2"
},
"devDependencies": {
"eslint": "^4.9.0"
"eslint": "^4.9.0",
"stylelint": "^9.8.0",
"stylelint-config-recommended-scss": "^3.2.0",
"stylelint-scss": "^3.4.0"
},
"scripts": {
"postinstall": "yarn run sass",
Expand Down
Loading

0 comments on commit 05dfb76

Please sign in to comment.