Skip to content
This repository was archived by the owner on Jan 9, 2022. It is now read-only.

Commit f424097

Browse files
committed
build: update eslint
1 parent b58e7cc commit f424097

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.eslintrc.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ module.exports = {
2222
],
2323

2424
rules: {
25+
'object-curly-spacing': ['error', 'always'],
26+
'space-before-blocks': 'error',
27+
'arrow-spacing': ['error', { 'before': true, 'after': true }],
28+
'arrow-body-style': ['error', 'as-needed'],
29+
'quotes': ['error', 'single'],
30+
'key-spacing': ['error'],
31+
2532
'vue/html-self-closing': 'warn',
2633
'vue/padding-line-between-blocks': 'error',
2734

@@ -37,7 +44,7 @@ module.exports = {
3744
},
3845
],
3946

40-
semi: ['warn', 'never'],
47+
'semi': ['warn', 'never'],
4148
'linebreak-style': ['off'],
4249
'import/no-unresolved': ['off'],
4350
'import/prefer-default-export': ['off'],
@@ -72,7 +79,7 @@ module.exports = {
7279
ignoreComments: false,
7380
}],
7481

75-
"import/newline-after-import": ["error", { "count": 1 }],
82+
'import/newline-after-import': ['error', { 'count': 1 }],
7683

7784
'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 0 }],
7885
},

0 commit comments

Comments
 (0)