mirror of https://github.com/grafana/grafana.git
Chore: Add eslint rule for empty files and tidy up (#102288)
* Add eslint rule for empty files * Remove empty files
This commit is contained in:
parent
74705bd5b3
commit
f1470de478
|
@ -73,6 +73,7 @@ module.exports = [
|
|||
'jsx-a11y': jsxA11yPlugin,
|
||||
'no-barrel-files': barrelPlugin,
|
||||
'@grafana': grafanaPlugin,
|
||||
unicorn: unicornPlugin,
|
||||
},
|
||||
|
||||
settings: {
|
||||
|
@ -129,6 +130,7 @@ module.exports = [
|
|||
// Use typescript's no-redeclare for compatibility with overrides
|
||||
'no-redeclare': 'off',
|
||||
'@typescript-eslint/no-redeclare': ['error'],
|
||||
'unicorn/no-empty-file': 'error',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue