• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2	"es3": true,
3
4	"additionalRules": [],
5
6	"requireSemicolons": true,
7
8	"disallowMultipleSpaces": true,
9
10	"disallowIdentifierNames": [],
11
12	"requireCurlyBraces": ["if", "else", "for", "while", "do", "try", "catch"],
13
14	"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch", "function"],
15
16	"disallowSpaceAfterKeywords": [],
17
18	"disallowSpaceBeforeComma": true,
19	"disallowSpaceBeforeSemicolon": true,
20
21	"disallowNodeTypes": [
22		"DebuggerStatement",
23		"ForInStatement",
24		"LabeledStatement",
25		"SwitchCase",
26		"SwitchStatement",
27		"WithStatement"
28	],
29
30	"requireSpacesInAnonymousFunctionExpression": { "beforeOpeningRoundBrace": true, "beforeOpeningCurlyBrace": true },
31	"requireSpacesInNamedFunctionExpression": { "beforeOpeningCurlyBrace": true },
32	"disallowSpacesInNamedFunctionExpression": { "beforeOpeningRoundBrace": true },
33	"requireSpacesInFunctionDeclaration": { "beforeOpeningCurlyBrace": true },
34	"disallowSpacesInFunctionDeclaration": { "beforeOpeningRoundBrace": true },
35
36	"requireSpaceBetweenArguments": true,
37
38	"disallowSpacesInsideParentheses": true,
39
40	"disallowSpacesInsideArrayBrackets": true,
41
42	"disallowQuotedKeysInObjects": "allButReserved",
43
44	"disallowSpaceAfterObjectKeys": true,
45
46	"requireCommaBeforeLineBreak": true,
47
48	"disallowSpaceAfterPrefixUnaryOperators": ["++", "--", "+", "-", "~", "!"],
49	"requireSpaceAfterPrefixUnaryOperators": [],
50
51	"disallowSpaceBeforePostfixUnaryOperators": ["++", "--"],
52	"requireSpaceBeforePostfixUnaryOperators": [],
53
54	"disallowSpaceBeforeBinaryOperators": [],
55	"requireSpaceBeforeBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
56
57	"requireSpaceAfterBinaryOperators": ["+", "-", "/", "*", "=", "==", "===", "!=", "!=="],
58	"disallowSpaceAfterBinaryOperators": [],
59
60	"disallowImplicitTypeConversion": ["binary", "string"],
61
62	"disallowKeywords": ["with", "eval"],
63
64	"requireKeywordsOnNewLine": [],
65	"disallowKeywordsOnNewLine": ["else"],
66
67	"requireLineFeedAtFileEnd": true,
68
69	"disallowTrailingWhitespace": true,
70
71	"disallowTrailingComma": true,
72
73	"excludeFiles": ["node_modules/**", "vendor/**"],
74
75	"disallowMultipleLineStrings": true,
76
77	"requireDotNotation": true,
78
79	"requireParenthesesAroundIIFE": true,
80
81	"validateLineBreaks": "LF",
82
83	"validateQuoteMarks": {
84		"escape": true,
85		"mark": "'"
86	},
87
88	"disallowOperatorBeforeLineBreak": [],
89
90	"requireSpaceBeforeKeywords": [
91		"do",
92		"for",
93		"if",
94		"else",
95		"switch",
96		"case",
97		"try",
98		"catch",
99		"finally",
100		"while",
101		"with",
102		"return"
103	],
104
105	"validateAlignedFunctionParameters": {
106		"lineBreakAfterOpeningBraces": true,
107		"lineBreakBeforeClosingBraces": true
108	},
109
110	"requirePaddingNewLinesBeforeExport": true,
111
112	"validateNewlineAfterArrayElements": {
113		"maximum": 1
114	},
115
116	"requirePaddingNewLinesAfterUseStrict": true,
117
118	"disallowArrowFunctions": true,
119
120	"validateOrderInObjectKeys": "asc-insensitive"
121}
122
123