[web] Remove linting rules

This commit is contained in:
Alain Nussbaumer 2025-06-02 20:35:45 +02:00
parent 5018cc4544
commit a7d4501632
2 changed files with 4 additions and 8 deletions

View File

@ -6,7 +6,7 @@ import pluginVue from 'eslint-plugin-vue'
export default [ export default [
...pluginVue.configs['flat/recommended'], ...pluginVue.configs['flat/recommended'],
{ {
files: ['**/*.js', 'src/**/*.vue'], files: ['**/*.{js,vue}'],
languageOptions: { globals: { ...globals.browser, ...globals.node } }, languageOptions: { globals: { ...globals.browser, ...globals.node } },
rules: { rules: {
...eslintConfigPrettier.rules, ...eslintConfigPrettier.rules,
@ -17,9 +17,7 @@ export default [
'no-bitwise': 'off', 'no-bitwise': 'off',
'no-magic-numbers': 'off', 'no-magic-numbers': 'off',
'one-var': 'off', 'one-var': 'off',
'sort-keys': 'off', 'sort-keys': 'off'
'vue/html-self-closing': 'off',
'vue/max-attributes-per-line': 'off'
} }
} }
] ]

View File

@ -46,13 +46,11 @@
<control-setting-switch <control-setting-switch
category="webinterface" category="webinterface"
name="show_menu_item_files" name="show_menu_item_files"
> />
</control-setting-switch>
<control-setting-switch <control-setting-switch
category="webinterface" category="webinterface"
name="show_menu_item_search" name="show_menu_item_search"
> />
</control-setting-switch>
</template> </template>
</content-with-heading> </content-with-heading>
<content-with-heading> <content-with-heading>