Hi all :wave: Can someone help me to disable eslin...
# developers
j
Hi all 👋 Can someone help me to disable eslint in next.config.js as suggested in https://github.com/calcom/cal.com/discussions/3821 ? I don't know where to add
Copy code
eslint: {
    // Warning: This allows production builds to successfully complete even if
    // your project has ESLint errors.
    ignoreDuringBuilds: true,
  },
ìn the file... 🤔
I can see
Copy code
eslint: {
    ignoreDuringBuilds: !!<http://process.env.CI|process.env.CI>,
  },
would it be okay to change this to a permanent
true
?
z
Why? What are you trying to achieve?
j
I'm trying to achieve a production build, but
yarn build
does not create one.. just as in https://github.com/calcom/cal.com/issues/4948
It seems that disabling eslint is a workaround
Or is switching to the latest tag a better idea?
It indeed is a workaround
z
Just so you know. Running yarn dev will clear the production build
You should build and then yarn start