@tstdl/base 0.71.75 → 0.71.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +9 -4
- package/package.json +5 -5
package/.eslintrc.js
CHANGED
|
@@ -37,16 +37,19 @@ module.exports = {
|
|
|
37
37
|
'@typescript-eslint/no-empty-interface': ['warn', { 'allowSingleExtends': true }],
|
|
38
38
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
39
39
|
'@typescript-eslint/no-extra-parens': 'off',
|
|
40
|
+
'@typescript-eslint/no-extraneous-class': 'off',
|
|
40
41
|
'@typescript-eslint/no-inferrable-types': ['warn', { ignoreParameters: true, ignoreProperties: true }],
|
|
41
42
|
'@typescript-eslint/no-invalid-void-type': 'off',
|
|
42
43
|
'@typescript-eslint/no-magic-numbers': ['off', { ignoreNumericLiteralTypes: true, ignoreEnums: true, ignore: [0, 1, 128, 256, 512, 1024, 2048, 4096], ignoreArrayIndexes: true }],
|
|
43
44
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
45
|
+
'@typescript-eslint/no-restricted-imports': 'off',
|
|
44
46
|
'@typescript-eslint/no-type-alias': 'off',
|
|
45
47
|
'@typescript-eslint/no-unnecessary-condition': ['error', { allowConstantLoopConditions: true }],
|
|
46
48
|
'@typescript-eslint/no-unsafe-assignment': 'off',
|
|
47
49
|
'@typescript-eslint/no-unused-vars-experimental': 'off',
|
|
48
50
|
'@typescript-eslint/no-unused-vars': ['warn', { varsIgnorePattern: '^_', argsIgnorePattern: '^_' }],
|
|
49
51
|
'@typescript-eslint/no-use-before-define': ['error', { functions: false }],
|
|
52
|
+
'@typescript-eslint/no-useless-constructor': 'off',
|
|
50
53
|
'@typescript-eslint/object-curly-spacing': 'off',
|
|
51
54
|
'@typescript-eslint/prefer-readonly-parameter-types': ['off', { checkParameterProperties: false }],
|
|
52
55
|
'@typescript-eslint/quotes': ['warn', 'single'],
|
|
@@ -54,12 +57,12 @@ module.exports = {
|
|
|
54
57
|
'@typescript-eslint/sort-type-union-intersection-members': 'off',
|
|
55
58
|
'@typescript-eslint/space-before-function-paren': ['warn', { anonymous: 'never', named: 'never', asyncArrow: 'always' }],
|
|
56
59
|
'@typescript-eslint/typedef': 'off',
|
|
57
|
-
"@typescript-eslint/no-restricted-imports": "off",
|
|
58
60
|
'array-bracket-newline': ['error', 'consistent'],
|
|
59
61
|
'array-element-newline': ['error', 'consistent'],
|
|
60
62
|
'camelcase': 'off',
|
|
61
|
-
'capitalized-comments':
|
|
63
|
+
'capitalized-comments': 'off',
|
|
62
64
|
'class-methods-use-this': 'off',
|
|
65
|
+
'complexity': ['warn', 25],
|
|
63
66
|
'dot-location': ['error', 'property'],
|
|
64
67
|
'eqeqeq': 'off',
|
|
65
68
|
'func-style': ['error', 'declaration', { allowArrowFunctions: true }],
|
|
@@ -73,10 +76,12 @@ module.exports = {
|
|
|
73
76
|
'linebreak-style': ['error', 'unix'],
|
|
74
77
|
'lines-around-comment': 'off',
|
|
75
78
|
'lines-between-class-members': 'off',
|
|
79
|
+
'max-classes-per-file': 'off',
|
|
76
80
|
'max-len': ['off', { code: 150 }],
|
|
81
|
+
'max-lines-per-function': ['warn', { 'max': 100, 'skipBlankLines': true, 'skipComments': true }],
|
|
77
82
|
'max-lines': 'off',
|
|
78
83
|
'max-params': 'off',
|
|
79
|
-
'max-statements': ['warn',
|
|
84
|
+
'max-statements': ['warn', 50],
|
|
80
85
|
'multiline-ternary': 'off',
|
|
81
86
|
'new-cap': 'off',
|
|
82
87
|
'newline-per-chained-call': 'off',
|
|
@@ -90,13 +95,13 @@ module.exports = {
|
|
|
90
95
|
'no-nested-ternary': 'off',
|
|
91
96
|
'no-plusplus': ['off', { allowForLoopAfterthoughts: true }],
|
|
92
97
|
'no-promise-executor-return': 'off',
|
|
98
|
+
'no-restricted-imports': 'off',
|
|
93
99
|
'no-ternary': 'off',
|
|
94
100
|
'no-undefined': 'off',
|
|
95
101
|
'no-underscore-dangle': 'off',
|
|
96
102
|
'no-void': 'off',
|
|
97
103
|
'object-curly-spacing': 'off',
|
|
98
104
|
'object-property-newline': ['warn', { allowAllPropertiesOnSameLine: true }],
|
|
99
|
-
"no-restricted-imports": "off",
|
|
100
105
|
'one-var': ['error', 'never'],
|
|
101
106
|
'operator-linebreak': ['warn', 'before'],
|
|
102
107
|
'padded-blocks': ['error', 'never'],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tstdl/base",
|
|
3
|
-
"version": "0.71.
|
|
3
|
+
"version": "0.71.76",
|
|
4
4
|
"author": "Patrick Hein",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"luxon": "^2.4",
|
|
19
19
|
"reflect-metadata": "^0.1",
|
|
20
20
|
"rxjs": "^7.5",
|
|
21
|
-
"type-fest": "^2.
|
|
21
|
+
"type-fest": "^2.16"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/chroma-js": "2.1",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"@elastic/elasticsearch": "^8.2",
|
|
42
|
-
"@koa/router": "^
|
|
42
|
+
"@koa/router": "^11.0",
|
|
43
43
|
"@tstdl/angular": "^0.10",
|
|
44
44
|
"chroma-js": "^2.4",
|
|
45
45
|
"got": "^12.1",
|
|
46
46
|
"handlebars": "^4.7",
|
|
47
47
|
"koa": "^2.13",
|
|
48
48
|
"minio": "^7.0",
|
|
49
|
-
"mjml": "^4.
|
|
49
|
+
"mjml": "^4.13",
|
|
50
50
|
"mongodb": "^4.7",
|
|
51
51
|
"nodemailer": "^6.7",
|
|
52
|
-
"puppeteer": "^15.
|
|
52
|
+
"puppeteer": "^15.3",
|
|
53
53
|
"superstruct": "^0.16",
|
|
54
54
|
"undici": "^5.6",
|
|
55
55
|
"urlpattern-polyfill": "^4.0"
|