mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
44 lines
969 B
Plaintext
44 lines
969 B
Plaintext
{
|
|
|
|
"fileExtensions": [".js", ".json"],
|
|
"excludeFiles": ["node_modules/**", "build/**"],
|
|
|
|
"maximumLineLength": 120,
|
|
"validateLineBreaks": "LF",
|
|
"validateIndentation": 4,
|
|
|
|
"requireSpaceAfterKeywords": [
|
|
"if",
|
|
"else",
|
|
"for",
|
|
"while",
|
|
"do",
|
|
"switch",
|
|
"return",
|
|
"try",
|
|
"catch"
|
|
],
|
|
|
|
"requireSpaceBeforeBlockStatements": true,
|
|
|
|
"requireSpacesInConditionalExpression": {
|
|
"afterTest": true,
|
|
"beforeConsequent": true,
|
|
"afterConsequent": true,
|
|
"beforeAlternate": true
|
|
},
|
|
|
|
"requireSpacesInsideParentheses": "all",
|
|
"requireSpacesInsideObjectBrackets": "all",
|
|
"requireSpacesInsideArrayBrackets": "all",
|
|
|
|
"requireParenthesesAroundIIFE": true,
|
|
|
|
"disallowSpacesInFunctionExpression": {
|
|
"beforeOpeningRoundBrace": true
|
|
},
|
|
|
|
"disallowKeywords": ["with"],
|
|
"disallowImplicitTypeConversion": ["string"]
|
|
|
|
} |