Skip to content

Commit

Permalink
build: eslint@2.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed Jul 13, 2017
1 parent e58e4be commit 00ce63a
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"node": true
},
"rules": {
"indent": [2, 2],
"quotes": "single"
"indent": ["error", 2, { "SwitchCase": 1 }],
"quotes": ["error", "single"]
}
}
10 changes: 5 additions & 5 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
var vary = require('vary');

var defaults = {
origin: '*',
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
preflightContinue: false,
optionsSuccessStatus: 204
};
origin: '*',
methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
preflightContinue: false,
optionsSuccessStatus: 204
};

function isString(s) {
return typeof s === 'string' || s instanceof String;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"devDependencies": {
"basic-auth-connect": "^1.0.0",
"body-parser": "^1.12.4",
"eslint": "^0.21.2",
"eslint": "2.13.1",
"express": "^4.12.4",
"istanbul": "^0.4.5",
"mocha": "3.4.2",
Expand Down
5 changes: 5 additions & 0 deletions test/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"env": {
"mocha": true
}
}
1 change: 0 additions & 1 deletion test/basic-auth.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
(function () {
/*global describe, it*/

'use strict';

Expand Down
1 change: 0 additions & 1 deletion test/body-events.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
(function () {
/*global describe, it*/

'use strict';

Expand Down
1 change: 0 additions & 1 deletion test/cors.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
(function () {
/*global describe, it*/

'use strict';

Expand Down
1 change: 0 additions & 1 deletion test/error-response.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
(function () {
/*global describe, it*/

'use strict';

Expand Down
1 change: 0 additions & 1 deletion test/example-app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
(function () {
/*global describe, it*/

'use strict';

Expand Down
1 change: 0 additions & 1 deletion test/issue-2.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
(function () {
/*global describe, it*/

'use strict';

Expand Down
1 change: 0 additions & 1 deletion test/issue-31.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
(function () {
/*global describe, it*/

'use strict';

Expand Down

0 comments on commit 00ce63a

Please sign in to comment.