Skip to content

Commit

Permalink
eslint files
Browse files Browse the repository at this point in the history
  • Loading branch information
rjrodger committed Jan 14, 2020
1 parent 8b72ca2 commit 980982b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
test/bench.js
test/readme.js
trial

16 changes: 16 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module.exports = {
extends: 'eslint:recommended',
env: {
node: true,
es6: true,
browser: true,
},
"parserOptions": {
"ecmaVersion": 10
},
rules: {
'no-console': 1,
'no-unused-vars': [2,{args:'none'}],
'no-extra-semi': 0
}
}

0 comments on commit 980982b

Please sign in to comment.