|
| 1 | +{ |
| 2 | + "preset": "google", |
| 3 | + "fileExtensions": [".js", "jscs"], |
| 4 | + |
| 5 | + "requireSemicolons": true, |
| 6 | + "requireParenthesesAroundIIFE": true, |
| 7 | + "maximumLineLength": 120, |
| 8 | + "validateLineBreaks": "LF", |
| 9 | + "validateIndentation": 4, |
| 10 | + "disallowTrailingComma": true, |
| 11 | + "disallowUnusedParams": true, |
| 12 | + |
| 13 | + "disallowSpacesInsideObjectBrackets": null, |
| 14 | + "disallowImplicitTypeConversion": ["string"], |
| 15 | + |
| 16 | + "safeContextKeyword": "_this", |
| 17 | + |
| 18 | + "jsDoc": { |
| 19 | + "checkAnnotations": "closurecompiler", |
| 20 | + "checkParamNames": true, |
| 21 | + "requireParamTypes": true, |
| 22 | + "checkRedundantParams": true, |
| 23 | + "checkReturnTypes": true, |
| 24 | + "checkRedundantReturns": true, |
| 25 | + "requireReturnTypes": true, |
| 26 | + "checkTypes": "capitalizedNativeCase", |
| 27 | + "checkRedundantAccess": true, |
| 28 | + "requireNewlineAfterDescription": true |
| 29 | + }, |
| 30 | + |
| 31 | + "excludeFiles": [ |
| 32 | + "test/data/**", |
| 33 | + "patterns/*", |
| 34 | + "node_modules" |
| 35 | + ] |
| 36 | +} |
0 commit comments