Skip to content

Commit

Permalink
Make dublicate_key lint severity Error #(#262) (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiburt authored Oct 3, 2021
1 parent a189bf3 commit 500e0cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- `bad_string_escape` now correctly handles escapes of the shape `\1a` (one or two numbers followed by a hex digit). (#292)[https://github.com/Kampfkarren/selene/issues/292]

### Changed
- `duplicate_keys` now has a error severity. [(#262)](https://github.com/Kampfkarren/selene/issues/262)
- Arguments of `collectgarbage` now considered to be optional. [(#287)](https://github.com/Kampfkarren/selene/issues/287)

## [0.14.0] - 2021-07-07
Expand Down
2 changes: 1 addition & 1 deletion selene-lib/src/rules/duplicate_keys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl Rule for DuplicateKeysLint {
}

fn severity(&self) -> Severity {
Severity::Warning
Severity::Error
}

fn rule_type(&self) -> RuleType {
Expand Down

0 comments on commit 500e0cf

Please sign in to comment.