Skip to content

Commit 14259fb

Browse files
committed
fix: fix the style
1 parent bb91abd commit 14259fb

File tree

3 files changed

+5414
-2932
lines changed

3 files changed

+5414
-2932
lines changed

.eslintrc.js

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,31 @@ module.exports = {
1717
'standard'
1818
],
1919
// required to lint *.vue files
20-
plugins: [
21-
'vue'
22-
],
20+
plugins: ['vue'],
2321
// add your custom rules here
2422
rules: {
2523
// allow async-await
2624
'generator-star-spacing': 'off',
2725
// allow debugger during development
2826
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
29-
'no-console': ["error", { allow: ["warn", "error"] }],
30-
'camelcase': ['off', { properties: 'never' }],
27+
'no-console': ['error', { allow: ['warn', 'error'] }],
28+
camelcase: ['off', { properties: 'never' }],
3129
// "vue/max-attributes-per-line": [2, {
3230
// "singleline": 1,
3331
// "multiline": {
3432
// "max": 1,
3533
// "allowFirstLine": true
3634
// }
3735
// }],
38-
"vue/html-indent": ["error", 2, {
39-
"attribute": 1,
40-
"closeBracket": 0,
41-
"alignAttributesVertically": false,
42-
"ignores": []
43-
}]
36+
'vue/html-indent': [
37+
'error',
38+
2,
39+
{
40+
attribute: 1,
41+
closeBracket: 0,
42+
alignAttributesVertically: false,
43+
ignores: []
44+
}
45+
]
4446
}
4547
}

0 commit comments

Comments
 (0)