Projekt

Obecné

Profil

Stáhnout (3.11 KB) Statistiky
| Větev: | Tag: | Revize:
1
{
2
  "extends": "tslint:recommended",
3
  "rulesDirectory": [
4
    "codelyzer"
5
  ],
6
  "rules": {
7
    "align": {
8
      "options": [
9
        "parameters",
10
        "statements"
11
      ]
12
    },
13
    "array-type": false,
14
    "arrow-return-shorthand": true,
15
    "curly": true,
16
    "deprecation": {
17
      "severity": "warning"
18
    },
19
    "eofline": true,
20
    "import-blacklist": [
21
      true,
22
      "rxjs/Rx"
23
    ],
24
    "import-spacing": true,
25
    "indent": {
26
      "options": [
27
        "spaces"
28
      ]
29
    },
30
    "max-classes-per-file": false,
31
    "max-line-length": [
32
      true,
33
      140
34
    ],
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-console": [
47
      true,
48
      "debug",
49
      "info",
50
      "time",
51
      "timeEnd",
52
      "trace"
53
    ],
54
    "no-empty": false,
55
    "no-inferrable-types": [
56
      true,
57
      "ignore-params"
58
    ],
59
    "no-non-null-assertion": true,
60
    "no-redundant-jsdoc": true,
61
    "no-switch-case-fall-through": true,
62
    "no-var-requires": false,
63
    "object-literal-key-quotes": [
64
      true,
65
      "as-needed"
66
    ],
67
    "quotemark": [
68
      true,
69
      "single"
70
    ],
71
    "semicolon": {
72
      "options": [
73
        "always"
74
      ]
75
    },
76
    "space-before-function-paren": {
77
      "options": {
78
        "anonymous": "never",
79
        "asyncArrow": "always",
80
        "constructor": "never",
81
        "method": "never",
82
        "named": "never"
83
      }
84
    },
85
    "typedef": [
86
      true,
87
      "call-signature"
88
    ],
89
    "typedef-whitespace": {
90
      "options": [
91
        {
92
          "call-signature": "nospace",
93
          "index-signature": "nospace",
94
          "parameter": "nospace",
95
          "property-declaration": "nospace",
96
          "variable-declaration": "nospace"
97
        },
98
        {
99
          "call-signature": "onespace",
100
          "index-signature": "onespace",
101
          "parameter": "onespace",
102
          "property-declaration": "onespace",
103
          "variable-declaration": "onespace"
104
        }
105
      ]
106
    },
107
    "variable-name": {
108
      "options": [
109
        "ban-keywords",
110
        "check-format",
111
        "allow-pascal-case"
112
      ]
113
    },
114
    "whitespace": {
115
      "options": [
116
        "check-branch",
117
        "check-decl",
118
        "check-operator",
119
        "check-separator",
120
        "check-type",
121
        "check-typecast"
122
      ]
123
    },
124
    "component-class-suffix": true,
125
    "contextual-lifecycle": true,
126
    "directive-class-suffix": true,
127
    "no-conflicting-lifecycle": true,
128
    "no-host-metadata-property": true,
129
    "no-input-rename": true,
130
    "no-inputs-metadata-property": true,
131
    "no-output-native": true,
132
    "no-output-on-prefix": true,
133
    "no-output-rename": true,
134
    "no-outputs-metadata-property": true,
135
    "template-banana-in-box": true,
136
    "template-no-negated-async": true,
137
    "use-lifecycle-interface": true,
138
    "use-pipe-transform-interface": true,
139
    "directive-selector": [
140
      true,
141
      "attribute",
142
      "app",
143
      "camelCase"
144
    ],
145
    "component-selector": [
146
      true,
147
      "element",
148
      "app",
149
      "kebab-case"
150
    ]
151
  }
152
}
(13-13/13)