mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-20 05:58:56 -04:00
[web] Remove lint rule
This commit is contained in:
parent
99ef7b8dfc
commit
5018cc4544
@ -4,12 +4,10 @@ import js from '@eslint/js'
|
||||
import pluginVue from 'eslint-plugin-vue'
|
||||
|
||||
export default [
|
||||
{
|
||||
files: ['**/*.js', 'src/**/*.vue'],
|
||||
languageOptions: { globals: { ...globals.browser, ...globals.node } }
|
||||
},
|
||||
...pluginVue.configs['flat/recommended'],
|
||||
{
|
||||
files: ['**/*.js', 'src/**/*.vue'],
|
||||
languageOptions: { globals: { ...globals.browser, ...globals.node } },
|
||||
rules: {
|
||||
...eslintConfigPrettier.rules,
|
||||
...js.configs.all.rules,
|
||||
@ -18,7 +16,6 @@ export default [
|
||||
'max-lines-per-function': 'off',
|
||||
'no-bitwise': 'off',
|
||||
'no-magic-numbers': 'off',
|
||||
'no-unused-vars': ['error', { args: 'none', caughtErrors: 'none' }],
|
||||
'one-var': 'off',
|
||||
'sort-keys': 'off',
|
||||
'vue/html-self-closing': 'off',
|
||||
|
@ -114,7 +114,7 @@ export default {
|
||||
this.uiStore.hideSingles = this.configurationStore.hide_singles
|
||||
document.title = this.configurationStore.library_name
|
||||
this.openWebsocket()
|
||||
} catch (e) {
|
||||
} catch {
|
||||
this.notificationsStore.add({
|
||||
text: this.$t('server.connection-failed'),
|
||||
topic: 'connection',
|
||||
|
@ -21,7 +21,7 @@ export default {
|
||||
stop() {
|
||||
try {
|
||||
this.audio?.pause()
|
||||
} catch (error) {
|
||||
} catch {
|
||||
// Do nothing
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user