diff --git a/CHANGELOG.md b/CHANGELOG.md index 994629f2..3c08597c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/selene-lib/src/rules/duplicate_keys.rs b/selene-lib/src/rules/duplicate_keys.rs index fead2893..76154a08 100644 --- a/selene-lib/src/rules/duplicate_keys.rs +++ b/selene-lib/src/rules/duplicate_keys.rs @@ -45,7 +45,7 @@ impl Rule for DuplicateKeysLint { } fn severity(&self) -> Severity { - Severity::Warning + Severity::Error } fn rule_type(&self) -> RuleType {