|
| 1 | +{ |
| 2 | + "extends": ["tslint:recommended", "tslint-react", "tslint-config-prettier"], |
| 3 | + "defaultSeverity": "warning", |
| 4 | + "rules": { |
| 5 | + "align": [true, "parameters", "statements"], |
| 6 | + "array-type": false, |
| 7 | + "arrow-parens": false, |
| 8 | + "class-name": true, |
| 9 | + "comment-format": [true, "check-space"], |
| 10 | + "curly": false, |
| 11 | + "eofline": true, |
| 12 | + "forin": false, |
| 13 | + "import-spacing": true, |
| 14 | + "indent": [true, "spaces"], |
| 15 | + "interface-name": [true, "never-prefix"], |
| 16 | + "jsdoc-format": true, |
| 17 | + "jsx-no-lambda": false, |
| 18 | + "jsx-no-multiline-js": false, |
| 19 | + "label-position": true, |
| 20 | + "max-line-length": [true, 120], |
| 21 | + "member-ordering": false, |
| 22 | + "member-access": false, |
| 23 | + "no-any": false, |
| 24 | + "no-arg": true, |
| 25 | + "no-bitwise": true, |
| 26 | + "no-console": false, |
| 27 | + "no-consecutive-blank-lines": [true, 2], |
| 28 | + "no-construct": true, |
| 29 | + "no-debugger": true, |
| 30 | + "no-default-export": false, |
| 31 | + "no-duplicate-variable": true, |
| 32 | + "no-empty": true, |
| 33 | + "no-empty-interface": false, |
| 34 | + "no-eval": true, |
| 35 | + "no-implicit-dependencies": false, |
| 36 | + "no-internal-module": true, |
| 37 | + "no-object-literal-type-assertion": false, |
| 38 | + "no-shadowed-variable": true, |
| 39 | + "no-string-literal": false, |
| 40 | + "no-submodule-imports": false, |
| 41 | + "no-trailing-whitespace": true, |
| 42 | + "no-unsafe-finally": true, |
| 43 | + "no-unused-expression": true, |
| 44 | + "no-var-keyword": true, |
| 45 | + "no-var-requires": false, |
| 46 | + "object-literal-key-quotes": [true, "as-needed"], |
| 47 | + "object-literal-sort-keys": false, |
| 48 | + "one-line": [true, "check-catch", "check-else", "check-open-brace", "check-whitespace"], |
| 49 | + "only-arrow-functions": false, |
| 50 | + "ordered-imports": false, |
| 51 | + "quotemark": [true, "double", "jsx-double"], |
| 52 | + "radix": false, |
| 53 | + "semicolon": [true, "always", "strict-bound-class-methods"], |
| 54 | + "trailing-comma": [ |
| 55 | + true, |
| 56 | + { |
| 57 | + "multiline": { |
| 58 | + "objects": "always", |
| 59 | + "arrays": "always", |
| 60 | + "imports": "always", |
| 61 | + "exports": "always", |
| 62 | + "typeLiterals": "always" |
| 63 | + }, |
| 64 | + "singleline": "never", |
| 65 | + "esSpecCompliant": true |
| 66 | + } |
| 67 | + ], |
| 68 | + "triple-equals": [true, "allow-null-check"], |
| 69 | + "typedef": [true, "parameter", "property-declaration"], |
| 70 | + "typedef-whitespace": [ |
| 71 | + true, |
| 72 | + { |
| 73 | + "call-signature": "nospace", |
| 74 | + "index-signature": "nospace", |
| 75 | + "parameter": "nospace", |
| 76 | + "property-declaration": "nospace", |
| 77 | + "variable-declaration": "nospace" |
| 78 | + } |
| 79 | + ], |
| 80 | + "variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore", "allow-pascal-case"], |
| 81 | + "whitespace": [ |
| 82 | + true, |
| 83 | + "check-branch", |
| 84 | + "check-decl", |
| 85 | + "check-module", |
| 86 | + "check-operator", |
| 87 | + "check-separator", |
| 88 | + "check-type", |
| 89 | + "check-typecast" |
| 90 | + ] |
| 91 | + } |
| 92 | +} |
0 commit comments