]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/frontend/tslint.json
import 15.2.1 Octopus source
[ceph.git] / ceph / src / pybind / mgr / dashboard / frontend / tslint.json
1 {
2 "rulesDirectory": ["node_modules/codelyzer"],
3 "rules": {
4 "no-consecutive-blank-lines": true,
5 "arrow-return-shorthand": true,
6 "callable-types": true,
7 "class-name": true,
8 "comment-format": [true, "check-space"],
9 "curly": true,
10 "eofline": true,
11 "forin": true,
12 "import-blacklist": [true, "rxjs/Rx", "ngx-bootstrap"],
13 "import-spacing": true,
14 "indent": [true, "spaces"],
15 "interface-over-type-literal": true,
16 "label-position": true,
17 "member-access": false,
18 "member-ordering": [
19 true,
20 {
21 "order": ["static-field", "instance-field", "static-method", "instance-method"]
22 }
23 ],
24 "no-arg": true,
25 "no-bitwise": true,
26 "no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
27 "no-construct": true,
28 "no-debugger": true,
29 "no-duplicate-super": true,
30 "no-empty": false,
31 "no-empty-interface": true,
32 "no-eval": true,
33 "no-inferrable-types": [true, "ignore-params"],
34 "no-misused-new": true,
35 "no-non-null-assertion": true,
36 "no-shadowed-variable": true,
37 "no-string-literal": false,
38 "no-string-throw": true,
39 "no-switch-case-fall-through": true,
40 "no-trailing-whitespace": true,
41 "no-unnecessary-initializer": true,
42 "no-unused-expression": true,
43 "no-use-before-declare": true,
44 "no-var-keyword": true,
45 "object-literal-sort-keys": false,
46 "one-line": [true, "check-open-brace", "check-catch", "check-else", "check-whitespace"],
47 "prefer-const": true,
48 "quotemark": [true, "single", "avoid-escape"],
49 "radix": true,
50 "semicolon": [true, "always"],
51 "triple-equals": [true, "allow-null-check"],
52 "typedef-whitespace": [
53 true,
54 {
55 "call-signature": "nospace",
56 "index-signature": "nospace",
57 "parameter": "nospace",
58 "property-declaration": "nospace",
59 "variable-declaration": "nospace"
60 }
61 ],
62 "unified-signatures": true,
63 "variable-name": [true, "check-format", "allow-snake-case", "allow-leading-underscore"],
64 "whitespace": [
65 true,
66 "check-branch",
67 "check-operator",
68 "check-separator",
69 "check-type",
70 "check-module"
71 ],
72 "directive-selector": [true, "attribute", "cd", "camelCase"],
73 "component-selector": [true, "element", "cd", "kebab-case"],
74 "no-output-on-prefix": true,
75 "no-inputs-metadata-property": true,
76 "no-outputs-metadata-property": true,
77 "no-host-metadata-property": true,
78 "no-attribute-decorator": true,
79 "no-input-rename": true,
80 "no-output-rename": true,
81 "use-lifecycle-interface": true,
82 "use-pipe-transform-interface": true,
83 "component-class-suffix": true,
84 "directive-class-suffix": true,
85 "no-forward-ref": true,
86 "no-output-native": true,
87 "ordered-imports": true
88 },
89 "jsRules": { "no-empty": true }
90 }