|
| 1 | +{ |
| 2 | +"extends": ["tslint:latest","tslint-react"], |
| 3 | +"rules": { |
| 4 | +"jsx-alignment":true, |
| 5 | +"jsx-no-lambda":true, |
| 6 | +"jsx-no-string-ref":true, |
| 7 | +"jsx-self-close":true, |
| 8 | +"align": [true,"parameters","statements"], |
| 9 | +"class-name":true, |
| 10 | +"comment-format": [true,"check-space"], |
| 11 | +"curly":true, |
| 12 | +"eofline":true, |
| 13 | +"forin":true, |
| 14 | +"indent": [true,"spaces"], |
| 15 | +"label-position":true, |
| 16 | +"label-undefined":true, |
| 17 | +"max-line-length": [true,140], |
| 18 | +"member-ordering": [true, |
| 19 | +"public-before-private", |
| 20 | +"static-before-instance", |
| 21 | +"variables-before-functions" |
| 22 | + ], |
| 23 | +"no-arg":true, |
| 24 | +"no-bitwise":true, |
| 25 | +"no-console": [true, |
| 26 | +"debug", |
| 27 | +"info", |
| 28 | +"time", |
| 29 | +"timeEnd", |
| 30 | +"trace" |
| 31 | + ], |
| 32 | +"no-construct":true, |
| 33 | +"no-consecutive-blank-lines":true, |
| 34 | +"no-debugger":true, |
| 35 | +"no-duplicate-key":true, |
| 36 | +"no-duplicate-variable":true, |
| 37 | +"no-empty":true, |
| 38 | +"no-eval":true, |
| 39 | +"no-inferrable-types":true, |
| 40 | +"no-shadowed-variable":true, |
| 41 | +"no-string-literal":true, |
| 42 | +"no-switch-case-fall-through":true, |
| 43 | +"no-trailing-whitespace":true, |
| 44 | +"no-unused-expression":true, |
| 45 | +"no-unused-variable":"react", |
| 46 | +"no-unreachable":true, |
| 47 | +"no-use-before-declare":true, |
| 48 | +"no-var-keyword":true, |
| 49 | +"object-literal-sort-keys":false, |
| 50 | +"one-line": [true, |
| 51 | +"check-open-brace", |
| 52 | +"check-catch", |
| 53 | +"check-else", |
| 54 | +"check-finally", |
| 55 | +"check-whitespace" |
| 56 | + ], |
| 57 | +"quotemark": [true,"single","avoid-escape"], |
| 58 | +"radix":true, |
| 59 | +"semicolon": [true,"always"], |
| 60 | +"trailing-comma": [true, { |
| 61 | +"singleline":"never" |
| 62 | + }], |
| 63 | +"triple-equals": [true,"allow-null-check"], |
| 64 | +"typedef-whitespace": [true, { |
| 65 | +"call-signature":"nospace", |
| 66 | +"index-signature":"nospace", |
| 67 | +"parameter":"nospace", |
| 68 | +"property-declaration":"nospace", |
| 69 | +"variable-declaration":"nospace" |
| 70 | + }], |
| 71 | +"variable-name": [true,"ban-keywords"], |
| 72 | +"whitespace": [true, |
| 73 | +"check-branch", |
| 74 | +"check-decl", |
| 75 | +"check-operator", |
| 76 | +"check-separator", |
| 77 | +"check-type" |
| 78 | + ] |
| 79 | + } |
| 80 | +} |