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 12:54:12 +00:00 committed by GitHub
parent 74705bd5b3
commit f1470de478
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 2 additions and 0 deletions

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',
},
},
{