36 lines
928 B
Plaintext
36 lines
928 B
Plaintext
|
{
|
||
|
"preset": "google",
|
||
|
"fileExtensions": [".js", "jscs"],
|
||
|
|
||
|
"requireSemicolons": true,
|
||
|
"requireParenthesesAroundIIFE": true,
|
||
|
"maximumLineLength": 120,
|
||
|
"validateLineBreaks": "LF",
|
||
|
"validateIndentation": 4,
|
||
|
"disallowTrailingComma": true,
|
||
|
"disallowUnusedParams": true,
|
||
|
|
||
|
"disallowSpacesInsideObjectBrackets": null,
|
||
|
"disallowImplicitTypeConversion": ["string"],
|
||
|
|
||
|
"safeContextKeyword": "_this",
|
||
|
|
||
|
"jsDoc": {
|
||
|
"checkAnnotations": "closurecompiler",
|
||
|
"checkParamNames": true,
|
||
|
"requireParamTypes": true,
|
||
|
"checkRedundantParams": true,
|
||
|
"checkReturnTypes": true,
|
||
|
"checkRedundantReturns": true,
|
||
|
"requireReturnTypes": true,
|
||
|
"checkTypes": "capitalizedNativeCase",
|
||
|
"checkRedundantAccess": true,
|
||
|
"requireNewlineAfterDescription": true
|
||
|
},
|
||
|
|
||
|
"excludeFiles": [
|
||
|
"test/data/**",
|
||
|
"patterns/*"
|
||
|
]
|
||
|
}
|