UNPKG

2.63 kBJSONView Raw
1{
2 "rulesDirectory": ["tslint-plugin-prettier"],
3 "rules": {
4 "prettier": true,
5 "no-any": true,
6 "no-internal-module": true,
7 "no-namespace": true,
8 "no-reference": true,
9 "no-var-requires": true,
10 "typedef": [true, "call-signature", "parameter", "property-declaration"],
11 "typedef-whitespace": [
12 true,
13 {
14 "call-signature": "nospace",
15 "index-signature": "nospace",
16 "parameter": "nospace",
17 "property-declaration": "nospace",
18 "variable-declaration": "nospace"
19 },
20 {
21 "call-signature": "onespace",
22 "index-signature": "onespace",
23 "parameter": "onespace",
24 "property-declaration": "onespace",
25 "variable-declaration": "onespace"
26 }
27 ],
28 "curly": true,
29 "forin": true,
30 "label-position": true,
31 "no-arg": true,
32 "no-bitwise": true,
33 "no-conditional-assignment": true,
34 // "no-console": [
35 // true,
36 // "log"
37 // ],
38 "no-construct": true,
39 "no-debugger": true,
40 "no-duplicate-variable": true,
41 "no-empty": true,
42 "no-eval": true,
43 "no-invalid-this": true,
44 "no-null-keyword": true,
45 "no-shadowed-variable": true,
46 // "no-string-literal": true,
47 "no-switch-case-fall-through": true,
48 "no-unsafe-finally": true,
49 "no-unused-expression": true,
50 "no-var-keyword": true,
51 "radix": true,
52 "switch-default": true,
53 "triple-equals": true,
54 "use-isnan": true,
55 "eofline": true,
56 "indent": [true, "spaces"],
57 "max-file-line-count": [true, 500],
58 "max-line-length": [true, 160],
59 "no-default-export": true,
60 "no-mergeable-namespace": true,
61 "no-require-imports": true,
62 "align": [true, "statements"],
63 "arrow-parens": false,
64 "class-name": true,
65 "jsdoc-format": true,
66 "new-parens": true,
67 "no-angle-bracket-type-assertion": true,
68 "no-consecutive-blank-lines": [true, 1],
69 "no-parameter-properties": true,
70 // "object-literal-key-quotes": [
71 // true,
72 // "as-needed"
73 // ],
74 "one-line": [
75 true,
76 "check-catch",
77 "check-finally",
78 "check-else",
79 "check-open-brace",
80 "check-whitespace"
81 ],
82 "one-variable-per-declaration": [true],
83 "quotemark": [true, "double", "avoid-escape"],
84 "semicolon": [true, "always", "ignore-interfaces"],
85 "variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"],
86 "whitespace": [
87 true,
88 "check-branch",
89 "check-decl",
90 "check-operator",
91 "check-module",
92 "check-separator",
93 "check-type",
94 "check-typecast"
95 ]
96 }
97}