mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Betterer: Track deprecated layout components usage (#85574)
This commit is contained in:
File diff suppressed because it is too large
Load Diff
12
.betterer.ts
12
.betterer.ts
@@ -86,6 +86,18 @@ function countEslintErrors() {
|
||||
'@emotion/syntax-preference': [2, 'object'],
|
||||
'@typescript-eslint/no-explicit-any': 'error',
|
||||
'@grafana/no-aria-label-selectors': 'error',
|
||||
'no-restricted-imports': [
|
||||
'error',
|
||||
{
|
||||
patterns: [
|
||||
{
|
||||
group: ['@grafana/ui*'],
|
||||
importNames: ['Layout', 'HorizontalGroup', 'VerticalGroup'],
|
||||
message: 'Use Stack component instead.',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
const nonTestFilesRules: Partial<Linter.RulesRecord> = {
|
||||
|
||||
Reference in New Issue
Block a user