| [5e4cb73] | 1 | {
|
|---|
| 2 | "extends": "tslint:recommended",
|
|---|
| 3 | "rulesDirectory": [
|
|---|
| 4 | "codelyzer"
|
|---|
| 5 | ],
|
|---|
| 6 | "rules": {
|
|---|
| [8ba1a11] | 7 | "align": {
|
|---|
| 8 | "options": [
|
|---|
| 9 | "parameters",
|
|---|
| 10 | "statements"
|
|---|
| 11 | ]
|
|---|
| 12 | },
|
|---|
| [5e4cb73] | 13 | "array-type": false,
|
|---|
| 14 | "arrow-parens": false,
|
|---|
| [8ba1a11] | 15 | "arrow-return-shorthand": true,
|
|---|
| [5e4cb73] | 16 | "deprecation": {
|
|---|
| 17 | "severity": "warn"
|
|---|
| 18 | },
|
|---|
| [8ba1a11] | 19 | "curly": true,
|
|---|
| [5e4cb73] | 20 | "import-blacklist": [
|
|---|
| 21 | true,
|
|---|
| 22 | "rxjs/Rx"
|
|---|
| 23 | ],
|
|---|
| 24 | "interface-name": false,
|
|---|
| [8ba1a11] | 25 | "eofline": true,
|
|---|
| [5e4cb73] | 26 | "max-classes-per-file": false,
|
|---|
| [8ba1a11] | 27 | "import-spacing": true,
|
|---|
| 28 | "indent": {
|
|---|
| 29 | "options": [
|
|---|
| 30 | "spaces"
|
|---|
| 31 | ]
|
|---|
| 32 | },
|
|---|
| [5e4cb73] | 33 | "max-line-length": [
|
|---|
| 34 | true,
|
|---|
| 35 | 140
|
|---|
| 36 | ],
|
|---|
| 37 | "member-access": false,
|
|---|
| 38 | "member-ordering": [
|
|---|
| 39 | true,
|
|---|
| 40 | {
|
|---|
| 41 | "order": [
|
|---|
| 42 | "static-field",
|
|---|
| 43 | "instance-field",
|
|---|
| 44 | "static-method",
|
|---|
| 45 | "instance-method"
|
|---|
| 46 | ]
|
|---|
| 47 | }
|
|---|
| 48 | ],
|
|---|
| 49 | "no-consecutive-blank-lines": false,
|
|---|
| 50 | "no-console": [
|
|---|
| 51 | true,
|
|---|
| 52 | "debug",
|
|---|
| 53 | "info",
|
|---|
| 54 | "time",
|
|---|
| 55 | "timeEnd",
|
|---|
| 56 | "trace"
|
|---|
| 57 | ],
|
|---|
| 58 | "no-empty": false,
|
|---|
| 59 | "no-inferrable-types": [
|
|---|
| 60 | true,
|
|---|
| 61 | "ignore-params"
|
|---|
| 62 | ],
|
|---|
| 63 | "no-non-null-assertion": true,
|
|---|
| 64 | "no-redundant-jsdoc": true,
|
|---|
| 65 | "no-switch-case-fall-through": true,
|
|---|
| 66 | "no-var-requires": false,
|
|---|
| 67 | "object-literal-key-quotes": [
|
|---|
| 68 | true,
|
|---|
| 69 | "as-needed"
|
|---|
| 70 | ],
|
|---|
| 71 | "object-literal-sort-keys": false,
|
|---|
| 72 | "ordered-imports": false,
|
|---|
| 73 | "quotemark": [
|
|---|
| 74 | true,
|
|---|
| 75 | "single"
|
|---|
| 76 | ],
|
|---|
| 77 | "trailing-comma": false,
|
|---|
| 78 | "no-output-on-prefix": true,
|
|---|
| [8ba1a11] | 79 | "no-inputs-metadata-property": true,
|
|---|
| 80 | "no-outputs-metadata-property": true,
|
|---|
| 81 | "no-host-metadata-property": true,
|
|---|
| [5e4cb73] | 82 | "no-input-rename": true,
|
|---|
| 83 | "no-output-rename": true,
|
|---|
| [8ba1a11] | 84 | "use-lifecycle-interface": true,
|
|---|
| 85 | "semicolon": {
|
|---|
| 86 | "options": [
|
|---|
| 87 | "always"
|
|---|
| 88 | ]
|
|---|
| 89 | },
|
|---|
| 90 | "space-before-function-paren": {
|
|---|
| 91 | "options": {
|
|---|
| 92 | "anonymous": "never",
|
|---|
| 93 | "asyncArrow": "always",
|
|---|
| 94 | "constructor": "never",
|
|---|
| 95 | "method": "never",
|
|---|
| 96 | "named": "never"
|
|---|
| 97 | }
|
|---|
| 98 | },
|
|---|
| [5e4cb73] | 99 | "use-pipe-transform-interface": true,
|
|---|
| [8ba1a11] | 100 | "typedef-whitespace": {
|
|---|
| 101 | "options": [
|
|---|
| 102 | {
|
|---|
| 103 | "call-signature": "nospace",
|
|---|
| 104 | "index-signature": "nospace",
|
|---|
| 105 | "parameter": "nospace",
|
|---|
| 106 | "property-declaration": "nospace",
|
|---|
| 107 | "variable-declaration": "nospace"
|
|---|
| 108 | },
|
|---|
| 109 | {
|
|---|
| 110 | "call-signature": "onespace",
|
|---|
| 111 | "index-signature": "onespace",
|
|---|
| 112 | "parameter": "onespace",
|
|---|
| 113 | "property-declaration": "onespace",
|
|---|
| 114 | "variable-declaration": "onespace"
|
|---|
| 115 | }
|
|---|
| 116 | ]
|
|---|
| 117 | },
|
|---|
| [5e4cb73] | 118 | "component-class-suffix": true,
|
|---|
| [8ba1a11] | 119 | "directive-class-suffix": true,
|
|---|
| 120 | "variable-name": {
|
|---|
| 121 | "options": [
|
|---|
| 122 | "ban-keywords",
|
|---|
| 123 | "check-format",
|
|---|
| 124 | "allow-pascal-case"
|
|---|
| 125 | ]
|
|---|
| 126 | },
|
|---|
| 127 | "whitespace": {
|
|---|
| 128 | "options": [
|
|---|
| 129 | "check-branch",
|
|---|
| 130 | "check-decl",
|
|---|
| 131 | "check-operator",
|
|---|
| 132 | "check-separator",
|
|---|
| 133 | "check-type",
|
|---|
| 134 | "check-typecast"
|
|---|
| 135 | ]
|
|---|
| 136 | }
|
|---|
| [5e4cb73] | 137 | }
|
|---|
| 138 | }
|
|---|