As per the README, markdownlint-cli2 supports the following names for configuration files by default:
- .markdownlint-cli2.jsonc
- .markdownlint-cli2.yaml
- .markdownlint-cli2.cjs or .markdownlint-cli2.mjs
- .markdownlint.jsonc or .markdownlint.json
- .markdownlint.yaml or .markdownlint.yml
- .markdownlint.cjs or .markdownlint.mjs
However, over the past 10 years or so, there has been a movement in the ecosystem to have lint tools standardize on a naming convention of foo.config.js. The "big 4" are ESLint, Prettier, Jest, and CSpell.
Other popular tools like Knip also support "knip.config.ts" automatically.
Edit - After making this post, I found yet another example in this very repository. =p
Thus, in order to match the way that the ecosystem is going, I propose that markdownlint-cli2 also supports the following file names by default:
- markdownlint-cli2.config.jsonc
- markdownlint-cli2.config.yaml
- markdownlint-cli2.config.js
- markdownlint-cli2.config.cjs
- markdownlint-cli2.config.mjs
As per the README, markdownlint-cli2 supports the following names for configuration files by default:
However, over the past 10 years or so, there has been a movement in the ecosystem to have lint tools standardize on a naming convention of
foo.config.js. The "big 4" are ESLint, Prettier, Jest, and CSpell.Other popular tools like Knip also support "knip.config.ts" automatically.
Edit - After making this post, I found yet another example in this very repository. =p
Thus, in order to match the way that the ecosystem is going, I propose that markdownlint-cli2 also supports the following file names by default: