- in
libs\ui
- create a file
.gitignore
- file contents:
ignore.this
- file contents:
- create a file
ignore.this
- content does not matter
- create a file
- now run
./node_modules/.bin/nx workspace-lint
, this will fail with:
> NX ERROR The following file(s) do not belong to any projects:
- libs/api-interfaces/ignore.this
- this is a bug, because files listed in the
.gitignore
file should be ignored
see nrwl/nx#3376