Shaaban Ebrahim | 6cc77cb | 2019-11-11 10:51:21 +0200 | [diff] [blame^] | 1 | { |
| 2 | "extends": "tslint:recommended", |
| 3 | "rules": { |
| 4 | "array-type": false, |
| 5 | "arrow-parens": false, |
| 6 | "deprecation": { |
| 7 | "severity": "warning" |
| 8 | }, |
| 9 | "component-class-suffix": true, |
| 10 | "contextual-lifecycle": true, |
| 11 | "directive-class-suffix": true, |
| 12 | "directive-selector": [ |
| 13 | true, |
| 14 | "attribute", |
| 15 | "app", |
| 16 | "camelCase" |
| 17 | ], |
| 18 | "component-selector": [ |
| 19 | true, |
| 20 | "element", |
| 21 | "app", |
| 22 | "kebab-case" |
| 23 | ], |
| 24 | "import-blacklist": [ |
| 25 | true, |
| 26 | "rxjs/Rx" |
| 27 | ], |
| 28 | "interface-name": false, |
| 29 | "max-classes-per-file": false, |
| 30 | "max-line-length": [ |
| 31 | true, |
| 32 | 140 |
| 33 | ], |
| 34 | "member-access": false, |
| 35 | "member-ordering": [ |
| 36 | true, |
| 37 | { |
| 38 | "order": [ |
| 39 | "static-field", |
| 40 | "instance-field", |
| 41 | "static-method", |
| 42 | "instance-method" |
| 43 | ] |
| 44 | } |
| 45 | ], |
| 46 | "no-consecutive-blank-lines": false, |
| 47 | "no-console": [ |
| 48 | true, |
| 49 | "debug", |
| 50 | "info", |
| 51 | "time", |
| 52 | "timeEnd", |
| 53 | "trace" |
| 54 | ], |
| 55 | "no-empty": false, |
| 56 | "no-inferrable-types": [ |
| 57 | true, |
| 58 | "ignore-params" |
| 59 | ], |
| 60 | "no-non-null-assertion": true, |
| 61 | "no-redundant-jsdoc": true, |
| 62 | "no-switch-case-fall-through": true, |
| 63 | "no-var-requires": false, |
| 64 | "object-literal-key-quotes": [ |
| 65 | true, |
| 66 | "as-needed" |
| 67 | ], |
| 68 | "object-literal-sort-keys": false, |
| 69 | "ordered-imports": false, |
| 70 | "quotemark": [ |
| 71 | true, |
| 72 | "single" |
| 73 | ], |
| 74 | "trailing-comma": false, |
| 75 | "no-conflicting-lifecycle": true, |
| 76 | "no-host-metadata-property": true, |
| 77 | "no-input-rename": true, |
| 78 | "no-inputs-metadata-property": true, |
| 79 | "no-output-native": true, |
| 80 | "no-output-on-prefix": true, |
| 81 | "no-output-rename": true, |
| 82 | "no-outputs-metadata-property": true, |
| 83 | "template-banana-in-box": true, |
| 84 | "template-no-negated-async": true, |
| 85 | "use-lifecycle-interface": true, |
| 86 | "use-pipe-transform-interface": true |
| 87 | }, |
| 88 | "rulesDirectory": [ |
| 89 | "codelyzer" |
| 90 | ] |
| 91 | } |