Closed
Description
It still seems like there's no workaround for cosmiconfig file linting, or perhaps our usage is wrong.
For example, .xo-config.js
is not linted, nor is .remarkrc.js
and .pug-lintrc.js
.
We've tried adding extensions: ['']
and extensions: ['.xo-config.js']
even as a test to the XO config, but it still isn't linting those files. Not all config files support non-dotfile naming conventions, which makes this impossible to lint. We've also tried checking --print-config
output too, and nothing seems to fix it.
Curious if you have a workaround @sindresorhus? And if so, what is it so we can document it?
Metadata
Metadata
Assignees
Labels
No labels