Skip to content

Commit 5c94933

Browse files
committed
Update to node 14, impossible to upgrade more because of choki..2 which needs to be in version 3
1 parent 0106c26 commit 5c94933

25 files changed

+9367
-14503
lines changed

frontend_angular/.eslintrc.js

Lines changed: 210 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
/*
2+
👋 Hi! This file was autogenerated by tslint-to-eslint-config.
3+
https://github.com/typescript-eslint/tslint-to-eslint-config
4+
5+
It represents the closest reasonable ESLint configuration to this
6+
project's original TSLint configuration.
7+
8+
We recommend eventually switching this configuration to extend from
9+
the recommended rulesets in typescript-eslint.
10+
https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md
11+
12+
Happy linting! 💖
13+
*/
14+
module.exports = {
15+
"env": {
16+
"browser": true,
17+
"node": true
18+
},
19+
"parser": "@typescript-eslint/parser",
20+
"parserOptions": {
21+
"project": "tsconfig.json",
22+
"sourceType": "module"
23+
},
24+
"plugins": [
25+
"eslint-plugin-import",
26+
"@angular-eslint/eslint-plugin",
27+
"@typescript-eslint",
28+
"@typescript-eslint/tslint"
29+
],
30+
"rules": {
31+
"@angular-eslint/component-class-suffix": "error",
32+
"@angular-eslint/component-selector": [
33+
"error",
34+
{
35+
"type": "element",
36+
"prefix": "app",
37+
"style": "kebab-case"
38+
}
39+
],
40+
"@angular-eslint/directive-class-suffix": "error",
41+
"@angular-eslint/directive-selector": [
42+
"error",
43+
{
44+
"type": "attribute",
45+
"prefix": "app",
46+
"style": "camelCase"
47+
}
48+
],
49+
"@angular-eslint/no-input-rename": "error",
50+
"@angular-eslint/no-output-on-prefix": "error",
51+
"@angular-eslint/no-output-rename": "error",
52+
"@angular-eslint/use-pipe-transform-interface": "error",
53+
"@typescript-eslint/consistent-type-definitions": "error",
54+
"@typescript-eslint/dot-notation": "off",
55+
"@typescript-eslint/explicit-member-accessibility": [
56+
"off",
57+
{
58+
"accessibility": "explicit"
59+
}
60+
],
61+
"@typescript-eslint/indent": "error",
62+
"@typescript-eslint/member-delimiter-style": [
63+
"error",
64+
{
65+
"multiline": {
66+
"delimiter": "semi",
67+
"requireLast": true
68+
},
69+
"singleline": {
70+
"delimiter": "semi",
71+
"requireLast": false
72+
}
73+
}
74+
],
75+
"@typescript-eslint/member-ordering": "error",
76+
"@typescript-eslint/naming-convention": "error",
77+
"@typescript-eslint/no-empty-function": "off",
78+
"@typescript-eslint/no-empty-interface": "error",
79+
"@typescript-eslint/no-inferrable-types": [
80+
"error",
81+
{
82+
"ignoreParameters": true
83+
}
84+
],
85+
"@typescript-eslint/no-misused-new": "error",
86+
"@typescript-eslint/no-non-null-assertion": "error",
87+
"@typescript-eslint/no-shadow": [
88+
"error",
89+
{
90+
"hoist": "all"
91+
}
92+
],
93+
"@typescript-eslint/no-unused-expressions": "error",
94+
"@typescript-eslint/prefer-function-type": "error",
95+
"@typescript-eslint/quotes": [
96+
"error",
97+
"single"
98+
],
99+
"@typescript-eslint/semi": [
100+
"error",
101+
"always"
102+
],
103+
"@typescript-eslint/type-annotation-spacing": "error",
104+
"@typescript-eslint/unified-signatures": "error",
105+
"arrow-body-style": "error",
106+
"brace-style": [
107+
"error",
108+
"1tbs"
109+
],
110+
"constructor-super": "error",
111+
"curly": "error",
112+
"dot-notation": "off",
113+
"eol-last": "error",
114+
"eqeqeq": [
115+
"error",
116+
"smart"
117+
],
118+
"guard-for-in": "error",
119+
"id-denylist": "off",
120+
"id-match": "off",
121+
"import/no-deprecated": "warn",
122+
"indent": "error",
123+
"max-len": [
124+
"error",
125+
{
126+
"code": 140
127+
}
128+
],
129+
"no-bitwise": "error",
130+
"no-caller": "error",
131+
"no-console": [
132+
"error",
133+
{
134+
"allow": [
135+
"log",
136+
"warn",
137+
"dir",
138+
"timeLog",
139+
"assert",
140+
"clear",
141+
"count",
142+
"countReset",
143+
"group",
144+
"groupEnd",
145+
"table",
146+
"dirxml",
147+
"error",
148+
"groupCollapsed",
149+
"Console",
150+
"profile",
151+
"profileEnd",
152+
"timeStamp",
153+
"context"
154+
]
155+
}
156+
],
157+
"no-debugger": "error",
158+
"no-empty": "off",
159+
"no-empty-function": "off",
160+
"no-eval": "error",
161+
"no-fallthrough": "error",
162+
"no-new-wrappers": "error",
163+
"no-restricted-imports": [
164+
"error",
165+
"rxjs/Rx"
166+
],
167+
"no-shadow": "error",
168+
"no-throw-literal": "error",
169+
"no-trailing-spaces": "error",
170+
"no-undef-init": "error",
171+
"no-underscore-dangle": "off",
172+
"no-unused-expressions": "error",
173+
"no-unused-labels": "error",
174+
"no-var": "error",
175+
"prefer-const": "error",
176+
"quotes": "error",
177+
"radix": "error",
178+
"semi": "error",
179+
"spaced-comment": [
180+
"error",
181+
"always",
182+
{
183+
"markers": [
184+
"/"
185+
]
186+
}
187+
],
188+
"valid-typeof": "error",
189+
"@typescript-eslint/tslint/config": [
190+
"error",
191+
{
192+
"rules": {
193+
"import-spacing": true,
194+
"use-host-property-decorator": true,
195+
"use-input-property-decorator": true,
196+
"use-life-cycle-interface": true,
197+
"use-output-property-decorator": true,
198+
"whitespace": [
199+
true,
200+
"check-branch",
201+
"check-decl",
202+
"check-operator",
203+
"check-separator",
204+
"check-type"
205+
]
206+
}
207+
}
208+
]
209+
}
210+
};

frontend_angular/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ RUN openssl genrsa -out /etc/ssl/private/adh6.key 2048 \
2727
###############################################################################
2828
# 3rd stage, launch the app
2929
###############################################################################
30-
FROM node:10.16.0-buster-slim
30+
FROM node:14-buster-slim
3131

3232
EXPOSE 8443
3333

frontend_angular/angular.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,4 +225,4 @@
225225
}
226226
},
227227
"defaultProject": "adh6"
228-
}
228+
}

0 commit comments

Comments
 (0)