-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Report an error if given
L1500
for elp lint
command
Summary: We changed the error code for `unused include` from `L1500` to `W0020`, because the `L` range belongs to diagnostics from the OTP compiler, and it is an ELP-native diagnostic. Report a useful error if `L1500` is passed as the diagnostic filter for `elp lint` Reviewed By: VLanvin Differential Revision: D55186509 fbshipit-source-id: 53a445d51830cbee224277cc1c6a27b086a0adf1
- Loading branch information
1 parent
961cf29
commit f119709
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
crates/elp/src/resources/test/diagnostics/parse_elp_l1500_deprecated.stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Code L1500 has been superseded by W0020 |