Add dashboard version button and self-update UI wiring
This commit is contained in:
@@ -54,11 +54,25 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
{
|
||||
// Frontend assets use browser globals
|
||||
// Browser-side assets (client JS)
|
||||
files: ['assets/**/*.js', 'frontend/**/*.js'],
|
||||
env: {
|
||||
browser: true,
|
||||
es2021: true,
|
||||
node: false,
|
||||
},
|
||||
globals: {
|
||||
// Common dashboard globals from status/index.html context
|
||||
apiUrl: 'readonly',
|
||||
API_BASE_URL: 'readonly',
|
||||
CONFIG: 'readonly',
|
||||
// Client-side dashboard classes (loaded via script tags)
|
||||
ErrorHandler: 'readonly',
|
||||
ProgressTracker: 'readonly',
|
||||
ThemeAdapter: 'readonly',
|
||||
DnsTemplateSelector: 'readonly',
|
||||
TourManager: 'readonly',
|
||||
TooltipDefinitions: 'readonly',
|
||||
},
|
||||
rules: {
|
||||
'no-undef': 'warn',
|
||||
|
||||
Reference in New Issue
Block a user