wulkanowy.github.io/.eslintrc.js

32 lines
534 B
JavaScript
Raw Normal View History

2019-02-23 08:51:52 +01:00
module.exports = {
root: true,
env: {
node: true,
},
extends: [
'plugin:vue/essential',
'@vue/airbnb',
],
2020-04-18 18:21:09 +02:00
settings: {
'import/resolver': {
node: {},
},
},
2019-02-23 08:51:52 +01:00
rules: {
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
2019-03-23 14:49:11 +01:00
'vue/script-indent': ['error', 2, { baseIndent: 1 }],
'max-len': 'off',
2019-02-23 08:51:52 +01:00
},
parserOptions: {
2021-11-01 16:48:45 +01:00
parser: '@babel/eslint-parser',
2019-02-23 08:51:52 +01:00
},
2019-03-23 14:49:11 +01:00
overrides: [
{
files: ['*.vue'],
rules: {
indent: 'off',
},
},
],
2019-02-23 08:51:52 +01:00
};