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