Skip to content

Commit c9568df

Browse files
committed
Update tape, jscs, eslint, @ljharb/eslint-config
1 parent 92f7bd6 commit c9568df

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

.jscs.json

+14
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
{
2+
"es3": true,
3+
24
"additionalRules": [],
35

46
"requireSemicolons": true,
@@ -13,6 +15,18 @@
1315

1416
"disallowSpaceAfterKeywords": [],
1517

18+
"disallowSpaceBeforeComma": true,
19+
"disallowSpaceBeforeSemicolon": true,
20+
21+
"disallowNodeTypes": [
22+
"DebuggerStatement",
23+
"ForInStatement",
24+
"LabeledStatement",
25+
"SwitchCase",
26+
"SwitchStatement",
27+
"WithStatement"
28+
],
29+
1630
"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true },
1731
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
1832
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
"devDependencies": {
3131
"foreach": "^2.0.5",
3232
"is": "^3.0.1",
33-
"tape": "^4.0.1",
33+
"tape": "^4.0.2",
3434
"indexof": "^0.0.1",
3535
"covert": "^1.1.0",
36-
"jscs": "^1.13.1",
36+
"jscs": "^2.0.0",
3737
"editorconfig-tools": "^0.1.1",
3838
"nsp": "^1.0.3",
39-
"eslint": "^1.0.0-rc-3",
40-
"@ljharb/eslint-config": "^1.0.3",
39+
"eslint": "^1.0.0",
40+
"@ljharb/eslint-config": "^1.0.4",
4141
"semver": "^5.0.1"
4242
},
4343
"testling": {

0 commit comments

Comments
 (0)