blob: c8d70f15200546102f7f9f7192ec8290d9bb6d0a [file] [log] [blame]
Sean Condona36f65c2019-05-20 08:21:41 +01001{
Sean Condon6a6f9a02020-01-09 14:09:36 +00002 "extends": "tslint:recommended",
Sean Condona36f65c2019-05-20 08:21:41 +01003 "rules": {
Sean Condon6a6f9a02020-01-09 14:09:36 +00004 "array-type": false,
5 "arrow-parens": false,
Sean Condona36f65c2019-05-20 08:21:41 +01006 "deprecation": {
Sean Condon6a6f9a02020-01-09 14:09:36 +00007 "severity": "warning"
Sean Condona36f65c2019-05-20 08:21:41 +01008 },
Sean Condon6a6f9a02020-01-09 14:09:36 +00009 "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 ],
Sean Condona36f65c2019-05-20 08:21:41 +010024 "import-blacklist": [
25 true,
26 "rxjs/Rx"
27 ],
Sean Condon6a6f9a02020-01-09 14:09:36 +000028 "interface-name": false,
29 "max-classes-per-file": false,
Sean Condona36f65c2019-05-20 08:21:41 +010030 "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 ],
Sean Condon6a6f9a02020-01-09 14:09:36 +000046 "no-consecutive-blank-lines": false,
Sean Condona36f65c2019-05-20 08:21:41 +010047 "no-console": [
48 true,
49 "debug",
50 "info",
51 "time",
52 "timeEnd",
53 "trace"
54 ],
Sean Condona36f65c2019-05-20 08:21:41 +010055 "no-empty": false,
Sean Condona36f65c2019-05-20 08:21:41 +010056 "no-inferrable-types": [
Sean Condon6a6f9a02020-01-09 14:09:36 +000057 true,
Sean Condona36f65c2019-05-20 08:21:41 +010058 "ignore-params"
59 ],
Sean Condona36f65c2019-05-20 08:21:41 +010060 "no-non-null-assertion": true,
61 "no-redundant-jsdoc": true,
Sean Condona36f65c2019-05-20 08:21:41 +010062 "no-switch-case-fall-through": true,
Sean Condon6a6f9a02020-01-09 14:09:36 +000063 "no-var-requires": false,
64 "object-literal-key-quotes": [
Sean Condona36f65c2019-05-20 08:21:41 +010065 true,
Sean Condon6a6f9a02020-01-09 14:09:36 +000066 "as-needed"
Sean Condona36f65c2019-05-20 08:21:41 +010067 ],
Sean Condon6a6f9a02020-01-09 14:09:36 +000068 "object-literal-sort-keys": false,
69 "ordered-imports": false,
Sean Condona36f65c2019-05-20 08:21:41 +010070 "quotemark": [
71 true,
72 "single"
73 ],
Sean Condon6a6f9a02020-01-09 14:09:36 +000074 "trailing-comma": false,
75 "no-conflicting-lifecycle": true,
76 "no-host-metadata-property": true,
Sean Condona36f65c2019-05-20 08:21:41 +010077 "no-input-rename": true,
Sean Condon6a6f9a02020-01-09 14:09:36 +000078 "no-inputs-metadata-property": true,
79 "no-output-native": true,
80 "no-output-on-prefix": true,
Sean Condona36f65c2019-05-20 08:21:41 +010081 "no-output-rename": true,
Sean Condon6a6f9a02020-01-09 14:09:36 +000082 "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}