// Inspired by https://stackoverflow.com/questions/60187885/how-to-configure-vue-cli-4-with-eslint-airbnb-rules-typescript-stylelint-f module.exports = { root: true, env: { browser: true }, extends: ['plugin:vue/recommended', '@vue/airbnb'], parserOptions: { parser: 'babel-eslint', ecmaVersion: 2020, }, rules: { 'class-methods-use-this': 0, 'max-len': [ 'error', { code: 100, ignoreComments: true, //ignoreUrls: true, //ignoreStrings: true, ignoreTemplateLiterals: true }, ], 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'import/no-extraneous-dependencies': ['error', { devDependencies: true }], }, };