-
-
Notifications
You must be signed in to change notification settings - Fork 207
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(eslint-plugin): [no-output-on-prefix] correct false positives #525
fix(eslint-plugin): [no-output-on-prefix] correct false positives #525
Conversation
d61322e
to
c568b24
Compare
Nx Cloud ReportCI ran the following commands for commit 00bcb43. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch Sent with 💌 from NxCloud. |
5f9a3a4
to
a3f1578
Compare
Idk why the snapshot test is failing as I didn't touch the error message. |
@rafaelss95 I made some major changes to integration tests to allow them to be run in parallel. Those changes combined with Nx Cloud Distributed CI has cut the total time for CI in half which is pretty amazing. In light of these changes, it might be worth seeing if you can finally now run the integration tests on your local machine: You can try the following to run them all serially (will take some time but hopefully it will work for you): yarn integration-tests You can just add yarn update-integration-tests |
Hmm yeah interesting... Can you think of any reason why this wasn't done in Codelyzer this whole time? I wonder if it was intentional but I'm not sure why that would be the case |
ae63234
to
00bcb43
Compare
Codecov Report
@@ Coverage Diff @@
## master #525 +/- ##
=======================================
Coverage 85.41% 85.41%
=======================================
Files 88 88
Lines 2358 2358
Branches 409 409
=======================================
Hits 2014 2014
Misses 199 199
Partials 145 145
|
Impressive! That's really faster and I also noticed that my node version was 15, which is greather than the maximum suported 14. Everything should be fine now, thanks!
Danm, I didn't noticed that the location was different 😞
I imagine that's the case of just something that was never requested because it's less used than traditional decorators, but 🤷♂️ |
Cool, fair enough, the yeah I think we should address the I strongly recommend you install https://volta.sh - it's absolutely flawless and node, npm and yarn version management. All you need to do is CD into a project and it will magically switch your versions of those binaries to the right ones for that project. You can see the pinned versions we have in package.json (that's what it uses as its source of truth for a project, otherwise it defaults to LTS). We also use volta in CI so that it never gets out of sync with local development |
This PR basically fixes the same problems related in #523, but for
no-output-on-prefix
.@JamesHenry while doing this I just noticed that we aren't checking the
outputs
metadata property. Example:Should we support it here and in other
*-output-*
rules? If so, I can work on this on another PRs.