diff --git a/eslint.config.ts b/eslint.config.ts index 81d93162..69044a00 100644 --- a/eslint.config.ts +++ b/eslint.config.ts @@ -29,7 +29,7 @@ const config: ConfigArray = typescript.config( 'error', { ignoreClassesThatImplementAnInterface: true }, ], - '@typescript-eslint/no-magic-numbers': ['error', { ignore: [-2, -1, 0, 0.5, 1, 2] }], + '@typescript-eslint/no-magic-numbers': ['error', { ignore: [-2, -1, 0, 0.5, 1, 2, 10, 100] }], '@typescript-eslint/no-unused-vars': [ 'error', { @@ -56,7 +56,9 @@ const config: ConfigArray = typescript.config( '@typescript-eslint/no-unsafe-assignment': 'off', '@typescript-eslint/no-unsafe-member-access': 'off', '@typescript-eslint/no-unsafe-argument': 'off', + '@typescript-eslint/prefer-destructuring': 'off', '@typescript-eslint/unbound-method': 'off', + complexity: 'off', 'max-nested-callbacks': 'off', 'promise/avoid-new': 'off', }, diff --git a/implementations/web-vanilla/public/index.html b/implementations/web-vanilla/public/index.html index f2dc7c93..d68c91ec 100644 --- a/implementations/web-vanilla/public/index.html +++ b/implementations/web-vanilla/public/index.html @@ -2,11 +2,12 @@