Can we define exceptions…

less than 1 minute read

Can we define exceptions for nx-lint to suppress: The following file(s) do not belong to any projects:


full details on < Stackoverflow>

I don’t think there’s any way to do that. Nx does ignore files with names that start with . outside of a lib or app folder.

Nx strongly encourages you to put every file in a lib or app so that it can use affected and caching correctly. Files that are not directly application code can be placed in the tools folder.

I just read your stackoverflow question. I think your best bet is to rename the file to

Turns out there is a solution :slightly_smiling_face:

Added it to StackOverflow for some sweet fake internet points :wink: but there is support for a file called .nxignore

Probably good to have this documented somewhere, I remember it took me a while to find it

Good catch. I knew this at one point and forgot

You win all my internet points

Haha thanks , I take that as an honor :smiley: