Update jscs and other deps.
parent
d729b93832
commit
e0627dce23
|
@ -1,17 +1,35 @@
|
|||
{
|
||||
"requireCurlyBraces": ["for", "while", "do"],
|
||||
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return"],
|
||||
"requireParenthesesAroundIIFE": true,
|
||||
"requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
|
||||
"disallowSpacesInFunctionExpression": { "beforeOpeningRoundBrace": true },
|
||||
"disallowMultipleVarDecl": true,
|
||||
"disallowSpacesInsideObjectBrackets": true,
|
||||
"disallowSpacesInsideArrayBrackets": true,
|
||||
"disallowSpacesInsideParentheses": true,
|
||||
"disallowSpaceAfterObjectKeys": true,
|
||||
"requireCommaBeforeLineBreak": true,
|
||||
"requireOperatorBeforeLineBreak": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
||||
"disallowLeftStickedOperators": ["?", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
||||
"requireRightStickedOperators": ["!"],
|
||||
"disallowRightStickedOperators": ["?", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
|
||||
"requireLeftStickedOperators": [","],
|
||||
"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
|
||||
"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
|
||||
"requireSpaceBeforeBinaryOperators": ["==", "===", "!=", "!=="],
|
||||
"requireSpaceAfterBinaryOperators": ["==", "===", "!=", "!=="],
|
||||
"disallowKeywords": ["with"],
|
||||
"disallowMultipleLineStrings": true,
|
||||
"validateLineBreaks": "LF",
|
||||
"validateIndentation": "\t",
|
||||
"disallowMixedSpacesAndTabs": "smart",
|
||||
"disallowTrailingWhitespace": true,
|
||||
"requireKeywordsOnNewLine": ["else"],
|
||||
"requireLineFeedAtFileEnd": true,
|
||||
"maximumLineLength": 140,
|
||||
"safeContextKeyword": "that",
|
||||
"requireDotNotation": true,
|
||||
"validateJSDoc": {
|
||||
"checkParamNames": true,
|
||||
"checkRedundantParams": true,
|
||||
|
|
|
@ -17,6 +17,9 @@ module.exports = function(grunt) {
|
|||
files: ['social-likes.js']
|
||||
},
|
||||
jscs: {
|
||||
options: {
|
||||
config: ".jscs.json"
|
||||
},
|
||||
files: ['<%= jshint.files %>']
|
||||
},
|
||||
uglify: {
|
||||
|
|
|
@ -3,16 +3,16 @@
|
|||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"grunt": "~0.4.2",
|
||||
"grunt-contrib-jshint": "~0.8.0",
|
||||
"grunt-contrib-uglify": "~0.2.7",
|
||||
"grunt-contrib-watch": "~0.5.3",
|
||||
"grunt-contrib-stylus": "~0.11.0",
|
||||
"grunt-csso": "~0.5.2",
|
||||
"grunt-webfont": "~0.2.2",
|
||||
"autoprefixer-stylus": "0.0.3",
|
||||
"grunt-jscs-checker": "~0.3.0",
|
||||
"load-grunt-tasks": "~0.2.1",
|
||||
"grunt-contrib-imagemin": "~0.4.0"
|
||||
"grunt": "~0.4.4",
|
||||
"grunt-contrib-jshint": "~0.10.0",
|
||||
"grunt-contrib-uglify": "~0.4.0",
|
||||
"grunt-contrib-watch": "~0.6.1",
|
||||
"grunt-contrib-stylus": "~0.13.2",
|
||||
"grunt-csso": "~0.6.1",
|
||||
"grunt-webfont": "~0.3.4",
|
||||
"autoprefixer-stylus": "0.0.4",
|
||||
"grunt-jscs-checker": "~0.4.1",
|
||||
"load-grunt-tasks": "~0.4.0",
|
||||
"grunt-contrib-imagemin": "~0.6.1"
|
||||
}
|
||||
}
|
||||
|
|
1079
src/social-likes.js
1079
src/social-likes.js
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue