Skip to content
Permalink
Browse files
CB-12895 : setup eslint and remove jshint
  • Loading branch information
audreyso committed Jul 14, 2017
1 parent 637e657 commit b5877e51c160f5df5518151a806a6a0481137902
Showing 8 changed files with 512 additions and 513 deletions.
@@ -0,0 +1,10 @@
root: true
extends: semistandard
rules:
indent:
- error
- 4
camelcase: off
padded-blocks: off
operator-linebreak: off
no-throw-literal: off
392 index.js

Large diffs are not rendered by default.

@@ -33,13 +33,19 @@
"valid-identifier": "0.0.1"
},
"devDependencies": {
"eslint": "^4.2.0",
"eslint-config-semistandard": "^11.0.0",
"eslint-config-standard": "^10.2.1",
"eslint-plugin-import": "^2.3.0",
"eslint-plugin-node": "^5.0.0",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-standard": "^3.0.1",
"jasmine": "^2.4.1",
"jshint": "2.5.8",
"semver": "^5.3.0"
},
"scripts": {
"test": "npm run jshint && npm run jasmine",
"jshint": "jshint index.js spec/create.spec.js",
"test": "npm run eslint && npm run jasmine",
"eslint": "eslint index.js spec/create.spec.js",
"jasmine": "jasmine spec/create.spec.js"
},
"contributors": [
@@ -0,0 +1,2 @@
env:
jasmine: true

0 comments on commit b5877e5

Please sign in to comment.