2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-13 10:22:26 +03:00

style: prettier

This commit is contained in:
mxie
2018-12-12 15:37:09 +08:00
parent 342a7a18c2
commit 454417e0b6
+13 -11
View File
@@ -17,17 +17,15 @@ module.exports = {
'standard'
],
// required to lint *.vue files
plugins: [
'vue'
],
plugins: ['vue'],
// add your custom rules here
rules: {
// allow async-await
'generator-star-spacing': 'off',
// allow debugger during development
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-console': ["error", { allow: ["warn", "error"] }],
'camelcase': ['off', { properties: 'never' }],
'no-console': ['error', { allow: ['warn', 'error'] }],
camelcase: ['off', { properties: 'never' }],
// "vue/max-attributes-per-line": [2, {
// "singleline": 1,
// "multiline": {
@@ -35,11 +33,15 @@ module.exports = {
// "allowFirstLine": true
// }
// }],
"vue/html-indent": ["error", 2, {
"attribute": 1,
"closeBracket": 0,
"alignAttributesVertically": false,
"ignores": []
}]
'vue/html-indent': [
'error',
2,
{
attribute: 1,
closeBracket: 0,
alignAttributesVertically: false,
ignores: []
}
]
}
}