Skip to content

Commit

Permalink
[Dev Deps] update tape, jscs, nsp, eslint, `@ljharb/eslint-co…
Browse files Browse the repository at this point in the history
…nfig`
  • Loading branch information
ljharb committed Nov 9, 2015
1 parent b9c88c7 commit 883dce4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
17 changes: 13 additions & 4 deletions .jscs.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@

"disallowIdentifierNames": [],

"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],
"requireCurlyBraces": {
"allExcept": [],
"keywords": ["if", "else", "for", "while", "do", "try", "catch"]
},

"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch", "function"],

"disallowSpaceAfterKeywords": [],

"disallowSpaceBeforeComma": true,
"disallowSpaceAfterComma": false,
"disallowSpaceBeforeSemicolon": true,

"disallowNodeTypes": [
Expand All @@ -26,7 +30,7 @@
"WithStatement"
],

"requireObjectKeysOnNewLine": false,
"requireObjectKeysOnNewLine": { "allExcept": ["sameLine"] },

"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true },
"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
Expand Down Expand Up @@ -75,7 +79,7 @@

"disallowMultipleLineStrings": true,

"requireDotNotation": true,
"requireDotNotation": { "allExcept": ["keywords"] },

"requireParenthesesAroundIIFE": true,

Expand Down Expand Up @@ -125,6 +129,11 @@

"disallowNestedTernaries": { "maxLevel": 1 },

"requireSpaceAfterComma": true
"requireSpaceAfterComma": { "allExcept": ["trailing"] },
"requireAlignedMultilineParams": false,

"requireSpacesInGenerator": {
"afterStar": true
}
}

12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lint": "npm run jscs && npm run eslint",
"eslint": "eslint test/*.js *.js",
"jscs": "jscs test/*.js *.js",
"security": "nsp package"
"security": "nsp check"
},
"repository": {
"type": "git",
Expand All @@ -41,13 +41,13 @@
"function-bind": "^1.0.2"
},
"devDependencies": {
"tape": "^4.2.1",
"tape": "^4.2.2",
"array-map": "^0.0.0",
"covert": "^1.1.0",
"jscs": "^2.3.3",
"nsp": "^1.1.0",
"eslint": "^1.7.1",
"@ljharb/eslint-config": "^1.4.0",
"jscs": "^2.5.1",
"nsp": "^2.0.2",
"eslint": "^1.9.0",
"@ljharb/eslint-config": "^1.6.0",
"@es-shims/api": "^1.0.0"
},
"testling": {
Expand Down

0 comments on commit 883dce4

Please sign in to comment.