Matteo Scandolo | d819c92 | 2016-12-02 14:06:14 -0800 | [diff] [blame] | 1 | { |
Matteo Scandolo | d819c92 | 2016-12-02 14:06:14 -0800 | [diff] [blame] | 2 | "rules": { |
Matteo Scandolo | d819c92 | 2016-12-02 14:06:14 -0800 | [diff] [blame] | 3 | "ban": [true, |
| 4 | ["_", "extend"], |
| 5 | ["_", "isNull"], |
| 6 | ["_", "isDefined"] |
| 7 | ], |
| 8 | "class-name": true, |
| 9 | "comment-format": [true, |
Matteo Scandolo | 9f87f30 | 2016-12-13 18:11:10 -0800 | [diff] [blame] | 10 | "check-space" |
Matteo Scandolo | d819c92 | 2016-12-02 14:06:14 -0800 | [diff] [blame] | 11 | ], |
| 12 | "curly": true, |
| 13 | "eofline": true, |
| 14 | "forin": true, |
Matteo Scandolo | f2c3ed6 | 2016-12-15 14:32:50 -0800 | [diff] [blame] | 15 | "indent": [true, "spaces"], |
Matteo Scandolo | d819c92 | 2016-12-02 14:06:14 -0800 | [diff] [blame] | 16 | "interface-name": true, |
| 17 | "jsdoc-format": true, |
| 18 | "label-position": true, |
| 19 | "label-undefined": true, |
| 20 | "max-line-length": [false, 140], |
| 21 | "member-ordering": [true, |
| 22 | "public-before-private", |
| 23 | "static-before-instance", |
| 24 | "variables-before-functions" |
| 25 | ], |
| 26 | "no-arg": true, |
| 27 | "no-bitwise": true, |
| 28 | "no-console": [true, |
| 29 | "debug", |
| 30 | "info", |
| 31 | "time", |
| 32 | "timeEnd", |
| 33 | "trace" |
| 34 | ], |
| 35 | "no-construct": true, |
| 36 | "no-constructor-vars": false, |
| 37 | "no-debugger": true, |
| 38 | "no-duplicate-key": true, |
| 39 | "no-duplicate-variable": true, |
| 40 | "no-empty": true, |
| 41 | "no-eval": true, |
| 42 | "no-string-literal": true, |
| 43 | "no-switch-case-fall-through": true, |
| 44 | "trailing-comma": true, |
| 45 | "no-trailing-whitespace": true, |
| 46 | "no-unused-expression": true, |
| 47 | "no-unused-variable": true, |
| 48 | "no-unreachable": true, |
| 49 | "no-use-before-declare": true, |
| 50 | "no-var-requires": true, |
| 51 | "one-line": [true, |
| 52 | "check-open-brace", |
| 53 | "check-catch", |
Matteo Scandolo | d819c92 | 2016-12-02 14:06:14 -0800 | [diff] [blame] | 54 | "check-whitespace" |
| 55 | ], |
| 56 | "quotemark": [true, "single"], |
| 57 | "radix": true, |
| 58 | "semicolon": true, |
| 59 | "triple-equals": [true, "allow-null-check"], |
| 60 | "typedef": [true, |
| 61 | "callSignature", |
| 62 | "indexSignature", |
| 63 | "parameter", |
| 64 | "propertySignature", |
| 65 | "variableDeclarator" |
| 66 | ], |
| 67 | "typedef-whitespace": [true, |
| 68 | ["callSignature", "noSpace"], |
| 69 | ["catchClause", "noSpace"], |
| 70 | ["indexSignature", "space"] |
| 71 | ], |
| 72 | "use-strict": false, |
| 73 | "variable-name": false, |
| 74 | "whitespace": [true, |
| 75 | "check-branch", |
| 76 | "check-decl", |
| 77 | "check-operator", |
| 78 | "check-separator", |
| 79 | "check-type" |
| 80 | ] |
| 81 | } |
| 82 | } |