|
| 1 | +{ |
| 2 | + "extends": "tslint:recommended", |
| 3 | + "rules": { |
| 4 | + "max-line-length": [ |
| 5 | + true, |
| 6 | + 160 |
| 7 | + ], |
| 8 | + "no-unnecessary-initializer": false, |
| 9 | + "no-var-requires": true, |
| 10 | + "no-null-keyword": true, |
| 11 | + "no-consecutive-blank-lines": true, |
| 12 | + "quotemark": [ |
| 13 | + true, |
| 14 | + "single", |
| 15 | + "avoid-escape" |
| 16 | + ], |
| 17 | + "interface-name": false, |
| 18 | + "no-empty-interface": false, |
| 19 | + "no-namespace": false, |
| 20 | + "ordered-imports": false, |
| 21 | + "object-literal-sort-keys": false, |
| 22 | + "arrow-parens": false, |
| 23 | + "member-ordering": [ |
| 24 | + true, |
| 25 | + { |
| 26 | + "order": [ |
| 27 | + "public-static-field", |
| 28 | + "public-static-method", |
| 29 | + "protected-static-field", |
| 30 | + "protected-static-method", |
| 31 | + "private-static-field", |
| 32 | + "private-static-method", |
| 33 | + "public-instance-field", |
| 34 | + "protected-instance-field", |
| 35 | + "private-instance-field", |
| 36 | + "public-constructor", |
| 37 | + "protected-constructor", |
| 38 | + "private-constructor", |
| 39 | + "public-instance-method", |
| 40 | + "protected-instance-method", |
| 41 | + "private-instance-method" |
| 42 | + ] |
| 43 | + } |
| 44 | + ], |
| 45 | + "no-console": [ |
| 46 | + true, |
| 47 | + "debug", |
| 48 | + "info", |
| 49 | + "time", |
| 50 | + "timeEnd", |
| 51 | + "trace" |
| 52 | + ], |
| 53 | + "no-inferrable-types": [ |
| 54 | + true, |
| 55 | + "ignore-params" |
| 56 | + ], |
| 57 | + "no-switch-case-fall-through": true, |
| 58 | + "typedef": [ |
| 59 | + true, |
| 60 | + "call-signature", |
| 61 | + "parameter" |
| 62 | + ], |
| 63 | + "trailing-comma": [ |
| 64 | + true, |
| 65 | + { |
| 66 | + "multiline": { |
| 67 | + "objects": "always", |
| 68 | + "arrays": "always", |
| 69 | + "functions": "never", |
| 70 | + "typeLiterals": "ignore" |
| 71 | + }, |
| 72 | + "singleline": "never" |
| 73 | + } |
| 74 | + ], |
| 75 | + "align": [ |
| 76 | + true, |
| 77 | + "parameters" |
| 78 | + ], |
| 79 | + "class-name": true, |
| 80 | + "curly": true, |
| 81 | + "eofline": true, |
| 82 | + "jsdoc-format": true, |
| 83 | + "member-access": true, |
| 84 | + "no-arg": true, |
| 85 | + "no-construct": true, |
| 86 | + "no-duplicate-variable": true, |
| 87 | + "no-empty": true, |
| 88 | + "no-eval": true, |
| 89 | + "no-internal-module": true, |
| 90 | + "no-string-literal": true, |
| 91 | + "no-trailing-whitespace": true, |
| 92 | + "no-unused-expression": true, |
| 93 | + "no-var-keyword": true, |
| 94 | + "one-line": [ |
| 95 | + true, |
| 96 | + "check-open-brace", |
| 97 | + "check-catch", |
| 98 | + "check-else", |
| 99 | + "check-finally", |
| 100 | + "check-whitespace" |
| 101 | + ], |
| 102 | + "semicolon": true, |
| 103 | + "switch-default": true, |
| 104 | + "triple-equals": [ |
| 105 | + true, |
| 106 | + "allow-null-check" |
| 107 | + ], |
| 108 | + "typedef-whitespace": [ |
| 109 | + true, |
| 110 | + { |
| 111 | + "call-signature": "nospace", |
| 112 | + "index-signature": "nospace", |
| 113 | + "parameter": "nospace", |
| 114 | + "property-declaration": "nospace", |
| 115 | + "variable-declaration": "nospace" |
| 116 | + } |
| 117 | + ], |
| 118 | + "variable-name": false, |
| 119 | + "whitespace": [ |
| 120 | + true, |
| 121 | + "check-branch", |
| 122 | + "check-decl", |
| 123 | + "check-operator", |
| 124 | + "check-separator", |
| 125 | + "check-type" |
| 126 | + ] |
| 127 | + } |
| 128 | +} |
0 commit comments