Skip to content

Commit

Permalink
Add eslint settings
Browse files Browse the repository at this point in the history
  • Loading branch information
bjkeller committed May 29, 2019
1 parent cb55cfb commit 7388800
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"env": {
"browser": true,
"es6": true
},
"extends": "standard",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
}
}
8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,13 @@
},
"scripts": {
"postinstall": "node -e \"try { require('fs').symlinkSync(require('path').resolve('public/node_modules/@bower_components'), 'public/components', 'junction') } catch (e) { }\""
},
"devDependencies": {
"eslint": "^5.16.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.17.2",
"eslint-plugin-node": "^9.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-standard": "^4.0.0"
}
}

0 comments on commit 7388800

Please sign in to comment.