Closed skalidindi closed 1 year ago
Vite has a system to allow Env Variables. Is there a way for my .eslintrc.js file to access these variables after vite build goes through this plugin?
Basically, I want to turn off some rules for development such as allowing console.log and turn on the rule in production.
eslintPlugin({ overrideConfigFile: 'your custom eslintrc file' })
Should be what you want.
Vite has a system to allow Env Variables. Is there a way for my .eslintrc.js file to access these variables after vite build goes through this plugin?
Basically, I want to turn off some rules for development such as allowing console.log and turn on the rule in production.