frequi_origin/.eslintrc.js
2020-06-05 11:06:02 +02:00

27 lines
609 B
JavaScript

module.exports = {
root: true,
env: {
node: true,
},
extends: [
'plugin:vue/essential',
// 'plugin:vue/recommended',
'@vue/airbnb',
'prettier',
'plugin:prettier-vue/recommended',
'prettier/vue',
'prettier/@typescript-eslint',
'plugin:@typescript-eslint/recommended',
'@vue/typescript',
'@vue/typescript/recommended',
],
parserOptions: {
ecmaVersion: 2020,
},
plugins: ['vue'],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
},
};