Skip to content

Commit 8426fa0

Browse files
committed
pretier
1 parent 2fc75cf commit 8426fa0

File tree

3 files changed

+65
-53
lines changed

3 files changed

+65
-53
lines changed

.prettierignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dist/
2+
deps/
3+
typings/

.prettierrc.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module.exports = {
2+
trailingComma: "all",
3+
arrowParens: "always",
4+
singleQuote: false,
5+
jsxSingleQuote: false,
6+
tabWidth: 4,
7+
semi: true,
8+
quoteProps: "consistent",
9+
arrowParens: "always",
10+
endOfLine: "lf",
11+
};

APIServer/tslint.json

+51-53
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,54 @@
11
{
22
"rules": {
3-
"class-name": true,
4-
"curly": true,
5-
"eofline": false,
6-
"forin": true,
7-
"indent": false,
8-
"label-position": true,
9-
"max-line-length": [true, 150],
10-
"no-arg": true,
11-
"no-bitwise": true,
12-
"no-console": false,
13-
"no-construct": true,
14-
"no-constructor-vars": false,
15-
"no-debugger": true,
16-
"no-duplicate-variable": true,
17-
"no-empty": true,
18-
"no-eval": true,
19-
"no-string-literal": true,
20-
"no-switch-case-fall-through": true,
21-
"no-trailing-whitespace": true,
22-
"no-unused-expression": true,
23-
"no-unused-variable": false,
24-
"no-var-requires": false,
25-
"one-line": [
26-
true,
27-
"check-open-brace",
28-
"check-catch",
29-
"check-else",
30-
"check-whitespace"
31-
],
32-
"quotemark": [true, "double"],
33-
"semicolon": true,
34-
"triple-equals": [true, "allow-null-check"],
35-
"typedef": [true,
36-
"callSignature",
37-
"indexSignature",
38-
"parameter",
39-
"propertySignature",
40-
"variableDeclarator",
41-
"memberVariableDeclarator"],
42-
"use-strict": false,
43-
"variable-name": [
44-
true,
45-
"allow-leading-underscore"
46-
],
47-
"whitespace": [
48-
true,
49-
"check-branch",
50-
"check-decl",
51-
"check-operator",
52-
"check-separator",
53-
"check-type"
54-
]
3+
"class-name": true,
4+
"curly": true,
5+
"eofline": false,
6+
"forin": true,
7+
"indent": false,
8+
"label-position": true,
9+
"max-line-length": [true, 150],
10+
"no-arg": true,
11+
"no-bitwise": true,
12+
"no-console": false,
13+
"no-construct": true,
14+
"no-constructor-vars": false,
15+
"no-debugger": true,
16+
"no-duplicate-variable": true,
17+
"no-empty": true,
18+
"no-eval": true,
19+
"no-string-literal": true,
20+
"no-switch-case-fall-through": true,
21+
"no-trailing-whitespace": true,
22+
"no-unused-expression": true,
23+
"no-unused-variable": false,
24+
"no-var-requires": false,
25+
"one-line": [
26+
true,
27+
"check-open-brace",
28+
"check-catch",
29+
"check-else",
30+
"check-whitespace"
31+
],
32+
"semicolon": true,
33+
"triple-equals": [true, "allow-null-check"],
34+
"typedef": [
35+
true,
36+
"callSignature",
37+
"indexSignature",
38+
"parameter",
39+
"propertySignature",
40+
"variableDeclarator",
41+
"memberVariableDeclarator"
42+
],
43+
"use-strict": false,
44+
"variable-name": [true, "allow-leading-underscore"],
45+
"whitespace": [
46+
true,
47+
"check-branch",
48+
"check-decl",
49+
"check-operator",
50+
"check-separator",
51+
"check-type"
52+
]
5553
}
56-
}
54+
}

0 commit comments

Comments
 (0)