Skip to content

Commit

Permalink
Use "jshint" directly for linting (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 authored and marcoow committed Jan 2, 2017
1 parent 010e538 commit 2cd2d30
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ script:
# Usually, it's ok to finish the test scenario without reverting
# to the addon's original dependency state, skipping "cleanup".
- npm test -- --skip-cleanup
- npm run mocha
- npm run lint

notifications:
email: false
Expand Down
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"build": "ember build",
"mocha": "mocha",
"lint": "jshint config test-support tests *.js",
"start": "ember server",
"test": "ember try:each"
},
Expand All @@ -27,7 +27,6 @@
"ember-cli-htmlbars": "^1.0.10",
"ember-cli-htmlbars-inline-precompile": "^0.3.3",
"ember-cli-inject-live-reload": "^1.4.1",
"ember-cli-jshint": "^1.0.4",
"ember-cli-qunit": "^3.0.1",
"ember-cli-release": "^0.2.9",
"ember-cli-sri": "^2.1.0",
Expand All @@ -38,16 +37,15 @@
"ember-export-application-global": "^1.0.5",
"ember-load-initializers": "^0.5.1",
"ember-resolver": "^2.0.3",
"loader.js": "^4.0.10",
"mocha": "^1.21.4",
"mocha-jshint": "^2.3.1"
"jshint": "^2.9.4",
"loader.js": "^4.0.10"
},
"keywords": [
"ember-addon"
],
"dependencies": {
"ember-cli-babel": "^5.1.7",
"lodash": "^4.0.0"
"lodash": "^4.0.0"
},
"ember-addon": {
"configPath": "tests/dummy/config",
Expand Down
3 changes: 0 additions & 3 deletions test/jshint.spec.js

This file was deleted.

0 comments on commit 2cd2d30

Please sign in to comment.