I have a eslint.config.js file like this:
import js from "@eslint/js";
export default [
js.configs.recommended,
{
files: ["**/*.{js,jsx}"],
ignores: ["**/node_modules/*", ".git/*", "wwwroot/build/*"],
rules: {...}
}
];
The ignores
attribute unfortunately only refers to my own rules, not to the js.configs.recommended
ones. Is there a way to do this without adding an ignorefile?