Skip to content

Commit c93adf6

Browse files
committed
Use ESLint to lint code
1 parent 66dcc71 commit c93adf6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
"babel-preset-stage-0": "^6.5.0",
3434
"babel-register": "^6.9.0",
3535
"chai": "^3.5.0",
36+
"eslint": "^3.0.0",
37+
"eslint-config-canonical": "^1.7.12",
3638
"jsdom": "^8.1.0",
3739
"mocha": "^2.5.3",
3840
"pragmatist": "^3.0.21",
@@ -43,7 +45,7 @@
4345
},
4446
"scripts": {
4547
"pragmatist": "node ./node_modules/.bin/pragmatist --es5",
46-
"lint": "npm run pragmatist lint",
48+
"lint": "eslint ./src ./tests",
4749
"test": "mocha --compilers js:babel-register ./tests/**/*.js",
4850
"build": "babel ./src --out-dir ./dist",
4951
"watch": "npm run pragmatist watch",

0 commit comments

Comments
 (0)