xojs / xo

❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults
MIT License
7.64k stars 291 forks source link

XO not linting files starts with dot #673

Open fisker opened 2 years ago

yvvki commented 7 months ago

~Just mentioning my workaround using negative ignores:~

{
    "xo": {
        "ignores": [
            "!.*"
        ]
    }
}

~Or just the javascript files: "!.*.{cjs, js}"~

EDIT: Do not do this as it will ignore other files.