Skip to content

Commit f8841bb

Browse files
committed
fix(command): Merge watchPlugins for lint
We were overriding the base `typeahead` watch plugins from the base config in the lint config in order to set the `watch-fix` plugin. Now the `watch-fix` plugin is merged.
1 parent 58a5f27 commit f8841bb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/commands/test/project-lint.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@ module.exports = {
44
...BASE_CONFIG,
55
runner: 'jest-runner-eslint',
66
displayName: 'lint',
7-
watchPlugins: ['jest-runner-eslint/watch-fix'],
7+
watchPlugins: [
8+
...BASE_CONFIG.watchPlugins,
9+
'jest-runner-eslint/watch-fix'
10+
],
811
}

0 commit comments

Comments
 (0)