Hangar/frontend/.eslintrc.js
MiniDigger 10f70b781f move frontend
Signed-off-by: MiniDigger <admin@minidigger.me>
2021-01-21 17:24:35 +01:00

18 lines
605 B
JavaScript

module.exports = {
root: true,
env: {
browser: true,
node: true,
},
extends: ['@nuxtjs/eslint-config-typescript', 'prettier', 'prettier/vue', 'plugin:prettier/recommended', 'plugin:nuxt/recommended'],
plugins: ['prettier'],
// add your custom rules here
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-unused-vars': 'warn',
'@typescript-eslint/no-unused-vars': 'warn',
'vue/no-unused-components': 'warn',
},
};