Skip to content

Commit 97561d8

Browse files
authored
Merge pull request #4 from ivan-fediaev/ivan-branch
2 parents aa3929a + 152fa49 commit 97561d8

File tree

11 files changed

+4629
-1108
lines changed

11 files changed

+4629
-1108
lines changed

.eslintrc.js

Lines changed: 43 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,63 @@
11
module.exports = {
2-
"env": {
3-
"browser": true,
4-
"es6": true,
5-
"node": true
2+
env: {
3+
browser: true,
4+
es6: true,
5+
node: true
66
},
7-
"parser": "@typescript-eslint/parser",
8-
"parserOptions": {
9-
"project": "tsconfig.json",
10-
"sourceType": "module"
7+
parser: "@typescript-eslint/parser",
8+
parserOptions: {
9+
project: "tsconfig.json",
10+
sourceType: "module"
1111
},
12-
"plugins": [
12+
plugins: [
1313
"@typescript-eslint",
1414
"jsdoc",
1515
"import"
1616
],
17-
"extends": [
17+
extends: [
1818
"eslint:recommended",
1919
"plugin:@typescript-eslint/recommended",
2020
"plugin:import/recommended",
2121
"plugin:import/typescript"
2222
],
23-
"overrides": [
23+
overrides: [
2424
{
25-
"files": [
25+
files: [
2626
"**/*.spec.ts"
2727
],
28-
"rules": {
28+
rules: {
2929
"max-lines": "off",
3030
"max-lines-per-function": "off",
3131
"no-unused-expressions": "off",
3232
"max-nested-callbacks": "off"
3333
}
3434
}
3535
],
36-
"rules": {
36+
rules: {
3737
"@typescript-eslint/array-type": [
3838
"error",
3939
{
40-
"default": "array-simple"
40+
default: "array-simple"
4141
}
4242
],
4343
"@typescript-eslint/ban-types": [
4444
"error",
4545
{
46-
"types": {
47-
"Object": "Avoid using the `Object` type. Did you mean `object`?",
48-
"Function": "Avoid using the `Function` type. Prefer a specific function type, like `() => void`.",
49-
"Boolean": "Avoid using the `Boolean` type. Did you mean `boolean`?",
50-
"Number": "Avoid using the `Number` type. Did you mean `number`?",
51-
"String": "Avoid using the `String` type. Did you mean `string`?",
52-
"Symbol": "Avoid using the `Symbol` type. Did you mean `symbol`?"
46+
types: {
47+
Object: "Avoid using the `Object` type. Did you mean `object`?",
48+
Function: "Avoid using the `Function` type. Prefer a specific function type, like `() => void`.",
49+
Boolean: "Avoid using the `Boolean` type. Did you mean `boolean`?",
50+
Number: "Avoid using the `Number` type. Did you mean `number`?",
51+
String: "Avoid using the `String` type. Did you mean `string`?",
52+
Symbol: "Avoid using the `Symbol` type. Did you mean `symbol`?"
5353
}
5454
}
5555
],
5656
"@typescript-eslint/explicit-member-accessibility": [
5757
"error",
5858
{
59-
"overrides": {
60-
"constructors": "off"
59+
overrides: {
60+
constructors: "off"
6161
}
6262
}
6363
],
@@ -66,14 +66,14 @@ module.exports = {
6666
"@typescript-eslint/naming-convention": [
6767
"error",
6868
{
69-
"selector": "typeLike",
70-
"format": [
69+
selector: "typeLike",
70+
format: [
7171
"PascalCase"
7272
]
7373
},
7474
{
75-
"selector": "variable",
76-
"format": [
75+
selector: "variable",
76+
format: [
7777
"camelCase",
7878
"PascalCase",
7979
"UPPER_CASE"
@@ -102,29 +102,29 @@ module.exports = {
102102
"error",
103103
"always",
104104
{
105-
"null": "ignore"
105+
null: "ignore"
106106
}
107107
],
108108
"indent": [
109109
"error",
110110
"tab",
111111
{
112-
"ignoreComments": true,
113-
"SwitchCase": 1
112+
ignoreComments: true,
113+
SwitchCase: 1
114114
}
115115
],
116116
"max-len": [
117117
"error",
118118
{
119-
"code": 120,
120-
"ignoreComments": true
119+
code: 120,
120+
ignoreComments: true
121121
}
122122
],
123123
"max-lines-per-function": [
124124
"error",
125125
{
126-
"max": 50,
127-
"skipComments": true
126+
max: 50,
127+
skipComments: true
128128
}
129129
],
130130
"max-lines": [
@@ -159,25 +159,25 @@ module.exports = {
159159
"error",
160160
"double",
161161
{
162-
"avoidEscape": true
162+
avoidEscape: true
163163
}
164164
],
165165
"radix": "error",
166166
"semi": "error",
167167
"space-before-function-paren": [
168168
"error",
169169
{
170-
"anonymous": "ignore",
171-
"named": "ignore",
172-
"asyncArrow": "always"
170+
anonymous: "ignore",
171+
named: "ignore",
172+
asyncArrow: "always"
173173
}
174174
],
175175
"space-infix-ops": "error",
176176
"space-unary-ops": [
177177
"error",
178178
{
179-
"words": true,
180-
"nonwords": false
179+
words: true,
180+
nonwords: false
181181
}
182182
],
183183
"spaced-comment": "error",
@@ -190,7 +190,7 @@ module.exports = {
190190
"error",
191191
"always",
192192
{
193-
"exceptAfterSingleLine": true
193+
exceptAfterSingleLine: true
194194
}
195195
],
196196
"max-nested-callbacks": [
@@ -199,7 +199,7 @@ module.exports = {
199199
],
200200
"max-statements-per-line": "error"
201201
},
202-
"ignorePatterns": [
202+
ignorePatterns: [
203203
"frontend/**/*"
204204
]
205205
};

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,5 @@ node_modules
3737
typings/
3838
lib/*.js
3939
test/*.js
40-
*.map
40+
*.map
41+
node_modules

dist/App.js

Lines changed: 0 additions & 30 deletions
This file was deleted.

dist/rest/Server.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)