Skip to content

Commit

Permalink
make separate eslintrcs for src/JBrowse and tests/js_tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuels committed Apr 6, 2018
1 parent 42815f3 commit d23e600
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@
"es6": true
},
"globals": {
"dojo": true,
"dijit": true,
"dojox": true,
"electronRequire": true,
"cjsRequire": true,
"dojoConfig": true
},
"rules": {
"no-underscore-dangle": 0,
Expand Down
16 changes: 16 additions & 0 deletions src/JBrowse/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"env": {
"browser": true,
"amd": true,
"es6": true
},
"globals": {
"dojo": true,
"dijit": true,
"dojox": true,
"electronRequire": true,
"cjsRequire": true,
"dojoConfig": true,
"__webpack_public_path__": true
}
}
21 changes: 21 additions & 0 deletions tests/js_tests/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parser": "babel-eslint",
"extends": [
],
"plugins": [
],
"env": {
"browser": true,
"amd": true,
"es6": true,
"jasmine": true
},
"globals": {
"__webpack_public_path__": true,
"cjsRequire": true
},
"rules": {
"no-underscore-dangle": 0,
"no-undef": "error"
}
}

0 comments on commit d23e600

Please sign in to comment.