You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the whole eslint.config.js at the project root, with unocss: true. Inside /apps/app (Vite + React app) there is a uno.config.ts file and the unocss plugin installed in the Vite config. The eslint-plugin is also installed at the root.
In the terminal ESLint errors because it can't find the uno.config.ts in the root.
Is it possible that way or do I need to have a separate eslint.config.js in /apps/app, so it can find it from the current folder correctly? If so, how would the eslint config look like?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey!
I have the whole
eslint.config.js
at the project root, withunocss: true
. Inside/apps/app
(Vite + React app) there is auno.config.ts
file and the unocss plugin installed in the Vite config. The eslint-plugin is also installed at the root.In the terminal ESLint errors because it can't find the
uno.config.ts
in the root.Is it possible that way or do I need to have a separate
eslint.config.js
in/apps/app
, so it can find it from the current folder correctly? If so, how would the eslint config look like?Beta Was this translation helpful? Give feedback.
All reactions