microsoft/vscode-react-native
Publicmirrored from https://github.com/microsoft/vscode-react-nativeAvailable
tslint.json
111lines · modecode
| 1 | { |
| 2 | "rules": { |
| 3 | "align": [ |
| 4 | true, |
| 5 | "parameters", |
| 6 | "statements" |
| 7 | ], |
| 8 | "ban": false, |
| 9 | "class-name": true, |
| 10 | "comment-format": [ |
| 11 | true, |
| 12 | "check-space" |
| 13 | ], |
| 14 | "curly": false, |
| 15 | "forin": true, |
| 16 | "indent": [ |
| 17 | true, |
| 18 | "spaces" |
| 19 | ], |
| 20 | "jsdoc-format": true, |
| 21 | "label-position": true, |
| 22 | "label-undefined": true, |
| 23 | "max-line-length": [ |
| 24 | false, |
| 25 | 140 |
| 26 | ], |
| 27 | "member-access": true, |
| 28 | "member-ordering": [ |
| 29 | true, |
| 30 | "variables-before-functions" |
| 31 | ], |
| 32 | "no-any": false, |
| 33 | "no-arg": true, |
| 34 | "no-bitwise": true, |
| 35 | "no-conditional-assignment": true, |
| 36 | "no-console": [ |
| 37 | true, |
| 38 | "debug", |
| 39 | "info", |
| 40 | "time", |
| 41 | "timeEnd", |
| 42 | "trace" |
| 43 | ], |
| 44 | "no-construct": true, |
| 45 | "no-debugger": true, |
| 46 | "no-duplicate-key": true, |
| 47 | "no-duplicate-variable": true, |
| 48 | "no-empty": false, |
| 49 | "no-eval": true, |
| 50 | "no-inferrable-types": false, |
| 51 | "no-internal-module": false, |
| 52 | "no-keyword-named-variables": true, |
| 53 | "no-require-imports": false, |
| 54 | "no-shadowed-variable": true, |
| 55 | "no-string-literal": true, |
| 56 | "no-switch-case-fall-through": false, |
| 57 | "no-trailing-whitespace": true, |
| 58 | "no-unreachable": true, |
| 59 | "no-unused-expression": true, |
| 60 | "no-unused-variable": true, |
| 61 | "no-use-before-declare": true, |
| 62 | "no-var-keyword": true, |
| 63 | "no-var-requires": true, |
| 64 | "object-literal-sort-keys": true, |
| 65 | "one-line": [ |
| 66 | true, |
| 67 | "check-open-brace", |
| 68 | "check-catch", |
| 69 | "check-else", |
| 70 | "check-whitespace" |
| 71 | ], |
| 72 | "quotemark": [ |
| 73 | true, |
| 74 | "double" |
| 75 | ], |
| 76 | "radix": true, |
| 77 | "semicolon": true, |
| 78 | "switch-default": true, |
| 79 | "trailing-comma": [ |
| 80 | true, |
| 81 | { |
| 82 | "multiline": "always", |
| 83 | "singleline": "never" |
| 84 | } |
| 85 | ], |
| 86 | "triple-equals": [ |
| 87 | true, |
| 88 | "allow-null-check" |
| 89 | ], |
| 90 | "typedef-whitespace": [ |
| 91 | true, |
| 92 | { |
| 93 | "call-signature": "nospace", |
| 94 | "index-signature": "nospace", |
| 95 | "parameter": "nospace", |
| 96 | "property-declaration": "nospace", |
| 97 | "variable-declaration": "nospace" |
| 98 | } |
| 99 | ], |
| 100 | "variable-name": false, |
| 101 | "whitespace": [ |
| 102 | true, |
| 103 | "check-branch", |
| 104 | "check-decl", |
| 105 | "check-operator", |
| 106 | "check-separator", |
| 107 | "check-type" |
| 108 | ] |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | |