forked from zhurui/management
29 lines
800 B
Plaintext
29 lines
800 B
Plaintext
{
|
|
"preset": "google",
|
|
"fileExtensions": [
|
|
".js"
|
|
],
|
|
"requireSemicolons": true,
|
|
"requireParenthesesAroundIIFE": true,
|
|
"maximumLineLength": 120,
|
|
"validateLineBreaks": "LF",
|
|
"validateIndentation": 4,
|
|
"disallowTrailingComma": true,
|
|
"disallowSpacesInsideObjectBrackets": null,
|
|
"disallowImplicitTypeConversion": [
|
|
"string"
|
|
],
|
|
"jsDoc": {
|
|
"checkAnnotations": "closurecompiler",
|
|
"checkParamNames": true,
|
|
"requireParamTypes": true,
|
|
"checkRedundantParams": true,
|
|
"checkReturnTypes": true,
|
|
"checkRedundantReturns": true,
|
|
"requireReturnTypes": true,
|
|
"checkTypes": "capitalizedNativeCase",
|
|
"checkRedundantAccess": true,
|
|
"requireNewlineAfterDescription": true
|
|
}
|
|
}
|