wulkanowy.github.io/.eslintrc.js
2020-10-05 21:20:10 +02:00

31 lines
526 B
JavaScript

module.exports = {
root: true,
env: {
node: true,
},
extends: [
'plugin:vue/essential',
'@vue/airbnb',
],
settings: {
'import/resolver': {
node: {},
},
},
rules: {
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'vue/script-indent': ['error', 2, { baseIndent: 1 }],
'max-len': 'off',
},
parserOptions: {
parser: 'babel-eslint',
},
overrides: [
{
files: ['*.vue'],
rules: {
indent: 'off',
},
},
],
};