Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/grunt-css-flip.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <code@rebertia.com>2014-03-13 03:26:35 +0400
committerChris Rebert <code@rebertia.com>2014-03-13 03:30:55 +0400
commit036da41a1b685a4cf09cfadbb31d5e6ddc8f5119 (patch)
treea68131a8d7c83198f3d56dd5807cc244532385b8
parent1592ac15a8b774dad539b13b465aa73e112fca3d (diff)
import JSCS config from Ratchet
-rw-r--r--.jscsrc27
1 files changed, 27 insertions, 0 deletions
diff --git a/.jscsrc b/.jscsrc
new file mode 100644
index 0000000..d6712c9
--- /dev/null
+++ b/.jscsrc
@@ -0,0 +1,27 @@
+{
+ "disallowEmptyBlocks": true,
+ "disallowKeywords": ["with"],
+ "disallowLeftStickedOperators": ["?", "/", "*", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
+ "disallowMixedSpacesAndTabs": true,
+ "disallowMultipleLineStrings": true,
+ "disallowMultipleVarDecl": true,
+ "disallowRightStickedOperators": ["?", "/", "*", ":", "=", "==", "===", "!=", "!==", ">", ">=", "<", "<="],
+ "disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
+ "disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
+ "disallowTrailingWhitespace": true,
+ "requireCamelCaseOrUpperCaseIdentifiers": true,
+ "requireCapitalizedConstructors": true,
+ "requireCommaBeforeLineBreak": true,
+ "requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch", "case", "default"],
+ "requireLeftStickedOperators": [","],
+ "requireLineFeedAtFileEnd": true,
+ "requireParenthesesAroundIIFE": true,
+ "requireRightStickedOperators": ["!"],
+ "requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
+ "requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"],
+ "requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!==", ">", "<", ">=", "<="],
+ "requireSpacesInFunctionExpression": { "beforeOpeningCurlyBrace": true },
+ "validateIndentation": 2,
+ "validateLineBreaks": "LF",
+ "validateQuoteMarks": "'"
+}