Matteo Scandolo | fc4b37b | 2017-02-02 12:18:47 -0800 | [diff] [blame] | 1 | { |
| 2 | "rules": { |
| 3 | "ban": [true, |
| 4 | ["_", "extend"], |
| 5 | ["_", "isNull"], |
| 6 | ["_", "isDefined"] |
| 7 | ], |
| 8 | "class-name": true, |
| 9 | "comment-format": [true, |
| 10 | "check-space" |
| 11 | ], |
| 12 | "curly": true, |
| 13 | "eofline": true, |
| 14 | "forin": true, |
| 15 | "indent": [true, "spaces"], |
| 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 | "log", |
| 35 | "error" |
| 36 | ], |
| 37 | "no-construct": true, |
| 38 | "no-constructor-vars": false, |
| 39 | "no-debugger": true, |
| 40 | "no-duplicate-key": true, |
| 41 | "no-duplicate-variable": true, |
| 42 | "no-empty": true, |
| 43 | "no-eval": true, |
| 44 | "no-string-literal": false, |
| 45 | "no-switch-case-fall-through": true, |
| 46 | "trailing-comma": true, |
| 47 | "no-trailing-whitespace": true, |
| 48 | "no-unused-expression": true, |
| 49 | "no-unused-variable": true, |
| 50 | "no-unreachable": true, |
| 51 | "no-use-before-declare": true, |
| 52 | "no-var-requires": true, |
| 53 | "one-line": [true, |
| 54 | "check-open-brace", |
| 55 | "check-catch", |
| 56 | "check-whitespace" |
| 57 | ], |
| 58 | "quotemark": [true, "single"], |
| 59 | "radix": true, |
| 60 | "semicolon": true, |
| 61 | "triple-equals": [true, "allow-null-check"], |
| 62 | "typedef": [true, |
| 63 | "callSignature", |
| 64 | "indexSignature", |
| 65 | "parameter", |
| 66 | "propertySignature", |
| 67 | "variableDeclarator" |
| 68 | ], |
| 69 | "typedef-whitespace": [true, |
| 70 | ["callSignature", "noSpace"], |
| 71 | ["catchClause", "noSpace"], |
| 72 | ["indexSignature", "space"] |
| 73 | ], |
| 74 | "use-strict": false, |
| 75 | "variable-name": false, |
| 76 | "whitespace": [true, |
| 77 | "check-branch", |
| 78 | "check-decl", |
| 79 | "check-operator", |
| 80 | "check-separator", |
| 81 | "check-type" |
| 82 | ] |
| 83 | } |
| 84 | } |