2019-06-25 15:26:36 +02:00
|
|
|
module.exports = {
|
|
|
|
extends: [
|
|
|
|
// add more generic rulesets here, such as:
|
2019-06-25 18:47:58 +02:00
|
|
|
'eslint:recommended',
|
2019-06-26 10:54:38 +02:00
|
|
|
'plugin:vue/recommended',
|
2019-06-25 15:26:36 +02:00
|
|
|
],
|
|
|
|
rules: {
|
|
|
|
// override/add rules settings here, such as:
|
2020-07-18 12:39:59 +02:00
|
|
|
'no-console': 0,
|
2019-06-25 18:47:58 +02:00
|
|
|
'no-unused-vars': 'error',
|
2019-06-25 16:44:27 +02:00
|
|
|
'vue/require-prop-types': 0,
|
2019-06-26 10:54:38 +02:00
|
|
|
'vue/max-attributes-per-line': 4,
|
|
|
|
'vue/attributes-order': 0,
|
|
|
|
'semi': [
|
|
|
|
'error',
|
|
|
|
'never'
|
|
|
|
],
|
|
|
|
'linebreak-style': [
|
|
|
|
'error',
|
|
|
|
'unix'
|
|
|
|
],
|
|
|
|
'quotes': [
|
|
|
|
'error',
|
|
|
|
'single'
|
|
|
|
],
|
|
|
|
'no-trailing-spaces': 1,
|
2019-06-25 15:26:36 +02:00
|
|
|
}
|
|
|
|
}
|