I've got all my .editorconfig
, .eslintrc
, .babelrc
, etc files in an npm package. These configurations need to be shared between different projects, and it's easy enough to point at the npm package when executing code.
On the other hand, my text editor has no clue these exist as they're not in the root of my project. I know this is able to be solved easily with a monorepo, but right now I'd like to avoid that direction.
Is there a simpler way to share these configs from the npm package with my outer repo?
The only solution I can think of is symlinking them and adding a script that executes when the package is installed. It will be OS-dependent and still may not work with my text editor.