Skip to content

Commit c25d4a0

Browse files
authored
Update .eslintrc.js (#377)
解决了Windows环境下编译器报错的问题
1 parent 05f3046 commit c25d4a0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ module.exports = {
2323
'no-prototype-builtins': 'off',
2424
'class-methods-use-this': 'off',
2525
'template-curly-spacing': 'off',
26+
'linebreak-style': [0, 'error', 'windows'],
2627
'arrow-parens': ['error', 'as-needed'],
2728
'comma-dangle': ['error', 'only-multiline'],
2829
'no-param-reassign': ['error', { props: false }],

0 commit comments

Comments
 (0)