mirror of
https://github.com/HangarMC/Hangar.git
synced 2025-01-06 13:56:14 +08:00
9d6c494f51
Signed-off-by: MiniDigger <admin@benndorf.dev>
20 lines
575 B
JavaScript
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
|
|
},
|
|
};
|