build(ci): silence linter in examples
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 31 May 2024 14:38:47 +0000 (16:38 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 31 May 2024 14:38:47 +0000 (16:38 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
eslint.config.js

index 8a100a1a51fce7e7377972a62362ed32f6a6e5fc..4b1c621a05269051d3476712155a562a754a407a 100644 (file)
@@ -76,12 +76,14 @@ export default defineFlatConfig([
     ...tseslint.configs.disableTypeChecked,
   },
   // examples specific configuration
-  // {
-  //   files: ['examples/**/*.ts'],
-  //   rules: {
-  //     'no-undef': 'off',
-  //   },
-  // },
+  {
+    files: ['examples/**/*.ts'],
+    rules: {
+      '@typescript-eslint/no-unsafe-call': 'off',
+      '@typescript-eslint/no-unsafe-assignment': 'off',
+      '@typescript-eslint/no-unsafe-member-access': 'off',
+    },
+  },
   {
     files: ['examples/**/*.js', 'examples/**/*.cjs'],
     rules: {