Open riyastir opened 1 year ago
When i configure next.config.js with withPWA option the build returns eslint errors. with out withPWA the build is successful as well
next-pwa
next
Steps to reproduce the behavior:
next.config.js
`const withPWA = require('next-pwa')({ dest: 'public', disable: process.env.NODE_ENV === 'development', register: true, eslint: { ignoreDuringBuilds: true, }, })
module.exports = withPWA( { eslint: { ignoreDuringBuilds: true, } })`
IgnoreLintError and Successful build
Summary
When i configure next.config.js with withPWA option the build returns eslint errors. with out withPWA the build is successful as well
Versions
next-pwa
: ^5.6.0next
: 12.1.6How To Reproduce
Steps to reproduce the behavior:
next.config.js
`const withPWA = require('next-pwa')({ dest: 'public', disable: process.env.NODE_ENV === 'development', register: true, eslint: { ignoreDuringBuilds: true, }, })
module.exports = withPWA( { eslint: { ignoreDuringBuilds: true, } })`
Expected Behaviors
IgnoreLintError and Successful build