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:
Tom Ratcliffe
2025-03-17 14:54:12 +02:00
committed by GitHub
parent 74705bd5b3
commit f1470de478
6 changed files with 2 additions and 0 deletions
+2
View File
@@ -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',
},
},
{
View File