Skip to content
This repository was archived by the owner on Sep 15, 2021. It is now read-only.

Commit 62a9dd6

Browse files
committed
Added .gitattributes and started tracking more files.
1 parent e33aadc commit 62a9dd6

3 files changed

Lines changed: 149 additions & 0 deletions

File tree

.gitattributes

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
js/* linguist-vendored
2+
ts/tests/coverage/* linguist-vendored
3+
gulpfile.js linguist-vendored
4+
jest.config.js linguist-vendored
5+
package.json linguist-vendored
6+
package-lock.json linguist-vendored

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.idea/
2+
node_modules/

ts/tslint.json

Lines changed: 141 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
{
2+
3+
"extends": "tslint:recommended",
4+
5+
"rules": {
6+
7+
"adjacent-overload-signatures": false,
8+
9+
"align": [true,
10+
"elements",
11+
"members",
12+
"statements"
13+
],
14+
15+
"arrow-parens": [true, "ban-single-arg-parens"],
16+
17+
"class-name": true,
18+
19+
"comment-format": [true, "check-space"],
20+
21+
"completed-docs": [false,
22+
"classes",
23+
"enums",
24+
"enum-members",
25+
"functions",
26+
"interfaces",
27+
"methods",
28+
"namespaces",
29+
"properties",
30+
"types",
31+
"variables"
32+
],
33+
34+
"curly": [true, "ignore-same-line"],
35+
36+
"eofline": false,
37+
38+
"forin": false,
39+
40+
"indent": [true, "tabs", 4],
41+
42+
"interface-name": [true, "never-prefix"],
43+
44+
"interface-over-type-literal": false,
45+
46+
"max-classes-per-file": false,
47+
48+
"max-line-length": false,
49+
50+
"member-access": [true, "check-accessor", "check-constructor", "check-parameter-property"],
51+
52+
"member-ordering": false,
53+
54+
"new-parens": false,
55+
56+
"no-console": false,
57+
58+
"no-empty-interface": false,
59+
60+
"no-namespace": false,
61+
62+
"no-parameter-properties": true,
63+
64+
"no-string-literal": false,
65+
66+
"no-trailing-whitespace": [true, "ignore-blank-lines", "ignore-comments", "ignore-jsdoc"],
67+
68+
"no-unused-expression": false,
69+
70+
"no-var-keyword": true,
71+
72+
"no-void-expression": [true, "ignore-arrow-function-shorthand"],
73+
74+
"object-literal-sort-keys": [true, "match-declaration-order"],
75+
76+
"only-arrow-functions": true,
77+
78+
"ordered-imports": false,
79+
80+
"prefer-const": false,
81+
82+
"quotemark": [true, "double"],
83+
84+
"radix": false,
85+
86+
"semicolon": [true, "always"],
87+
88+
"space-within-parens": [false],
89+
90+
"trailing-comma": false,
91+
92+
"triple-equals": [true, "allow-null-check", "allow-undefined-check"],
93+
94+
"typedef": [true,
95+
"call-signature",
96+
"arrow-call-signature",
97+
"parameter",
98+
"arrow-parameter",
99+
"property-declaration",
100+
"variable-declaration",
101+
"member-variable-declaration",
102+
"object-destructuring",
103+
"array-destructuring"
104+
],
105+
106+
"typedef-whitespace": [true, {
107+
"call-signature": "nospace",
108+
"index-signature": "nospace",
109+
"parameter": "nospace",
110+
"property-declaration": "nospace",
111+
"variable-declaration": "nospace"
112+
}, {
113+
"call-signature": "onespace",
114+
"index-signature": "onespace",
115+
"parameter": "onespace",
116+
"property-declaration": "space",
117+
"variable-declaration": "onespace"
118+
}
119+
],
120+
121+
"typeof-compare": true,
122+
123+
"use-isnan": true,
124+
125+
"whitespace": [true,
126+
"check-branch",
127+
"check-decl",
128+
"check-operator",
129+
"check-operator",
130+
"check-module",
131+
"check-separator",
132+
"check-rest-spread",
133+
"check-type",
134+
"check-typecast",
135+
"check-type-operator",
136+
"check-preblock"
137+
]
138+
139+
}
140+
141+
}

0 commit comments

Comments
 (0)