File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 8
8
"url" : " https://github.com/angular/material2.git"
9
9
},
10
10
"scripts" : {
11
- "ci:forbidden-identifiers" : " node ./scripts/ci/forbidden-identifiers.js" ,
11
+ "ci:forbidden-identifiers" : " node ./scripts/ci/forbidden-identifiers.js" ,
12
12
"build" : " ng build" ,
13
13
"demo-app" : " ng serve" ,
14
14
"test" : " karma start test/karma.conf.js" ,
15
15
"tslint" : " tslint -c tslint.json 'src/**/*.ts'" ,
16
+ "stylelint" : " stylelint 'src/**/*.scss' --config .stylelint-config.json --syntax scss" ,
16
17
"typings" : " typings install --ambient" ,
17
18
"postinstall" : " npm run typings" ,
18
19
"e2e" : " protractor" ,
64
65
"sass" : " ^0.5.0" ,
65
66
"strip-ansi" : " ^3.0.0" ,
66
67
"symlink-or-copy" : " ^1.0.1" ,
68
+ "stylelint" : " ^6.5.1" ,
67
69
"ts-node" : " ^0.7.3" ,
68
70
"tslint" : " ^3.5.0" ,
69
71
"typescript" : " ^1.9.0-dev" ,
Original file line number Diff line number Diff line change @@ -16,8 +16,9 @@ npm run inline-resources
16
16
17
17
wait_for_tunnel
18
18
if is_lint; then
19
- npm run tslint
19
+ npm run tslint
20
20
npm run ci:forbidden-identifiers
21
+ npm run stylelint
21
22
elif is_e2e; then
22
23
MD_APP=e2e ng serve &
23
24
sleep 20
Original file line number Diff line number Diff line change
1
+ {
2
+ "rules" : {
3
+ "selector-no-id" : true
4
+ }
5
+ }
You can’t perform that action at this time.
0 commit comments