mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
This reverts commit 7a38a5ab1d
.
This commit is contained in:
parent
e4738cbaf9
commit
a221ebf7cc
1254
.betterer.results
1254
.betterer.results
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,4 @@
|
||||
import { BettererFileTest } from '@betterer/betterer';
|
||||
import { regexp } from '@betterer/regexp';
|
||||
import { promises as fs } from 'fs';
|
||||
import { ESLint, Linter } from 'eslint';
|
||||
import path from 'path';
|
||||
@ -19,11 +18,6 @@ export default {
|
||||
.include('**/*.{ts,tsx}')
|
||||
.exclude(new RegExp(eslintPathsToIgnore.join('|'))),
|
||||
'no undocumented stories': () => countUndocumentedStories().include('**/!(*.internal).story.tsx'),
|
||||
'no gf-form usage': () =>
|
||||
regexp(
|
||||
/gf-form/gm,
|
||||
'gf-form usage has been deprecated. Use a component from @grafana/ui or custom CSS instead.'
|
||||
).include('**/*.{ts,tsx,html}'),
|
||||
};
|
||||
|
||||
function countUndocumentedStories() {
|
||||
|
Loading…
Reference in New Issue
Block a user