fix: Solve the problem that eslint always reports line break errors on Windows
This commit is contained in:
parent
fad3f67678
commit
44d42d64ef
@ -16,6 +16,7 @@ module.exports = {
|
|||||||
'react/prop-types': 'off',
|
'react/prop-types': 'off',
|
||||||
'simple-import-sort/imports': 'error',
|
'simple-import-sort/imports': 'error',
|
||||||
'simple-import-sort/exports': 'error',
|
'simple-import-sort/exports': 'error',
|
||||||
'react/no-is-mounted': 'off'
|
'react/no-is-mounted': 'off',
|
||||||
|
'prettier/prettier': ['error', { endOfLine: 'auto' }]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user