Hangar/frontend/.eslintrc.js

19 lines
526 B
JavaScript
Raw Normal View History

2021-01-21 11:36:18 +08:00
module.exports = {
root: true,
env: {
browser: true,
node: true,
},
extends: ['plugin:nuxt/recommended', 'plugin:prettier/recommended', '@nuxtjs/eslint-config-typescript', 'prettier'],
2021-01-21 11:36:18 +08:00
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
2021-01-31 10:00:11 +08:00
'vue/valid-v-slot': [
'error',
{
allowModifiers: true,
},
],
2021-01-21 11:36:18 +08:00
},
};