build(simulator): refine linter configuration
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 19 Mar 2023 23:50:16 +0000 (00:50 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 19 Mar 2023 23:50:16 +0000 (00:50 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.eslintrc.js

index 2e396436b0d6d4c95af5a4764cb024fe2d1016ef..cf1544ffba2a53d46373303c68bce80bbe921db6 100644 (file)
@@ -40,6 +40,7 @@ module.exports = defineConfig({
           'cpu',
           'cpus',
           'ctx',
+          'deprecations',
           'ecma',
           'enum',
           'esm',
@@ -104,7 +105,7 @@ module.exports = defineConfig({
       }
     },
     {
-      files: ['**/*.js'],
+      files: ['**/*.js', '**/*.mjs'],
       plugins: ['jsdoc'],
       extends: ['plugin:n/recommended', 'plugin:jsdoc/recommended', 'standard']
     },