Permalink
Browse files
chore(tests): add eslint-plugin-mocha
- Loading branch information
Showing
with
8 additions
and
3 deletions.
-
+6
−2
.eslintrc
-
+1
−0
package.json
-
+1
−1
test/slow/api_spec_slow.js
|
|
@@ -1,5 +1,9 @@ |
|
|
{ |
|
|
"extends": "airbnb-base", |
|
|
"parser": "babel-eslint", |
|
|
"plugins": [ |
|
|
"mocha" |
|
|
], |
|
|
"rules": { |
|
|
"consistent-return": 0, |
|
|
"global-require": 0, |
|
@@ -9,9 +13,9 @@ |
|
|
"import/no-unresolved": 0, |
|
|
"linebreak-style": 0, |
|
|
"max-len": [2, 160], |
|
|
"mocha/no-exclusive-tests": "error", |
|
|
"no-console": 0, |
|
|
"no-throw-literal": 0, |
|
|
"no-underscore-dangle": 0 |
|
|
}, |
|
|
"parser": "babel-eslint" |
|
|
} |
|
|
} |
|
@@ -50,6 +50,7 @@ |
|
|
"eslint": "^3.7.1", |
|
|
"eslint-config-airbnb-base": "^8.0.0", |
|
|
"eslint-plugin-import": "^1.16.0", |
|
|
"eslint-plugin-mocha": "^4.8.0", |
|
|
"fetch-mock": "^5.8.1", |
|
|
"generate-changelog": "^1.0.2", |
|
|
"gulp": "^3.9.1", |
|
|
|
@@ -124,7 +124,7 @@ describe(`electron-forge API (with installer=${installer.substr(12)})`, () => { |
|
|
}); |
|
|
}); |
|
|
|
|
|
describe.only('init (with a nonexistent templater)', () => { |
|
|
describe('init (with a nonexistent templater)', () => { |
|
|
let dir; |
|
|
|
|
|
before(async () => { |
|
|
0 comments on commit
7439723