Skip to content

Commit

Permalink
style: Add eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
lokesh committed May 27, 2019
1 parent 47cdb18 commit d82f147
Show file tree
Hide file tree
Showing 3 changed files with 754 additions and 49 deletions.
19 changes: 19 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,19 @@
module.exports = {
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
"one-var": ["warn", { "initialized": "never" }]
}
}

0 comments on commit d82f147

Please sign in to comment.