mirror of
https://github.com/owntone/owntone-server.git
synced 2025-07-16 12:21:59 -04:00
26 lines
712 B
JavaScript
26 lines
712 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', 'src/**/*.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-bitwise': 'off',
|
|
'no-magic-numbers': 'off',
|
|
'one-var': 'off',
|
|
'sort-keys': 'off',
|
|
'vue/html-self-closing': 'off',
|
|
'vue/max-attributes-per-line': 'off'
|
|
}
|
|
}
|
|
]
|