mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-17 20:52:46 -04:00
[web] Fix linting configuration
This commit is contained in:
parent
e476032776
commit
99ef7b8dfc
File diff suppressed because one or more lines are too long
@ -5,20 +5,19 @@ import pluginVue from 'eslint-plugin-vue'
|
||||
|
||||
export default [
|
||||
{
|
||||
files: ['src/**/*.js', 'src/**/.vue'],
|
||||
languageOptions: { globals: { ...globals.node } }
|
||||
files: ['**/*.js', 'src/**/*.vue'],
|
||||
languageOptions: { globals: { ...globals.browser, ...globals.node } }
|
||||
},
|
||||
eslintConfigPrettier,
|
||||
js.configs.all,
|
||||
...pluginVue.configs['flat/recommended'],
|
||||
{
|
||||
rules: {
|
||||
...eslintConfigPrettier.rules,
|
||||
...js.configs.all.rules,
|
||||
camelcase: 'off',
|
||||
'id-length': 'off',
|
||||
'max-lines-per-function': 'off',
|
||||
'no-bitwise': 'off',
|
||||
'no-magic-numbers': 'off',
|
||||
'no-undef': 'off',
|
||||
'no-unused-vars': ['error', { args: 'none', caughtErrors: 'none' }],
|
||||
'one-var': 'off',
|
||||
'sort-keys': 'off',
|
||||
|
Loading…
x
Reference in New Issue
Block a user