mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-16 12:21:59 -04:00
23 lines
593 B
JavaScript
23 lines
593 B
JavaScript
import eslintConfigPrettier from 'eslint-config-prettier'
|
|
import globals from 'globals'
|
|
import js from '@eslint/js'
|
|
import pluginVue from 'eslint-plugin-vue'
|
|
|
|
export default [
|
|
...pluginVue.configs['flat/recommended'],
|
|
{
|
|
files: ['**/*.{js,vue}'],
|
|
languageOptions: { globals: { ...globals.browser, ...globals.node } },
|
|
rules: {
|
|
...eslintConfigPrettier.rules,
|
|
...js.configs.all.rules,
|
|
camelcase: 'off',
|
|
'id-length': 'off',
|
|
'max-lines-per-function': 'off',
|
|
'no-magic-numbers': 'off',
|
|
'one-var': 'off',
|
|
'sort-keys': 'off'
|
|
}
|
|
}
|
|
]
|