build: fix eslint configuration for tests
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 1 Oct 2023 16:42:55 +0000 (18:42 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 1 Oct 2023 16:42:55 +0000 (18:42 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.eslintrc.js

index 49838a24cbfd6ed9746ae52557b5772c58a188ed..a95cf1ae1ee0e2696294e2d3516acac166b298de 100644 (file)
@@ -150,7 +150,7 @@ module.exports = defineConfig({
       extends: ['plugin:n/recommended', 'plugin:jsdoc/recommended', 'standard']
     },
     {
-      files: ['tests/**/*.js'],
+      files: ['tests/**/*.js', 'tests/**/*.mjs'],
       rules: {
         'jsdoc/require-jsdoc': 'off'
       }