Skip to content

Commit

Permalink
build: add eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
brigand committed Dec 27, 2019
1 parent fe33f61 commit 5639ec8
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
17 changes: 17 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,17 @@
module.exports = {
env: {
browser: true,
commonjs: true,
es6: true,
node: true,
},
extends: 'eslint:recommended',
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaVersion: 2018,
},
rules: {},
};
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Expand Up @@ -22,7 +22,9 @@
"@babel/core": "^7.7.7",
"@babel/preset-env": "^7.7.7",
"docz": "^2.2.0",
"eslint": "^6.8.0",
"glob": "^7.1.6",
"inquirer": "^7.0.1",
"jest": "^24.9.0",
"react": "^16.12.0",
"react-dom": "^16.12.0"
Expand Down

0 comments on commit 5639ec8

Please sign in to comment.