We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d92629 commit 8e2e20fCopy full SHA for 8e2e20f
src/cli/run.ts
@@ -109,7 +109,7 @@ module.exports = defineConfig({\n${coderwydConfig}\n})
109
const files = fs.readdirSync(cwd)
110
const legacyConfig: string[] = []
111
files.forEach(file => {
112
- if (file.includes('eslint') || file.includes('prettier'))
+ if (/eslint|prettier/.test(file) && !/eslint.config./.test(file))
113
legacyConfig.push(file)
114
})
115
if (legacyConfig.length > 0) {
0 commit comments