Skip to content

Commit

Permalink
Public hoist eslint plugins (#85)
Browse files Browse the repository at this point in the history
Eslint in Visual Studio Code doesn't work properly in monorepo pnpm
setup due to a problem reported in
pnpm/pnpm#5447.

As a workaround we public hoist the eslint plugins.
  • Loading branch information
kkosiorowska authored Dec 19, 2023
2 parents 236255c + 205cee3 commit d44e32f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
public-hoist-pattern[]=@chakra-ui/*
# This is a workaround for VSCode's Eslint extension not loading plugins correctly,
# see: https://github.com/pnpm/pnpm/issues/5447
public-hoist-pattern[]=*eslint-plugin*

0 comments on commit d44e32f

Please sign in to comment.