Permalink
Browse files

enable jasmine for eslint

  • Loading branch information...
ferclaverino committed Dec 4, 2016
1 parent 8629a16 commit 715efd891dfe6f8610e8e967597bb12968c3f60e
Showing with 10 additions and 3 deletions.
  1. +2 −0 .eslintrc.json
  2. +8 −3 package.json
@@ -1,12 +1,14 @@
{
"env": {
"es6": true,
"jasmine": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"plugins": ["jasmine"],
"rules": {
"indent": [
"error",
@@ -3,9 +3,11 @@
"version": "0.0.1",
"description": "",
"scripts": {
"eslint": "eslint \"*.js\"",
"start": "node manual/main.js",
"test": "npm run eslint"
"test": "npm run eslint",
"test:eslint": "eslint \"**/*.js\"",
"test:unit": "jasmine",
"test:unit:watch": "chokidar 'spec/*.js' -c 'npm run test:unit'"
},
"author": "",
"license": "MIT",
@@ -14,6 +16,9 @@
"keypress": "^0.2.1"
},
"devDependencies": {
"eslint": "^3.11.1"
"chokidar-cli": "^1.2.0",
"eslint": "^3.11.1",
"eslint-plugin-jasmine": "^2.2.0",
"jasmine": "^2.5.2"
}
}

0 comments on commit 715efd8

Please sign in to comment.