Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Commit

Permalink
add mocha env in eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
kontrollanten committed Oct 20, 2017
1 parent 0f22afa commit c8d7692
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .eslintrc.json
Expand Up @@ -2,9 +2,13 @@
"env": {
"browser": true,
"es6": true,
"node": true
"node": true,
"mocha": true
},
"extends": "eslint:recommended",
"plugins": [
"mocha"
],
"parserOptions": {
"sourceType": "module"
},
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -115,6 +115,7 @@
"electron-builder": "^19.27.7",
"electron-mocha": "^4.0.0",
"electron-reload": "^1.1.0",
"eslint-plugin-mocha": "^4.11.0",
"fs": "0.0.1-security",
"gulp": "^3.9.1",
"gulp-batch": "^1.0.5",
Expand Down
10 changes: 10 additions & 0 deletions yarn.lock
Expand Up @@ -1220,6 +1220,12 @@ escodegen@1.8.x:
optionalDependencies:
source-map "~0.2.0"

eslint-plugin-mocha@^4.11.0:
version "4.11.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-mocha/-/eslint-plugin-mocha-4.11.0.tgz#91193a2f55e20a5e35974054a0089d30198ee578"
dependencies:
ramda "^0.24.1"

eslint-scope@^3.7.1:
version "3.7.1"
resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.1.tgz#3d63c3edfda02e06e01a452ad88caacc7cdcb6e8"
Expand Down Expand Up @@ -3459,6 +3465,10 @@ querystring@0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/querystring/-/querystring-0.2.0.tgz#b209849203bb25df820da756e747005878521620"

ramda@^0.24.1:
version "0.24.1"
resolved "https://registry.yarnpkg.com/ramda/-/ramda-0.24.1.tgz#c3b7755197f35b8dc3502228262c4c91ddb6b857"

randomatic@^1.1.3:
version "1.1.7"
resolved "https://registry.yarnpkg.com/randomatic/-/randomatic-1.1.7.tgz#c7abe9cc8b87c0baa876b19fde83fd464797e38c"
Expand Down

0 comments on commit c8d7692

Please sign in to comment.