Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Unified Diff: third_party/WebKit/Source/devtools/front_end/.jscsrc

Issue 1908863002: DevTools: Introduce eslint configuration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better inline docs. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/.eslintrc.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/.jscsrc
diff --git a/third_party/WebKit/Source/devtools/front_end/.jscsrc b/third_party/WebKit/Source/devtools/front_end/.jscsrc
deleted file mode 100644
index fc92997b91fa9c4b86aba35cbf2a17edd4ce977b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/devtools/front_end/.jscsrc
+++ /dev/null
@@ -1,84 +0,0 @@
-{
- // rules documentation: http://jscs.info/rules.html
-
- "esnext": true,
-
- "requireSpaceAfterKeywords": [
- "if",
- "else",
- "for",
- "while",
- "do",
- "switch",
- "return"
- ],
- "disallowKeywords": [
- "with"
- ],
- "disallowKeywordsOnNewLine": [
- "else",
- "catch"
- ],
-
- "disallowSpaceAfterPrefixUnaryOperators": true,
- "disallowSpaceBeforePostfixUnaryOperators": [
- "++",
- "--"
- ],
- "requireSpaceBeforeBinaryOperators": true,
- "requireSpaceAfterBinaryOperators": true,
-
- "disallowMultipleVarDecl": true,
-
- "disallowSpacesInsideParentheses": true,
- "disallowEmptyBlocks": true,
-
- "requireParenthesesAroundIIFE": true,
- "requireSpaceBetweenArguments": true,
- "requireSpacesInFunctionDeclaration": {
- "beforeOpeningCurlyBrace": true
- },
- "requireSpacesInAnonymousFunctionExpression": {
- "beforeOpeningCurlyBrace": true
- },
- "disallowSpacesInNamedFunctionExpression": {
- "beforeOpeningRoundBrace": true
- },
- "requireSpacesInNamedFunctionExpression": {
- "beforeOpeningCurlyBrace": true
- },
-
- "requireSpacesInConditionalExpression": {
- "afterTest": true,
- "beforeConsequent": true,
- "afterConsequent": true,
- "beforeAlternate": true
- },
-
- "disallowSpaceBeforeBinaryOperators": [
- ","
- ],
- "requireCommaBeforeLineBreak": true,
-
- "validateQuoteMarks": "\"",
- "disallowMultipleLineStrings": true,
-
- "disallowImplicitTypeConversion": [
- "numeric",
- "binary"
- ],
- "disallowYodaConditions": true,
-
- "disallowSpacesInsideArrayBrackets": true,
-
- "disallowSpaceAfterObjectKeys": true,
-
- "disallowQuotedKeysInObjects": true,
-
- "requireSpaceAfterLineComment": true,
- "requireLineFeedAtFileEnd": true,
- "disallowMultipleLineBreaks": true,
- "disallowMixedSpacesAndTabs": true,
- "disallowTrailingWhitespace": true,
- "validateLineBreaks": "LF"
-}
« no previous file with comments | « third_party/WebKit/Source/devtools/front_end/.eslintrc.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698