Skip to content

Commit

Permalink
fix(toolchain/eslint-config): more specific include for vitest files (#…
Browse files Browse the repository at this point in the history
…26)

Limit linting of vitest files to only *.test.ts files
in the src folder.
  • Loading branch information
mpellegrini authored Mar 18, 2024
1 parent 0323749 commit 170418e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion toolchain/eslint-config/configs/vitest.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import plugin from 'eslint-plugin-vitest'
*/
export default defineFlatConfig([
{
files: ['**/*.test.ts', '**/*.spec.ts'],
files: ['src/**/*.test.ts', 'src/**/*.spec.ts'],
plugins: {
vitest: plugin,
},
Expand Down

0 comments on commit 170418e

Please sign in to comment.