UNPKG

790 BJSONView Raw
1{
2 "extends": ["tslint:recommended", "tslint-config-prettier"],
3 "rules": {
4 "semicolon": true,
5 "eofline": false,
6 "no-console": false,
7 "object-literal-sort-keys": false,
8 "indent": [true, "spaces", 4],
9 "interface-name": [false],
10 "no-empty-interface": false,
11 "jsdoc-format": false,
12 "no-redundant-jsdoc": false,
13 "no-unused-expression": [true, "allow-fast-null-checks"],
14 "variable-name": [
15 true,
16 "allow-leading-underscore", // 允许开头的下划线,例如 _test
17 "allow-snake-case",
18 "ban-keywords",
19 "allow-leading-underscore"
20 ]
21 },
22 "linterOptions": {
23 "exclude": [
24 "**/node_modules/**"
25 ]
26 }
27}
\No newline at end of file