-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
feat(eslint-plugin): [use-injectable-provided-in] add suggestion #594
feat(eslint-plugin): [use-injectable-provided-in] add suggestion #594
Conversation
{ | ||
type: 'object', | ||
properties: { | ||
ignoreClassNamePattern: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not really sure about this name.
Nx Cloud ReportCI ran the following commands for commit d8ba868. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this branch Sent with 💌 from NxCloud. |
4b7380f
to
27891f9
Compare
Codecov Report
@@ Coverage Diff @@
## master #594 +/- ##
==========================================
- Coverage 86.05% 86.03% -0.02%
==========================================
Files 89 89
Lines 2402 2421 +19
Branches 416 421 +5
==========================================
+ Hits 2067 2083 +16
- Misses 200 201 +1
- Partials 135 137 +2
|
27891f9
to
6bbc8a1
Compare
7afac2c
to
6f14473
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry about the conflicts from when the doc generation work went in
…implements `HttpInterceptor`
…e classes given a pattern
6f14473
to
d421e22
Compare
Thanks @rafaelss95! |
@rafaelss95 Hiii, my I ask a question. why the null value is wrong? Isn't it a default value? Like official comment says |
1st. commit: adds suggestions that covers the most common values and also fixes some false negatives like when we use
null
as value or when we use a computed argument to@Injectable
decorator and false positives when we use'providedIn'
as aLiteral
;2nd. commit: ignore classes that implements
HttpInterceptor
(see #236);3rd. commit: add option to ignore classes given a pattern (see #236).
Closes #236.