Exclude test/e2e from default linter

This commit is contained in:
Sander Declerck 2025-08-05 13:51:39 +02:00
parent 956acc4775
commit 35f43f6787
No known key found for this signature in database
2 changed files with 3 additions and 2 deletions

View file

@ -1,5 +1,5 @@
import js from "@eslint/js";
import { defineConfig } from "@eslint/config-helpers";
import { defineConfig, globalIgnores } from "@eslint/config-helpers";
import globals from "globals";
import importPlugin from "eslint-plugin-import";
@ -22,4 +22,5 @@ export default defineConfig([
},
rules: {},
},
globalIgnores(['test/e2e']),
]);

View file

@ -4,7 +4,7 @@
"scripts": {
"test": "node --test --experimental-test-module-mocks 'src/**/*.spec.js'",
"test:watch": "node --test --watch --experimental-test-module-mocks 'src/**/*.spec.js'",
"lint": "eslint src"
"lint": "eslint ."
},
"repository": {
"type": "git",