Skip to content

Commit

Permalink
add eslint libs and rules
Browse files Browse the repository at this point in the history
  • Loading branch information
stropitek committed Feb 22, 2017
1 parent 18c4b2b commit df34e41
Show file tree
Hide file tree
Showing 4 changed files with 699 additions and 8 deletions.
1 change: 1 addition & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extends: 'eslint-config-cheminfo'
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"test": "test"
},
"scripts": {
"test": "mocha --require should --reporter mocha-better-spec-reporter --recursive"
"test": "mocha --require should --reporter mocha-better-spec-reporter --recursive",
"eslint": "eslint src",
"eslint-fix": "eslint src --fix"
},
"repository": {
"type": "git",
Expand All @@ -31,6 +33,9 @@
},
"homepage": "https://github.com/mljs/hclust",
"devDependencies": {
"eslint": "^3.16.0",
"eslint-config-cheminfo": "^1.6.0",
"eslint-plugin-no-only-tests": "^1.1.0",
"mocha": "^3.0.2",
"mocha-better-spec-reporter": "^3.0.2",
"should": "^11.1.0"
Expand Down
2 changes: 2 additions & 0 deletions test/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
env:
mocha: true
Loading

0 comments on commit df34e41

Please sign in to comment.