@hublo/sentinel 1.1.6 → 1.2.0-alpha.0

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.
@@ -0,0 +1,197 @@
1
+ {
2
+ "$schema": "./node_modules/oxlint/configuration_schema.json",
3
+ "plugins": [
4
+ "typescript",
5
+ "oxc",
6
+ "unicorn",
7
+ "import",
8
+ "node"
9
+ ],
10
+ "categories": {
11
+ "correctness": "off",
12
+ "suspicious": "off",
13
+ "pedantic": "off",
14
+ "perf": "off",
15
+ "style": "off",
16
+ "restriction": "off",
17
+ "nursery": "off"
18
+ },
19
+ "rules": {
20
+ "no-var": "error",
21
+ "prefer-const": [
22
+ "error",
23
+ {
24
+ "destructuring": "any",
25
+ "ignoreReadBeforeAssign": false
26
+ }
27
+ ],
28
+ "prefer-rest-params": "error",
29
+ "prefer-spread": "error",
30
+ "typescript/ban-ts-comment": "error",
31
+ "typescript/no-array-constructor": "error",
32
+ "typescript/no-duplicate-enum-values": "error",
33
+ "typescript/no-empty-object-type": "error",
34
+ "typescript/no-extra-non-null-assertion": "error",
35
+ "typescript/no-misused-new": "error",
36
+ "typescript/no-namespace": "error",
37
+ "typescript/no-non-null-asserted-optional-chain": "error",
38
+ "typescript/no-this-alias": "error",
39
+ "typescript/no-unnecessary-type-constraint": "error",
40
+ "typescript/no-unsafe-declaration-merging": "error",
41
+ "typescript/no-unsafe-function-type": "error",
42
+ "typescript/no-unused-expressions": [
43
+ "error",
44
+ {
45
+ "allowShortCircuit": false,
46
+ "allowTaggedTemplates": false,
47
+ "allowTernary": false
48
+ }
49
+ ],
50
+ "typescript/no-wrapper-object-types": "error",
51
+ "typescript/prefer-as-const": "error",
52
+ "typescript/prefer-namespace-keyword": "error",
53
+ "typescript/triple-slash-reference": "error",
54
+ "for-direction": "error",
55
+ "no-async-promise-executor": "error",
56
+ "no-case-declarations": "error",
57
+ "no-compare-neg-zero": "error",
58
+ "no-cond-assign": [
59
+ "error",
60
+ "except-parens"
61
+ ],
62
+ "no-constant-binary-expression": [
63
+ "error",
64
+ {
65
+ "checkRelationalComparisons": false
66
+ }
67
+ ],
68
+ "no-constant-condition": [
69
+ "error",
70
+ {
71
+ "checkLoops": "allExceptWhileTrue"
72
+ }
73
+ ],
74
+ "no-control-regex": "error",
75
+ "no-debugger": "error",
76
+ "no-delete-var": "error",
77
+ "no-dupe-else-if": "error",
78
+ "no-duplicate-case": "error",
79
+ "no-empty": [
80
+ "error",
81
+ {
82
+ "allowEmptyCatch": false
83
+ }
84
+ ],
85
+ "no-empty-character-class": "error",
86
+ "no-empty-pattern": [
87
+ "error",
88
+ {
89
+ "allowObjectPatternsAsParameters": false
90
+ }
91
+ ],
92
+ "no-empty-static-block": "error",
93
+ "no-ex-assign": "error",
94
+ "no-extra-boolean-cast": [
95
+ "error",
96
+ {}
97
+ ],
98
+ "no-fallthrough": [
99
+ "error",
100
+ {
101
+ "allowEmptyCase": false,
102
+ "reportUnusedFallthroughComment": false
103
+ }
104
+ ],
105
+ "no-global-assign": [
106
+ "error",
107
+ {
108
+ "exceptions": []
109
+ }
110
+ ],
111
+ "no-invalid-regexp": [
112
+ "error",
113
+ {}
114
+ ],
115
+ "no-irregular-whitespace": [
116
+ "error",
117
+ {
118
+ "skipComments": false,
119
+ "skipJSXText": false,
120
+ "skipRegExps": false,
121
+ "skipStrings": true,
122
+ "skipTemplates": false
123
+ }
124
+ ],
125
+ "no-loss-of-precision": "error",
126
+ "no-misleading-character-class": [
127
+ "error",
128
+ {
129
+ "allowEscape": false
130
+ }
131
+ ],
132
+ "no-nonoctal-decimal-escape": "error",
133
+ "no-prototype-builtins": "error",
134
+ "no-regex-spaces": "error",
135
+ "no-self-assign": [
136
+ "error",
137
+ {
138
+ "props": true
139
+ }
140
+ ],
141
+ "no-shadow-restricted-names": [
142
+ "error",
143
+ {
144
+ "reportGlobalThis": true
145
+ }
146
+ ],
147
+ "no-sparse-arrays": "error",
148
+ "no-unassigned-vars": "error",
149
+ "no-unsafe-finally": "error",
150
+ "no-unsafe-optional-chaining": [
151
+ "error",
152
+ {
153
+ "disallowArithmeticOperators": false
154
+ }
155
+ ],
156
+ "no-unused-labels": "error",
157
+ "no-unused-private-class-members": "error",
158
+ "no-useless-assignment": "error",
159
+ "no-useless-backreference": "error",
160
+ "no-useless-catch": "error",
161
+ "no-useless-escape": [
162
+ "error",
163
+ {
164
+ "allowRegexCharacters": []
165
+ }
166
+ ],
167
+ "preserve-caught-error": [
168
+ "error",
169
+ {
170
+ "requireCatchParameter": false
171
+ }
172
+ ],
173
+ "require-yield": "error",
174
+ "typescript/no-explicit-any": "error",
175
+ "typescript/no-require-imports": "error",
176
+ "typescript/no-unused-vars": [
177
+ "error",
178
+ {
179
+ "argsIgnorePattern": "^_",
180
+ "varsIgnorePattern": "^_"
181
+ }
182
+ ],
183
+ "use-isnan": [
184
+ "error",
185
+ {
186
+ "enforceForIndexOf": false,
187
+ "enforceForSwitchCase": true
188
+ }
189
+ ],
190
+ "valid-typeof": [
191
+ "error",
192
+ {
193
+ "requireStringLiterals": false
194
+ }
195
+ ]
196
+ }
197
+ }
package/oxlint/nest.json CHANGED
@@ -1,358 +1,5 @@
1
1
  {
2
- "$schema": "./node_modules/oxlint/configuration_schema.json",
3
- "plugins": [
4
- "typescript",
5
- "jest",
6
- "import",
7
- "unicorn",
8
- "oxc",
9
- "node"
10
- ],
11
- "categories": {
12
- "correctness": "off",
13
- "suspicious": "off",
14
- "pedantic": "off",
15
- "perf": "off",
16
- "style": "off",
17
- "restriction": "off",
18
- "nursery": "off"
19
- },
20
- "rules": {
21
- "no-var": "error",
22
- "prefer-const": [
23
- "error",
24
- {
25
- "destructuring": "any",
26
- "ignoreReadBeforeAssign": false
27
- }
28
- ],
29
- "prefer-rest-params": "error",
30
- "prefer-spread": "error",
31
- "typescript/ban-ts-comment": "error",
32
- "typescript/no-array-constructor": "error",
33
- "typescript/no-duplicate-enum-values": "error",
34
- "typescript/no-empty-object-type": "error",
35
- "typescript/no-extra-non-null-assertion": "error",
36
- "typescript/no-misused-new": "error",
37
- "typescript/no-namespace": "error",
38
- "typescript/no-non-null-asserted-optional-chain": "error",
39
- "typescript/no-this-alias": "error",
40
- "typescript/no-unnecessary-type-constraint": "error",
41
- "typescript/no-unsafe-declaration-merging": "error",
42
- "typescript/no-unsafe-function-type": "error",
43
- "typescript/no-unused-expressions": [
44
- "error",
45
- {
46
- "allowShortCircuit": false,
47
- "allowTaggedTemplates": false,
48
- "allowTernary": false
49
- }
50
- ],
51
- "typescript/no-wrapper-object-types": "error",
52
- "typescript/prefer-as-const": "error",
53
- "typescript/prefer-namespace-keyword": "error",
54
- "typescript/triple-slash-reference": "error",
55
- "array-callback-return": [
56
- "error",
57
- {
58
- "allowImplicit": false,
59
- "checkForEach": false,
60
- "allowVoid": false
61
- }
62
- ],
63
- "complexity": [
64
- "error",
65
- 30
66
- ],
67
- "curly": [
68
- "error",
69
- "all"
70
- ],
71
- "dot-notation": [
72
- "error",
73
- {
74
- "allowKeywords": true,
75
- "allowPattern": ""
76
- }
77
- ],
78
- "eqeqeq": "warn",
79
- "for-direction": "error",
80
- "func-style": [
81
- "warn",
82
- "expression",
83
- {
84
- "allowArrowFunctions": false,
85
- "allowTypeAnnotation": false,
86
- "overrides": {}
87
- }
88
- ],
89
- "import/no-duplicates": [
90
- "error",
91
- {
92
- "considerQueryString": true,
93
- "prefer-inline": true
94
- }
95
- ],
96
- "jest/expect-expect": "warn",
97
- "jest/no-alias-methods": "error",
98
- "jest/no-commented-out-tests": "warn",
99
- "jest/no-deprecated-functions": "error",
100
- "jest/no-disabled-tests": "warn",
101
- "jest/no-done-callback": "error",
102
- "jest/no-export": "error",
103
- "jest/no-focused-tests": "error",
104
- "jest/no-identical-title": "error",
105
- "jest/no-interpolation-in-snapshots": "error",
106
- "jest/no-jasmine-globals": "error",
107
- "jest/no-mocks-import": "error",
108
- "jest/no-standalone-expect": "error",
109
- "jest/no-test-prefixes": "error",
110
- "jest/prefer-to-be": "error",
111
- "jest/prefer-to-contain": "error",
112
- "jest/prefer-to-have-length": "error",
113
- "jest/valid-describe-callback": "error",
114
- "jest/valid-expect": "warn",
115
- "jest/valid-expect-in-promise": "error",
116
- "jest/valid-title": "error",
117
- "no-async-promise-executor": "error",
118
- "no-case-declarations": "error",
119
- "no-compare-neg-zero": "error",
120
- "no-cond-assign": [
121
- "error",
122
- "except-parens"
123
- ],
124
- "no-console": [
125
- "warn",
126
- {
127
- "allow": [
128
- "warn",
129
- "error"
130
- ]
131
- }
132
- ],
133
- "no-constant-binary-expression": "error",
134
- "no-constant-condition": [
135
- "error",
136
- {
137
- "checkLoops": "allExceptWhileTrue"
138
- }
139
- ],
140
- "no-control-regex": "off",
141
- "no-debugger": "error",
142
- "no-delete-var": "error",
143
- "no-dupe-else-if": "error",
144
- "no-dupe-keys": "error",
145
- "no-duplicate-case": "error",
146
- "no-else-return": [
147
- "error",
148
- {
149
- "allowElseIf": true
150
- }
151
- ],
152
- "no-empty": [
153
- "error",
154
- {
155
- "allowEmptyCatch": false
156
- }
157
- ],
158
- "no-empty-character-class": "error",
159
- "no-empty-pattern": [
160
- "error",
161
- {
162
- "allowObjectPatternsAsParameters": false
163
- }
164
- ],
165
- "no-empty-static-block": "error",
166
- "no-ex-assign": "error",
167
- "no-extra-boolean-cast": [
168
- "error",
169
- {}
170
- ],
171
- "no-fallthrough": [
172
- "error",
173
- {
174
- "allowEmptyCase": false,
175
- "reportUnusedFallthroughComment": false
176
- }
177
- ],
178
- "no-global-assign": [
179
- "error",
180
- {
181
- "exceptions": []
182
- }
183
- ],
184
- "no-implicit-coercion": [
185
- "error",
186
- {
187
- "allow": [],
188
- "boolean": true,
189
- "disallowTemplateShorthand": false,
190
- "number": true,
191
- "string": true
192
- }
193
- ],
194
- "no-invalid-regexp": [
195
- "error",
196
- {}
197
- ],
198
- "no-irregular-whitespace": [
199
- "error",
200
- {
201
- "skipComments": false,
202
- "skipJSXText": false,
203
- "skipRegExps": false,
204
- "skipStrings": true,
205
- "skipTemplates": false
206
- }
207
- ],
208
- "no-lonely-if": "error",
209
- "no-loss-of-precision": "error",
210
- "no-misleading-character-class": "error",
211
- "no-nonoctal-decimal-escape": "error",
212
- "no-prototype-builtins": "error",
213
- "no-regex-spaces": "error",
214
- "no-restricted-imports": [
215
- "error",
216
- {
217
- "paths": [
218
- {
219
- "name": "@front/theme",
220
- "importNames": [
221
- "hubloTheme",
222
- "legacyHubloTheme",
223
- "customCommonColors",
224
- "customPalette",
225
- "breakpointsOptions",
226
- "breakpointsValues",
227
- "spacingConstants"
228
- ],
229
- "message": "Use the MUI theme context or the public providers exposed by @front/theme."
230
- }
231
- ],
232
- "patterns": [
233
- {
234
- "group": [
235
- "@front/theme/*",
236
- "!@front/theme/testing"
237
- ],
238
- "message": "Deep imports from @front/theme are forbidden outside the theme lib."
239
- }
240
- ]
241
- }
242
- ],
243
- "no-self-assign": [
244
- "error",
245
- {
246
- "props": true
247
- }
248
- ],
249
- "no-shadow-restricted-names": [
250
- "error",
251
- {
252
- "reportGlobalThis": false
253
- }
254
- ],
255
- "no-sparse-arrays": "error",
256
- "no-unneeded-ternary": [
257
- "error",
258
- {
259
- "defaultAssignment": true
260
- }
261
- ],
262
- "no-unsafe-finally": "error",
263
- "no-unsafe-optional-chaining": [
264
- "warn",
265
- {
266
- "disallowArithmeticOperators": false
267
- }
268
- ],
269
- "no-unused-labels": "error",
270
- "no-unused-private-class-members": "error",
271
- "no-useless-backreference": "error",
272
- "no-useless-catch": "error",
273
- "no-useless-escape": [
274
- "error",
275
- {
276
- "allowRegexCharacters": []
277
- }
278
- ],
279
- "no-useless-return": "error",
280
- "nx/enforce-module-boundaries": [
281
- "error",
282
- {
283
- "enforceBuildableLibDependency": true,
284
- "allow": [],
285
- "depConstraints": [
286
- {
287
- "sourceTag": "*",
288
- "onlyDependOnLibsWithTags": [
289
- "*"
290
- ]
291
- }
292
- ]
293
- }
294
- ],
295
- "prefer-arrow-callback": [
296
- "error",
297
- {
298
- "allowNamedFunctions": false,
299
- "allowUnboundThis": true
300
- }
301
- ],
302
- "require-yield": "error",
303
- "typescript/await-thenable": "error",
304
- "typescript/no-confusing-non-null-assertion": "error",
305
- "typescript/no-empty-function": [
306
- "warn",
307
- {
308
- "allow": []
309
- }
310
- ],
311
- "typescript/no-explicit-any": "error",
312
- "typescript/no-floating-promises": [
313
- "error",
314
- {
315
- "ignoreVoid": true
316
- }
317
- ],
318
- "typescript/no-import-type-side-effects": "error",
319
- "typescript/no-inferrable-types": "error",
320
- "typescript/no-non-null-assertion": "error",
321
- "typescript/no-unused-vars": [
322
- "warn",
323
- {
324
- "argsIgnorePattern": "^_",
325
- "caughtErrors": "none"
326
- }
327
- ],
328
- "typescript/return-await": [
329
- "warn",
330
- "in-try-catch"
331
- ],
332
- "typescript/switch-exhaustiveness-check": [
333
- "error",
334
- {
335
- "considerDefaultExhaustiveForUnions": true
336
- }
337
- ],
338
- "use-isnan": [
339
- "error",
340
- {
341
- "enforceForIndexOf": false,
342
- "enforceForSwitchCase": true
343
- }
344
- ],
345
- "valid-typeof": [
346
- "error",
347
- {
348
- "requireStringLiterals": false
349
- }
350
- ]
351
- },
352
- "jsPlugins": [
353
- {
354
- "name": "nx",
355
- "specifier": "@nx/eslint-plugin"
356
- }
2
+ "extends": [
3
+ "../lint/nest.json"
357
4
  ]
358
5
  }
package/oxlint/node.json CHANGED
@@ -1,52 +1,5 @@
1
1
  {
2
- "$schema": "./node_modules/oxlint/configuration_schema.json",
3
- "plugins": [
4
- "typescript",
5
- "oxc"
6
- ],
7
- "categories": {
8
- "correctness": "off",
9
- "suspicious": "off",
10
- "pedantic": "off",
11
- "perf": "off",
12
- "style": "off",
13
- "restriction": "off",
14
- "nursery": "off"
15
- },
16
- "rules": {
17
- "no-var": "error",
18
- "prefer-const": [
19
- "error",
20
- {
21
- "destructuring": "any",
22
- "ignoreReadBeforeAssign": false
23
- }
24
- ],
25
- "prefer-rest-params": "error",
26
- "prefer-spread": "error",
27
- "typescript/ban-ts-comment": "error",
28
- "typescript/no-array-constructor": "error",
29
- "typescript/no-duplicate-enum-values": "error",
30
- "typescript/no-empty-object-type": "error",
31
- "typescript/no-extra-non-null-assertion": "error",
32
- "typescript/no-misused-new": "error",
33
- "typescript/no-namespace": "error",
34
- "typescript/no-non-null-asserted-optional-chain": "error",
35
- "typescript/no-this-alias": "error",
36
- "typescript/no-unnecessary-type-constraint": "error",
37
- "typescript/no-unsafe-declaration-merging": "error",
38
- "typescript/no-unsafe-function-type": "error",
39
- "typescript/no-unused-expressions": [
40
- "warn",
41
- {
42
- "allowShortCircuit": false,
43
- "allowTaggedTemplates": false,
44
- "allowTernary": false
45
- }
46
- ],
47
- "typescript/no-wrapper-object-types": "error",
48
- "typescript/prefer-as-const": "error",
49
- "typescript/prefer-namespace-keyword": "error",
50
- "typescript/triple-slash-reference": "error"
51
- }
2
+ "extends": [
3
+ "../lint/node.json"
4
+ ]
52
5
  }