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:

Responses:

full details on <https://stackoverflow.com/questions/61526225/how-to-define-exceptions-for-nx-lint 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 .README.md

Turns out there is a solution https://stackoverflow.com/a/61786301/477550 :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:

Updated: