Skip to content

Commit

Permalink
chore(tests): add eslint-plugin-mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Jan 30, 2017
1 parent 2f869d8 commit 7439723
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"extends": "airbnb-base",
"parser": "babel-eslint",
"plugins": [
"mocha"
],
"rules": {
"consistent-return": 0,
"global-require": 0,
Expand All @@ -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"
}
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion test/slow/api_spec_slow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down

0 comments on commit 7439723

Please sign in to comment.