Skip to content

Commit

Permalink
Update tape, jscs, eslint, @ljharb/eslint-config
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 4, 2015
1 parent 3503609 commit 8a1b2b9
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@

"rules": {
"complexity": [1, 10],
"id-length": [2, { "min": 1, "max": 23 }],
"max-statements": [1, 10],
"no-extra-parens": [1],
"no-implicit-coercion": [2, {
"boolean": false,
"number": false,
"string": true
}],
"no-new-func": [1],
}
}
13 changes: 13 additions & 0 deletions .jscs.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"es3": true,

"additionalRules": [],

"requireSemicolons": true,
Expand All @@ -13,6 +15,17 @@

"disallowSpaceAfterKeywords": [],

"disallowSpaceBeforeComma": true,
"disallowSpaceBeforeSemicolon": true,

"disallowNodeTypes": [
"DebuggerStatement",
"LabeledStatement",
"SwitchCase",
"SwitchStatement",
"WithStatement"
],

"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true },
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@
"is-string": "^1.0.4"
},
"devDependencies": {
"tape": "^4.0.1",
"tape": "^4.0.2",
"covert": "^1.1.0",
"jscs": "^1.13.1",
"jscs": "^2.0.0",
"foreach": "^2.0.5",
"make-arrow-function": "^1.0.0",
"make-generator-function": "^1.1.0",
"semver": "^5.0.1",
"eslint": "^1.0.0-rc-3",
"@ljharb/eslint-config": "^1.0.3",
"eslint": "^1.0.0",
"@ljharb/eslint-config": "^1.0.4",
"nsp": "^1.0.3"
},
"testling": {
Expand Down

0 comments on commit 8a1b2b9

Please sign in to comment.