remove jscs since it doesn't like arrow functions :(

This commit is contained in:
Sebastian McKenzie 2015-02-25 22:53:54 +11:00
parent ba11069b1c
commit a7f713ef5a
3 changed files with 0 additions and 61 deletions

58
.jscsrc
View File

@ -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
}

View File

@ -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

View File

@ -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",