I work in a javascript project that has a .eslintrc
and a .eslintignore
that have configuration about eslint
and prettier
. When I try to edit the project with neovim or I run yarn test
, the configuration that eslint uses its the default one that comes with the package.
The tests will fail and the editor will show tons of warnings because it can read the eslint config from the repo. This does not happen if I use nvm
to handle my node.js config but I would like to use the nix-shell and my nix config.
I use NixOS and Nix Darwin, on both I have the same problem.
My config for NixOS: GitHub - marcelarie/nix at p14s
My config for Darwin: GitHub - marcelarie/nix at darwin