remove jscs since it doesn't like arrow functions :(
This commit is contained in:
parent
ba11069b1c
commit
a7f713ef5a
58
.jscsrc
58
.jscsrc
@ -1,58 +0,0 @@
|
|||||||
{
|
|
||||||
"excludeFiles": ["src/babel/transformation/templates"],
|
|
||||||
"disallowSpacesInNamedFunctionExpression": {
|
|
||||||
"beforeOpeningRoundBrace": true
|
|
||||||
},
|
|
||||||
"requireSpacesInAnonymousFunctionExpression": {
|
|
||||||
"beforeOpeningRoundBrace": true
|
|
||||||
},
|
|
||||||
"requireSpacesInAnonymousFunctionExpression": {
|
|
||||||
"beforeOpeningRoundBrace": true
|
|
||||||
},
|
|
||||||
"disallowSpacesInFunctionDeclaration": {
|
|
||||||
"beforeOpeningRoundBrace": true
|
|
||||||
},
|
|
||||||
"disallowSpacesInsideArrayBrackets": true,
|
|
||||||
"disallowSpacesInsideParentheses": true,
|
|
||||||
"disallowSpaceAfterObjectKeys": true,
|
|
||||||
"disallowSpaceAfterPrefixUnaryOperators": true,
|
|
||||||
"disallowSpaceBeforePostfixUnaryOperators": true,
|
|
||||||
"disallowSpaceBeforeBinaryOperators": [
|
|
||||||
","
|
|
||||||
],
|
|
||||||
"disallowMixedSpacesAndTabs": true,
|
|
||||||
"disallowTrailingWhitespace": true,
|
|
||||||
"disallowYodaConditions": true,
|
|
||||||
"disallowKeywords": [ "with" ],
|
|
||||||
"disallowMultipleLineBreaks": true,
|
|
||||||
"requireSpaceBeforeBlockStatements": true,
|
|
||||||
"requireParenthesesAroundIIFE": true,
|
|
||||||
"requireSpacesInConditionalExpression": true,
|
|
||||||
"requireBlocksOnNewline": 1,
|
|
||||||
"requireCommaBeforeLineBreak": true,
|
|
||||||
"requireSpaceBeforeBinaryOperators": true,
|
|
||||||
"requireSpaceAfterBinaryOperators": true,
|
|
||||||
"requireLineFeedAtFileEnd": true,
|
|
||||||
"requireCapitalizedConstructors": true,
|
|
||||||
"requireSpacesInForStatement": true,
|
|
||||||
"requireCurlyBraces": [
|
|
||||||
"do"
|
|
||||||
],
|
|
||||||
"requireSpaceAfterKeywords": [
|
|
||||||
"if",
|
|
||||||
"else",
|
|
||||||
"for",
|
|
||||||
"while",
|
|
||||||
"do",
|
|
||||||
"switch",
|
|
||||||
"case",
|
|
||||||
"return",
|
|
||||||
"try",
|
|
||||||
"catch",
|
|
||||||
"typeof",
|
|
||||||
"function"
|
|
||||||
],
|
|
||||||
"validateLineBreaks": "LF",
|
|
||||||
"validateQuoteMarks": "\"",
|
|
||||||
"validateIndentation": 2
|
|
||||||
}
|
|
||||||
2
Makefile
2
Makefile
@ -4,7 +4,6 @@ UGLIFY_CMD = node_modules/uglify-js/bin/uglifyjs
|
|||||||
#UGLIFY_CMD = node_modules/uglify-js/bin/uglifyjs --mangle sort
|
#UGLIFY_CMD = node_modules/uglify-js/bin/uglifyjs --mangle sort
|
||||||
JSHINT_CMD = node_modules/jshint/bin/jshint
|
JSHINT_CMD = node_modules/jshint/bin/jshint
|
||||||
MOCHA_CMD = node_modules/mocha/bin/_mocha
|
MOCHA_CMD = node_modules/mocha/bin/_mocha
|
||||||
JSCS_CMD = node_modules/jscs/bin/jscs
|
|
||||||
BABEL_CMD = node_modules/babel/bin/babel
|
BABEL_CMD = node_modules/babel/bin/babel
|
||||||
|
|
||||||
export NODE_ENV = test
|
export NODE_ENV = test
|
||||||
@ -39,7 +38,6 @@ clean:
|
|||||||
|
|
||||||
lint:
|
lint:
|
||||||
$(JSHINT_CMD) --reporter node_modules/jshint-stylish/stylish.js src bin
|
$(JSHINT_CMD) --reporter node_modules/jshint-stylish/stylish.js src bin
|
||||||
$(JSCS_CMD) src bin
|
|
||||||
|
|
||||||
test-clean:
|
test-clean:
|
||||||
rm -rf test/tmp
|
rm -rf test/tmp
|
||||||
|
|||||||
@ -72,7 +72,6 @@
|
|||||||
"chai": "^2.0.0",
|
"chai": "^2.0.0",
|
||||||
"esvalid": "^1.1.0",
|
"esvalid": "^1.1.0",
|
||||||
"istanbul": "^0.3.5",
|
"istanbul": "^0.3.5",
|
||||||
"jscs": "^1.11.3",
|
|
||||||
"jshint": "^2.6.0",
|
"jshint": "^2.6.0",
|
||||||
"jshint-stylish": "^1.0.0",
|
"jshint-stylish": "^1.0.0",
|
||||||
"matcha": "^0.6.0",
|
"matcha": "^0.6.0",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user