frequi_origin/.eslintrc.js
2020-06-20 17:25:52 +02:00

30 lines
720 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',
],
parser: 'vue-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser',
sourceType: 'module',
ecmaVersion: 2020,
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'class-methods-use-this': 0,
},
};