Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

root / tslint.json @ 2c8d373c

Historique | Voir | Annoter | Télécharger (1,77 ko)

1 f3d5fa3b Eric Seigne
{
2
  "extends": "tslint:latest",
3
  "linterOptions": {
4
      "exclude": [
5
          "app/*.d.ts"
6
      ]
7
  },
8
  "rulesDirectory": [
9
    "node_modules/codelyzer"
10
  ],
11
  "rules": {
12
    "array-type": [true, "generic"],
13
    "arrow-return-shorthand": true,
14
    "component-class-suffix": true,
15
    "deprecation": true,
16
    "directive-class-suffix": true,
17
    "interface-name": [true, "never-prefix"],
18
    "member-access": [true, "no-public"],
19
    "newline-before-return": true,
20
    "no-angle-bracket-type-assertion": false,
21
    "no-attribute-parameter-decorator": true,
22
    "no-consecutive-blank-lines": [true, 1],
23
    "no-console": [false],
24
    "no-forward-ref": true,
25
    "no-implicit-dependencies": false,
26
    "no-input-rename": true,
27
    "no-irregular-whitespace": true,
28
    "no-output-on-prefix": true,
29
    "no-output-rename": true,
30
    "no-submodule-imports": false,
31
    "no-trailing-whitespace": [true, "ignore-blank-lines"],
32
    "no-unnecessary-initializer": true,
33
    "no-var-requires": false,
34
    "object-literal-key-quotes": [true, "as-needed"],
35
    "object-literal-sort-keys": false,
36
    "one-variable-per-declaration": [true, "ignore-for-loop"],
37
    "ordered-imports": false,
38
    "prefer-conditional-expression": false,
39
    "use-host-property-decorator": true,
40
    "use-input-property-decorator": true,
41
    "use-life-cycle-interface": true,
42
    "use-output-property-decorator": true,
43
    "use-pipe-transform-interface": true,
44
    "trailing-comma": [true, {
45
      "multiline": "never",
46
      "singleline": "never"
47
    }],
48
    "variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
49
    "whitespace": [true,
50
      "check-branch",
51
      "check-decl",
52
      "check-operator",
53
      "check-module",
54
      "check-separator",
55
      "check-type",
56
      "check-preblock"
57
    ]
58
  }
59
}
Redmine Appliance - Powered by TurnKey Linux