docs: finalise PROJECT_STATUS + TODO; lint public browser script
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -33,4 +33,11 @@ export default [
|
||||
files: ['*.config.{js,mjs,ts}'],
|
||||
languageOptions: { globals: { process: 'readonly', URL: 'readonly' } },
|
||||
},
|
||||
{
|
||||
// Static browser scripts served as-is from public/.
|
||||
files: ['public/**/*.js'],
|
||||
languageOptions: {
|
||||
globals: { window: 'readonly', document: 'readonly', localStorage: 'readonly' },
|
||||
},
|
||||
},
|
||||
];
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
t = window.matchMedia('(prefers-color-scheme: light)').matches ? 'light' : 'dark';
|
||||
}
|
||||
document.documentElement.dataset.theme = t;
|
||||
} catch (e) {
|
||||
} catch {
|
||||
document.documentElement.dataset.theme = 'dark';
|
||||
}
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user