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

Commit

Permalink
Merge 02c6004 into aaeeea6
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelly Selden committed May 24, 2016
2 parents aaeeea6 + 02c6004 commit 6b6fc8a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
10 changes: 4 additions & 6 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
ecmaFeatures:
modules: true
blockBindings: true
arrowFunctions: true
destructuring: true
templateStrings: true
parserOptions:
ecmaVersion: 6
sourceType: 'module'
rules:
indent:
- 2
Expand All @@ -17,6 +14,7 @@ rules:
- always
no-var: 2
env:
es6: true
node: true
mocha: true
extends: 'eslint:recommended'
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"homepage": "https://github.com/kellyselden/eslint-mocha#readme",
"dependencies": {
"eol": "0.2.0",
"eslint": "^1.0.0",
"eslint": "^2.0.0",
"lodash": "^4.0.0",
"mocha": "^2.0.0",
"yargs": "^3.0.0"
Expand Down
4 changes: 2 additions & 2 deletions test/acceptance/failure-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ describe('acceptance - failure', function() {
-1\n\
+0');
expect(stdout).to.contain(eol.auto('\n\
Line 4: "describe" is not defined.\n\
Line 4: \'describe\' is not defined.\n\
Line 5: Expected indentation of 4 space characters but found 2.\n\
Line 5: "it" is not defined.\n\
Line 5: \'it\' is not defined.\n\
Line 6: Expected indentation of 6 space characters but found 4.'));
expect(stdout).to.contain('\n\
-4\n\
Expand Down
4 changes: 2 additions & 2 deletions test/fixtures/babel-project/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ecmaFeatures:
modules: true
parserOptions:
sourceType: 'module'
rules:
indent:
- 2
Expand Down

0 comments on commit 6b6fc8a

Please sign in to comment.