Skip to content

Commit 04d0313

Browse files
committed
chore(package): added tslint and tsconfig files
1 parent 4bb9632 commit 04d0313

File tree

2 files changed

+150
-0
lines changed

2 files changed

+150
-0
lines changed

Diff for: tsconfig.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "es2015",
5+
"moduleResolution": "node",
6+
"sourceMap": true,
7+
"inlineSources": true,
8+
"declaration": true,
9+
"experimentalDecorators": true,
10+
"noImplicitAny": true,
11+
"suppressImplicitAnyIndexErrors": true,
12+
"skipLibCheck": true,
13+
"stripInternal": true,
14+
"lib": [
15+
"es2015",
16+
"dom"
17+
]
18+
}
19+
}

Diff for: tslint.json

+131
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
{
2+
"rulesDirectory": [
3+
"node_modules/codelyzer"
4+
],
5+
"rules": {
6+
"arrow-return-shorthand": true,
7+
"callable-types": true,
8+
"class-name": true,
9+
"comment-format": [
10+
true,
11+
"check-space"
12+
],
13+
"curly": true,
14+
"eofline": true,
15+
"forin": true,
16+
"import-blacklist": [
17+
true,
18+
"rxjs"
19+
],
20+
"import-spacing": true,
21+
"indent": [
22+
true,
23+
"spaces"
24+
],
25+
"interface-over-type-literal": true,
26+
"label-position": true,
27+
"max-line-length": [
28+
true,
29+
140
30+
],
31+
"member-access": false,
32+
"member-ordering": [
33+
true,
34+
"static-before-instance",
35+
"variables-before-functions"
36+
],
37+
"no-arg": true,
38+
"no-bitwise": true,
39+
"no-console": [
40+
true,
41+
"debug",
42+
"info",
43+
"time",
44+
"timeEnd",
45+
"trace"
46+
],
47+
"no-construct": true,
48+
"no-debugger": true,
49+
"no-duplicate-super": true,
50+
"no-empty": false,
51+
"no-empty-interface": true,
52+
"no-eval": true,
53+
"no-inferrable-types": [
54+
true,
55+
"ignore-params"
56+
],
57+
"no-misused-new": true,
58+
"no-non-null-assertion": true,
59+
"no-shadowed-variable": true,
60+
"no-string-literal": false,
61+
"no-string-throw": true,
62+
"no-switch-case-fall-through": true,
63+
"no-trailing-whitespace": true,
64+
"no-unnecessary-initializer": true,
65+
"no-unused-expression": true,
66+
"no-use-before-declare": true,
67+
"no-var-keyword": true,
68+
"object-literal-sort-keys": false,
69+
"one-line": [
70+
true,
71+
"check-open-brace",
72+
"check-catch",
73+
"check-else",
74+
"check-whitespace"
75+
],
76+
"prefer-const": true,
77+
"quotemark": [
78+
true,
79+
"single"
80+
],
81+
"radix": true,
82+
"semicolon": [
83+
"always"
84+
],
85+
"triple-equals": [
86+
true,
87+
"allow-null-check"
88+
],
89+
"typedef-whitespace": [
90+
true,
91+
{
92+
"call-signature": "nospace",
93+
"index-signature": "nospace",
94+
"parameter": "nospace",
95+
"property-declaration": "nospace",
96+
"variable-declaration": "nospace"
97+
}
98+
],
99+
"unified-signatures": true,
100+
"variable-name": false,
101+
"whitespace": [
102+
true,
103+
"check-branch",
104+
"check-decl",
105+
"check-operator",
106+
"check-separator",
107+
"check-type"
108+
],
109+
"directive-selector": [
110+
true,
111+
"attribute",
112+
"ngb",
113+
"camelCase"
114+
],
115+
"component-selector": [
116+
true,
117+
"element",
118+
"ngb",
119+
"kebab-case"
120+
],
121+
"use-input-property-decorator": true,
122+
"use-output-property-decorator": true,
123+
"use-host-property-decorator": true,
124+
"no-input-rename": true,
125+
"no-output-rename": true,
126+
"use-life-cycle-interface": true,
127+
"use-pipe-transform-interface": true,
128+
"component-class-suffix": true,
129+
"directive-class-suffix": true
130+
}
131+
}

0 commit comments

Comments
 (0)