Skip to content

Commit

Permalink
Stylelint implemented for application
Browse files Browse the repository at this point in the history
WIP modify lint-css script in package.json

Ammend warning for lint-css npm script

Add csscolorparser
  • Loading branch information
ai-santos committed Apr 13, 2017
1 parent 4f3b0ea commit ee56ee5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci-scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PATH=$(python -m site --user-base)/bin:${PATH}
rm -rf coverage .nyc_output

# run linters
npm run lint
npm run lintx
npm run lint-docs

# build and run build tests
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"clipboard": "^1.5.12",
"concat-stream": "^1.6.0",
"coveralls": "^2.11.8",
"csscolorparser": "^1.0.3",
"derequire": "^2.0.6",
"documentation": "4.0.0-beta12",
"envify": "^4.0.0",
Expand Down Expand Up @@ -119,7 +120,7 @@
"lint-docs": "documentation lint src/index.js",
"lint-css": "stylelint 'docs/*.css' || true",
"open-changed-examples": "git diff --name-only mb-pages HEAD -- docs/_posts/examples/*.html | awk '{print \"http://127.0.0.1:4000/mapbox-gl-js/example/\" substr($0,33,length($0)-37)}' | xargs open",
"test": "run-s lint test-unit test-flow",
"test": "run-s lint lint-css test-unit test-flow",
"test-suite": "run-s test-render test-query",
"test-suite-clean": "find test/integration/*-tests -mindepth 2 -type d -not \\( -exec test -e \"{}/style.json\" \\; \\) -print | xargs -t rm -r",
"test-unit": "tap --reporter dot --no-coverage test/unit",
Expand Down

0 comments on commit ee56ee5

Please sign in to comment.