Hangar/frontend/.eslintrc.js
MiniDigger 9d6c494f51 disable broken lint rule
Signed-off-by: MiniDigger <admin@benndorf.dev>
2021-12-17 18:02:11 +01:00

20 lines
575 B
JavaScript

module.exports = {
root: true,
env: {
browser: true,
node: true,
},
extends: ['plugin:nuxt/recommended', 'plugin:prettier/recommended', '@nuxtjs/eslint-config-typescript', 'prettier'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'vue/valid-v-slot': [
'error',
{
allowModifiers: true,
},
],
'import/named': 'off', // broken as fuck
},
};