Skip to content

Commit

Permalink
Use eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
saintedlama committed Oct 25, 2017
1 parent 74eb7b5 commit ae940f7
Show file tree
Hide file tree
Showing 3 changed files with 3,898 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
coverage/**
examples/**
release.js
16 changes: 16 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module"
},
"env": {
"es6": true,
"node": true,
"mocha": true
},
"rules": {
"no-var":"error",
"prefer-const":"error"
}
}
Loading

0 comments on commit ae940f7

Please sign in to comment.