Start here
The safe first move
Move straightforward ignore patterns into the flat config ignores list. Stop when a pattern is negated or otherwise ambiguous.
Stop before automation when: Negated ignore patterns. Non-string ignorePatterns entries.
Target shape
module.exports = [
{
ignores: ["**/dist", "**/coverage"],
},
];