From 44d42d64ef9d5f8ad8d9912bb84d76a4821b9fce Mon Sep 17 00:00:00 2001 From: ousugo Date: Fri, 14 Feb 2025 01:08:16 +0800 Subject: [PATCH] fix: Solve the problem that eslint always reports line break errors on Windows --- .eslintrc.cjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 79a247e6..6eaacdbc 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -16,6 +16,7 @@ module.exports = { 'react/prop-types': 'off', 'simple-import-sort/imports': 'error', 'simple-import-sort/exports': 'error', - 'react/no-is-mounted': 'off' + 'react/no-is-mounted': 'off', + 'prettier/prettier': ['error', { endOfLine: 'auto' }] } }