Hangar/frontend/.eslintrc.js

19 lines
542 B
JavaScript
Raw Normal View History

2021-01-21 11:36:18 +08:00
module.exports = {
root: true,
env: {
browser: true,
node: true,
},
2021-02-10 07:56:02 +08:00
extends: ['plugin:nuxt/recommended', 'plugin:prettier/recommended', '@nuxtjs/eslint-config-typescript', 'prettier', 'prettier/vue'],
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
},
};