chore: fix eslint wasn't running in test dir (#11036)

This PR fixes 2 eslint config issues that prevented it from running in our test dir

- spec files were ignored by the root eslint config. This should have only ignored spec files within our packages, as they are ignored by the respective package tsconfigs
- defining the payload plugin crashed eslint in our test dir, as it was already defined in the root eslint config it was inheriting
This commit is contained in:
Alessio Gravili
2025-02-06 20:54:26 -07:00
committed by GitHub
parent 04dad9d7a6
commit 257cad71ce
2 changed files with 1 additions and 4 deletions

View File

@@ -17,9 +17,6 @@ export const testEslintConfig = [
tsconfigRootDir: import.meta.dirname,
},
},
plugins: {
payload: payloadPlugin,
},
rules: {
'payload/no-relative-monorepo-imports': 'error',
},