You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now it's impossible to lint some projects locally because lint will always fail if the project includes a node_modules directory, which the user can't and shouldn't edit.
Since a --ignore flag can't be added as it defeats the purpose of the tool, I believe some common directories and files should be ignored by default, such as the nodule_modules directory or the .DS_Store file on macOS.
The text was updated successfully, but these errors were encountered:
jamesponddotco
changed the title
lint should ignore "node_modules"
lint should ignore "node_modules" by default
Feb 1, 2025
I thought that .gitignore was supposed to be honored, and just found that it is not for node_modules/ and even the old **/node_modules. In my monorepo top-level node_modules is ignored, but on a deeper package I get error:
The following files have no copyright and licensing information:
* packages/components/node_modules/.bin/astro
Right now it's impossible to lint some projects locally because lint will always fail if the project includes a
node_modules
directory, which the user can't and shouldn't edit.Since a
--ignore
flag can't be added as it defeats the purpose of the tool, I believe some common directories and files should be ignored by default, such as thenodule_modules
directory or the.DS_Store
file on macOS.The text was updated successfully, but these errors were encountered: