Skip to content

Commit

Permalink
Update covert, jscs, eslint, semver
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed May 26, 2015
1 parent feb7ba6 commit 16d2af8
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .eslintrc
Expand Up @@ -29,6 +29,7 @@
"guard-for-in": [0],
"handle-callback-err": [0],
"key-spacing": [2, { "beforeColon": false, "afterColon": true }],
"linebreak-style": [2, "unix"],
"quotes": [2, "single", "avoid-escape"],
"max-depth": [0, 4],
"max-len": [0, 80, 4],
Expand Down Expand Up @@ -119,11 +120,12 @@
"no-sync": [0],
"no-ternary": [0],
"no-throw-literal": [2],
"no-trailing-spaces": [2],
"no-trailing-spaces": [2, { "skipBlankLines": false }],
"no-undef": [2],
"no-undef-init": [2],
"no-undefined": [0],
"no-underscore-dangle": [2],
"no-unneeded-ternary": [2],
"no-unreachable": [2],
"no-unused-expressions": [2],
"no-unused-vars": [2, { "vars": "all", "args": "after-used" }],
Expand All @@ -135,7 +137,7 @@
"object-shorthand": [2, "never"],
"one-var": [0],
"operator-assignment": [0, "always"],
"operator-linebreak": [2, "after"],
"operator-linebreak": [2, "none"],
"padded-blocks": [0],
"quote-props": [0],
"radix": [0],
Expand Down
38 changes: 37 additions & 1 deletion .jscs.json
@@ -1,6 +1,12 @@
{
"additionalRules": [],

"requireSemicolons": true,

"disallowMultipleSpaces": true,

"disallowIdentifierNames": [],

"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],

"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch", "function"],
Expand Down Expand Up @@ -63,6 +69,36 @@
"validateQuoteMarks": {
"escape": true,
"mark": "'"
}
},

"disallowOperatorBeforeLineBreak": [],

"requireSpaceBeforeKeywords": [
"do",
"for",
"if",
"else",
"switch",
"case",
"try",
"catch",
"finally",
"while",
"with",
"return"
],

"validateAlignedFunctionParameters": {
"lineBreakAfterOpeningBraces": true,
"lineBreakBeforeClosingBraces": true
},

"requirePaddingNewLinesBeforeExport": true,

"validateNewlineAfterArrayElements": {
"maximum": 1
},

"requirePaddingNewLinesAfterUseStrict": true
}

8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -32,12 +32,12 @@
"is": "^3.0.1",
"tape": "^4.0.0",
"indexof": "^0.0.1",
"covert": "^1.0.1",
"jscs": "^1.12.0",
"covert": "^1.1.0",
"jscs": "^1.13.1",
"editorconfig-tools": "^0.1.1",
"nsp": "^1.0.1",
"eslint": "^0.20.0",
"semver": "^4.3.3",
"eslint": "^0.21.2",
"semver": "^4.3.4",
"replace": "^0.3.0"
},
"testling": {
Expand Down

0 comments on commit 16d2af8

Please sign in to comment.