Lint affected doesn't work after 14.2.4 => 14.3.* migration
See original GitHub issueCurrent Behavior
nx affected:lint --base=main
fails with '_' is not found in schema
error after 14.2.4 => 14.3.* migration.
Linting of individual libs working fine. With 14.2.4 version affected linting working fine too.
Expected Behavior
Lint works
Failure Logs
'_' is not found in schema
> NX Running target "lint" failed
Environment
Node : 16.14.2
OS : win32 x64
npm : 8.5.0
nx : 14.3.5
@nrwl/angular : 14.3.5
typescript : 4.7.3
---------------------------------------
Community plugins:
@storybook/angular: 6.5.9
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:19 (7 by maintainers)
Top Results From Across the Web
Version-specific upgrade instructions - GitLab Docs
GitLab 13.9 through GitLab 14.3 are affected by a bug in which enabling GitLab Maintenance Mode causes Geo secondary site statuses to appear...
Read more >@nrwl/next: Versions | Openbase
core: add migration and deprecation warning for @nrwl/workspace:run-commands (#12199) (90604d8); core: rework outputs tracking to create fewer subscriptions ...
Read more >@nrwl/linter - NPM Package Overview - Socket
The Linter plugin for Nx contains executors, generators and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.
Read more >Multi-Campus Building Envelop Repairs (Package 4)
portion of the Work affected by a material change. After the Owner furnishes the evidence, the Owner shall not materially vary such financial...
Read more >Tabbycat Documentation
However if a Docker installation doesn't work as outlined below, it's harder to address what isn't working. If you encounter any problems with...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @gxxcastillo, the error I believe originates from @Phillip9587’s
nx-stylelint
(if that is what yourstylelint
target uses as an executor). I have created a PR that should fix this: https://github.com/Phillip9587/nx-stylelint/pull/336 but you will have to wait until Philip checks it, approves it, and releases a new version.Hi @meeroslav, thanks for your work on this issue. I see issues https://github.com/nrwl/nx/pull/10847, https://github.com/nrwl/nx/pull/10848, https://github.com/nrwl/nx/commit/6a65101ec239f1b3eae28734e4109b56a3700599, and https://github.com/nrwl/nx/issues/10806. I’ve updated to NX 14.4.0, and while I’m no longer getting
'_' is not found in schema
, I am now gettingNX Schema does not support positional arguments. Argument <...list of files from my commit...>
. Is this related to the same problem? Anything I need to do?I’m using lintstaged with eslint, stylelint, and prettier - in that order. Eslint is passing (it wasn’t before upgrading to 14.4.0) but things now break with stylelint.
This is what my linstagedrc looks like (this has been working for the last 6months):