Skip to content

Commit

Permalink
Add stylelint
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsmith committed Nov 27, 2015
1 parent c10d389 commit e6d9e37
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .stylelintrc
@@ -0,0 +1,3 @@
{
"extends": "stylelint-config-suitcss"
}
8 changes: 5 additions & 3 deletions package.json
Expand Up @@ -8,10 +8,12 @@
"lib"
],
"devDependencies": {
"stylelint": "^2.3.4",
"stylelint-config-suitcss": "^1.0.0",
"suitcss-components-test": "*",
"suitcss-preprocessor": "^0.5.1",
"suitcss-utils-offset": "^0.5.0",
"suitcss-utils-size": "^0.8.0"
"suitcss-preprocessor": "^0.6.0",
"suitcss-utils-offset": "^0.5.1",
"suitcss-utils-size": "^1.0.0"
},
"scripts": {
"build": "npm run setup && npm run preprocess",
Expand Down
3 changes: 2 additions & 1 deletion test.json
@@ -1,6 +1,7 @@
{
"use": ["stylelint", "autoprefixer", "postcss-reporter"],
"postcss-reporter": {
"throwError": true,
"plugins": ["postcss-bem-linter"]
"plugins": ["postcss-bem-linter", "stylelint"]
}
}

0 comments on commit e6d9e37

Please sign in to comment.