.eslintrc.js
528 Bytes
module.exports = {
root: true,
env: {
browser: true,
es6: true,
node: true,
},
extends: [
'plugin:vue/essential',
'@vue/airbnb',
],
parserOptions: {
parser: 'babel-eslint',
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'linebreak-style': 0,
'max-len': ['error', { code: 200 }],
'import/no-extraneous-dependencies': ["error", {"devDependencies": true}],
},
};