@@ -47,7 +47,6 @@ overrides:
4747 - files : ["web_src/**/*"]
4848 globals :
4949 __webpack_public_path__ : true
50- htmx : true
5150 process : false # https://github.com/webpack/webpack/issues/15833
5251 - files : ["web_src/**/*", "docs/**/*"]
5352 env :
@@ -58,7 +57,15 @@ overrides:
5857 worker : true
5958 rules :
6059 no-restricted-globals : [2, addEventListener, blur, close, closed, confirm, defaultStatus, defaultstatus, error, event, external, find, focus, frameElement, frames, history, innerHeight, innerWidth, isFinite, isNaN, length, locationbar, menubar, moveBy, moveTo, name, onblur, onerror, onfocus, onload, onresize, onunload, open, opener, opera, outerHeight, outerWidth, pageXOffset, pageYOffset, parent, print, removeEventListener, resizeBy, resizeTo, screen, screenLeft, screenTop, screenX, screenY, scroll, scrollbars, scrollBy, scrollTo, scrollX, scrollY, status, statusbar, stop, toolbar, top]
61- - files : ["*.config.*", "**/*.d.ts"]
60+ - files : ["*.config.*"]
61+ rules :
62+ i/no-unused-modules : [0]
63+ - files : ["**/*.d.ts"]
64+ rules :
65+ i/no-unused-modules : [0]
66+ " @typescript-eslint/consistent-type-definitions " : [0]
67+ " @typescript-eslint/consistent-type-imports " : [0]
68+ - files : ["web_src/js/types.ts"]
6269 rules :
6370 i/no-unused-modules : [0]
6471 - files : ["**/*.test.*", "web_src/js/test/setup.ts"]
@@ -217,7 +224,6 @@ rules:
217224 " @typescript-eslint/await-thenable " : [2]
218225 " @typescript-eslint/ban-ts-comment " : [2, {'ts-expect-error': false, 'ts-ignore': true, 'ts-nocheck': false, 'ts-check': false}]
219226 " @typescript-eslint/ban-tslint-comment " : [0]
220- " @typescript-eslint/ban-types " : [2, {extendDefaults: true, types: {Function: false}}]
221227 " @typescript-eslint/class-literal-property-style " : [0]
222228 " @typescript-eslint/class-methods-use-this " : [0]
223229 " @typescript-eslint/consistent-generic-constructors " : [0]
@@ -248,6 +254,7 @@ rules:
248254 " @typescript-eslint/no-dynamic-delete " : [0]
249255 " @typescript-eslint/no-empty-function " : [0]
250256 " @typescript-eslint/no-empty-interface " : [0]
257+ " @typescript-eslint/no-empty-object-type " : [2]
251258 " @typescript-eslint/no-explicit-any " : [0]
252259 " @typescript-eslint/no-extra-non-null-assertion " : [2]
253260 " @typescript-eslint/no-extraneous-class " : [0]
@@ -259,7 +266,7 @@ rules:
259266 " @typescript-eslint/no-invalid-this " : [0]
260267 " @typescript-eslint/no-invalid-void-type " : [0]
261268 " @typescript-eslint/no-loop-func " : [0]
262- " @typescript-eslint/no-loss-of-precision " : [2 ]
269+ " @typescript-eslint/no-loss-of-precision " : [0 ]
263270 " @typescript-eslint/no-magic-numbers " : [0]
264271 " @typescript-eslint/no-meaningless-void-operator " : [0]
265272 " @typescript-eslint/no-misused-new " : [2]
@@ -271,8 +278,9 @@ rules:
271278 " @typescript-eslint/no-non-null-assertion " : [0]
272279 " @typescript-eslint/no-redeclare " : [0]
273280 " @typescript-eslint/no-redundant-type-constituents " : [2]
274- " @typescript-eslint/no-require-imports " : [0 ]
281+ " @typescript-eslint/no-require-imports " : [2 ]
275282 " @typescript-eslint/no-restricted-imports " : [0]
283+ " @typescript-eslint/no-restricted-types " : [0]
276284 " @typescript-eslint/no-shadow " : [0]
277285 " @typescript-eslint/no-this-alias " : [0] # handled by unicorn/no-this-assignment
278286 " @typescript-eslint/no-unnecessary-boolean-literal-compare " : [0]
@@ -287,6 +295,7 @@ rules:
287295 " @typescript-eslint/no-unsafe-call " : [0]
288296 " @typescript-eslint/no-unsafe-declaration-merging " : [2]
289297 " @typescript-eslint/no-unsafe-enum-comparison " : [2]
298+ " @typescript-eslint/no-unsafe-function-type " : [2]
290299 " @typescript-eslint/no-unsafe-member-access " : [0]
291300 " @typescript-eslint/no-unsafe-return " : [0]
292301 " @typescript-eslint/no-unsafe-unary-minus " : [2]
@@ -295,7 +304,7 @@ rules:
295304 " @typescript-eslint/no-use-before-define " : [0]
296305 " @typescript-eslint/no-useless-constructor " : [0]
297306 " @typescript-eslint/no-useless-empty-export " : [0]
298- " @typescript-eslint/no-var-requires " : [2]
307+ " @typescript-eslint/no-wrapper-object-types " : [2]
299308 " @typescript-eslint/non-nullable-type-assertion-style " : [0]
300309 " @typescript-eslint/only-throw-error " : [2]
301310 " @typescript-eslint/parameter-properties " : [0]
@@ -327,7 +336,7 @@ rules:
327336 " @typescript-eslint/switch-exhaustiveness-check " : [0]
328337 " @typescript-eslint/triple-slash-reference " : [2]
329338 " @typescript-eslint/typedef " : [0]
330- " @typescript-eslint/unbound-method " : [2]
339+ " @typescript-eslint/unbound-method " : [0] # too many false-positives
331340 " @typescript-eslint/unified-signatures " : [2]
332341 accessor-pairs : [2]
333342 array-callback-return : [2, {checkForEach: true}]
@@ -505,7 +514,7 @@ rules:
505514 no-jquery/no-box-model : [2]
506515 no-jquery/no-browser : [2]
507516 no-jquery/no-camel-case : [2]
508- no-jquery/no-class-state : [0 ]
517+ no-jquery/no-class-state : [2 ]
509518 no-jquery/no-class : [0]
510519 no-jquery/no-clone : [2]
511520 no-jquery/no-closest : [0]
@@ -561,7 +570,7 @@ rules:
561570 no-jquery/no-param : [2]
562571 no-jquery/no-parent : [0]
563572 no-jquery/no-parents : [2]
564- no-jquery/no-parse-html-literal : [0 ]
573+ no-jquery/no-parse-html-literal : [2 ]
565574 no-jquery/no-parse-html : [2]
566575 no-jquery/no-parse-json : [2]
567576 no-jquery/no-parse-xml : [2]
@@ -592,7 +601,7 @@ rules:
592601 no-lone-blocks : [2]
593602 no-lonely-if : [0]
594603 no-loop-func : [0]
595- no-loss-of-precision : [0] # handled by @typescript-eslint/no-loss-of-precision
604+ no-loss-of-precision : [2]
596605 no-magic-numbers : [0]
597606 no-misleading-character-class : [2]
598607 no-multi-assign : [0]
@@ -836,6 +845,7 @@ rules:
836845 unicorn/no-invalid-fetch-options : [2]
837846 unicorn/no-invalid-remove-event-listener : [2]
838847 unicorn/no-keyword-prefix : [0]
848+ unicorn/no-length-as-slice-end : [2]
839849 unicorn/no-lonely-if : [2]
840850 unicorn/no-magic-array-flat-depth : [0]
841851 unicorn/no-negated-condition : [0]
0 commit comments