refactor: use default options values in fastify example
[poolifier.git] / .eslintrc.js
index 02782ad45cfeb9766eddf2c8e50bfaabb22e6372..44b9c5d292ec749151288997c2f578797c78564a 100644 (file)
@@ -57,7 +57,9 @@ module.exports = defineConfig({
           'enum',
           'errored',
           'esm',
+          'fastify',
           'fibonacci',
+          'fp',
           'fs',
           'inheritDoc',
           'jsdoc',
@@ -71,6 +73,7 @@ module.exports = defineConfig({
           'poolifier',
           'poolify',
           'readonly',
+          'req',
           'resize',
           'sinon',
           'threadjs',
@@ -115,9 +118,16 @@ module.exports = defineConfig({
     {
       files: ['examples/typescript/**/*.ts'],
       rules: {
-        // '@typescript-eslint/no-unsafe-argument': 'off',
+        'import/no-unresolved': 'off',
+        '@typescript-eslint/no-unsafe-argument': 'off',
         '@typescript-eslint/no-unsafe-call': 'off',
-        '@typescript-eslint/no-unsafe-assignment': 'off'
+        '@typescript-eslint/no-unsafe-return': 'off',
+        '@typescript-eslint/no-unsafe-assignment': 'off',
+        '@typescript-eslint/no-unsafe-member-access': 'off',
+        '@typescript-eslint/no-unnecessary-type-assertion': 'off',
+        '@typescript-eslint/strict-boolean-expressions': 'off',
+        '@typescript-eslint/restrict-template-expressions': 'off',
+        '@typescript-eslint/return-await': 'off'
       }
     },
     {
@@ -157,7 +167,7 @@ module.exports = defineConfig({
       }
     },
     {
-      files: ['examples/**/*.js'],
+      files: ['examples/javascript/**/*.js'],
       rules: {
         'n/no-missing-require': 'off',
         'jsdoc/require-jsdoc': 'off'