Initial checklist
Problem
Project root folders being stuck with a bunch of . configs files for various tools, remark or rehype being just one of many.
As a result, it is harder to find actual source files in the project.
Solution
.config/ is a convention supported by cosmiconfig, and by extension a number command line tools (stylelint, prettier, eslint-mdx, and others).
Which allows top level configuration files to be moved out of the root folder and into .config/ folder, clarifying the intent of the files, and separating source code from configuration files/code.
Alternatives
Leave configuration system as it is today, adding notes/recommendations pointing towards either:
Initial checklist
Problem
Project root folders being stuck with a bunch of
.configs files for various tools,remarkorrehypebeing just one of many.As a result, it is harder to find actual source files in the project.
Solution
.config/is a convention supported by cosmiconfig, and by extension a number command line tools (stylelint,prettier,eslint-mdx, and others).Which allows top level configuration files to be moved out of the root folder and into
.config/folder, clarifying the intent of the files, and separating source code from configuration files/code.Alternatives
Leave configuration system as it is today, adding notes/recommendations pointing towards either:
remarkConfigproperty as a way to combine files--rc-patha layer of abstraction up in https://github.com/unifiedjs/unified-args#cli to point to the.configfolder on their own.