Fix eslint configuration
authorJérôme Benoit <jerome.benoit@sap.com>
Fri, 7 Oct 2022 10:32:11 +0000 (12:32 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Fri, 7 Oct 2022 10:32:11 +0000 (12:32 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.eslintignore
.eslintrc.js

index 18058db253e75f395f9e6fe38e4684cfb124ecda..0786c8236503d2eabd9de78d3efd8bf376705819 100644 (file)
@@ -1,3 +1,4 @@
+examples/typescript/**/*.ts
 benchmarks/versus-external-pools/
 docs/
 outputs/
index b37ad59fb91769bb590ec5829dade6800872973b..fe04926fd46565df433f78e3c01a083283bdbc85 100644 (file)
@@ -77,9 +77,6 @@ module.exports = defineConfig({
         'jsdoc/match-description': [
           'warn',
           {
-            // mainDescription:
-            //   '/^[A-Z`].+?(\\.|:)(\\n\\n.*((\\n{1,2}- .+)|(_.+_)|`.+`|\\n\\n---))?$/us',
-            // matchDescription: '^[A-Z`].+(\\.|`.+`)$',
             contexts: ['any'],
             tags: {
               param: true,
@@ -131,13 +128,6 @@ module.exports = defineConfig({
         'node/no-missing-require': 'off',
         'jsdoc/require-jsdoc': 'off'
       }
-    },
-    {
-      files: ['examples/typescript/**/*.ts'],
-      rules: {
-        'import/no-unresolved': 'off',
-        'jsdoc/require-jsdoc': 'off'
-      }
     }
   ],
   settings: {