Skip to content

Commit

Permalink
Fix a typo with roblox_incorrect_roact_usage that was making it impos…
Browse files Browse the repository at this point in the history
…sible to filter
  • Loading branch information
Kampfkarren authored Dec 7, 2022
1 parent 87c7701 commit ca713e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased](https://github.com/Kampfkarren/selene/compare/0.23.0...HEAD)
### Fixed
- Fixed event warnings not being possible to filter out with `roblox_incorrect_roact_usage`.

## [0.23.0](https://github.com/Kampfkarren/selene/releases/tag/0.23.0) - 2022-12-06
### Added
Expand Down
2 changes: 1 addition & 1 deletion selene-lib/src/lints/roblox_incorrect_roact_usage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ impl Lint for IncorrectRoactUsageLint {

for invalid_event in visitor.invalid_events {
diagnostics.push(Diagnostic::new(
"incorrect_roact_usage",
"roblox_incorrect_roact_usage",
format!(
"`{}` is not a valid event for `{}`",
invalid_event.event_name, invalid_event.class_name
Expand Down

0 comments on commit ca713e6

Please sign in to comment.