From 0907ed280b87d1fd60d30bb6e8f1a6328b2c22ef Mon Sep 17 00:00:00 2001 From: Rishit Pandey Date: Fri, 10 Dec 2021 13:27:14 +0530 Subject: [PATCH] Fix crlf line break (#455) * change line-break rule according to OS * strict comparison --- frontend/.eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/.eslintrc.js b/frontend/.eslintrc.js index f0bf8289f6b3..0d1557ef7cf8 100644 --- a/frontend/.eslintrc.js +++ b/frontend/.eslintrc.js @@ -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',