Chore: Add no-duplicate-case eslint rule and fix violations (#97537)

* Add `no-duplicate-case` rule

* Fix basic duplicated cases

* Fix duplicated translations case

* Fix alerting case
This commit is contained in:
Tom Ratcliffe
2024-12-11 17:33:31 +00:00
committed by GitHub
parent c5e8e71ee3
commit 084aad0b84
6 changed files with 2 additions and 10 deletions
+1
View File
@@ -85,6 +85,7 @@ module.exports = [
},
rules: {
'no-duplicate-case': 'error',
'@grafana/no-border-radius-literal': 'error',
'@grafana/no-unreduced-motion': 'error',
'react/prop-types': 'off',