UI review, stage 4: accessibility, product name, favicon, ESLint
Login: label for/id, autocomplete, inputmode for the 2FA code; clickable table rows, headers and client links work from the keyboard. One product name (OpenVPN Controller), own favicon (logo.svg) instead of vite.svg, footer text fixed. Minimal ESLint config (npm run lint, clean). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
897c82ab88
commit
32d6b0e525
12 files changed
+1133
-20
No files matched your search
@@ -0,0 +1,26 @@
|
||||
import js from '@eslint/js';
|
||||
import pluginVue from 'eslint-plugin-vue';
|
||||
import globals from 'globals';
|
||||
|
||||
// Minimal rules: recommended JS + essential Vue (real errors only, no style rules)
|
||||
export default [
|
||||
{ ignores: ['dist/**', 'node_modules/**'] },
|
||||
js.configs.recommended,
|
||||
...pluginVue.configs['flat/essential'],
|
||||
{
|
||||
files: ['**/*.{js,vue}'],
|
||||
languageOptions: {
|
||||
globals: { ...globals.browser }
|
||||
},
|
||||
rules: {
|
||||
'vue/multi-word-component-names': 'off', // views are named after their route
|
||||
'no-unused-vars': ['warn', { args: 'none', caughtErrors: 'none' }]
|
||||
}
|
||||
},
|
||||
{
|
||||
files: ['**/*.test.js', 'eslint.config.js', 'vite.config.js'],
|
||||
languageOptions: {
|
||||
globals: { ...globals.node }
|
||||
}
|
||||
}
|
||||
];
|
||||
Reference in new issue
Block a user