Skip to content

Commit

Permalink
FFE-130 Add stylelint with ffe config
Browse files Browse the repository at this point in the history
  • Loading branch information
kwltrs committed Jan 11, 2017
1 parent d48ccc2 commit df7238b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "stylelint-config-ffe"
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A grid component for use within the FFE framework",
"scripts": {
"compile": "lessc examples/examples.less examples/examples.css && cp -R node_modules/ffe-core/fonts/ examples/ && echo \"$(date +%T): Updated examples\"",
"lint": "lessc --lint examples/examples.less",
"lint": "lessc --lint examples/examples.less && stylelint less/*.less",
"start": "opn examples/examples.html & watch \"npm run -s compile\" less/",
"test": "npm run lint && npm run test:nsp && npm run compile && ./run_visual-tests.sh",
"test:nsp": "nsp check",
Expand Down Expand Up @@ -36,6 +36,8 @@
"less": "^2.7.1",
"nsp": "^2.6.1",
"opn-cli": "^3.1.0",
"stylelint": "^7.7.1",
"stylelint-config-ffe": "^0.2.0",
"watch": "^0.19.2"
}
}

0 comments on commit df7238b

Please sign in to comment.