Fix crlf line break (#455)

* change line-break rule according to OS

* strict comparison
This commit is contained in:
Rishit Pandey 2021-12-10 13:27:14 +05:30 committed by GitHub
parent fc7a0a8354
commit 0907ed280b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,7 +42,7 @@ module.exports = {
'@typescript-eslint/explicit-function-return-type': 'error',
'@typescript-eslint/no-var-requires': 0,
'react/no-array-index-key': 2,
'linebreak-style': ['error', 'unix'],
'linebreak-style': ['error', process.platform === 'win32' ? 'windows' : 'unix'],
// simple sort error
'simple-import-sort/imports': 'error',