Hangar/frontend/.eslintrc.js
2021-02-09 15:56:02 -08:00

19 lines
542 B
JavaScript

module.exports = {
root: true,
env: {
browser: true,
node: true,
},
extends: ['plugin:nuxt/recommended', 'plugin:prettier/recommended', '@nuxtjs/eslint-config-typescript', 'prettier', 'prettier/vue'],
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,
},
],
},
};