Fix conflicts between eslint and prettier

This commit is contained in:
2023-09-06 18:20:56 +08:00
parent af2ca2888b
commit 4e3a9392f7

View File

@@ -24,11 +24,10 @@ module.exports = {
rules: { rules: {
'no-cond-assign': 'error', 'no-cond-assign': 'error',
'eqeqeq': 'error', 'eqeqeq': 'error',
'indent': ['error', 4, { 'SwitchCase': 1 }],
'prettier/prettier': [ 'prettier/prettier': [
'error', 'error',
{ {
endOfLine: 'auto' endOfLine: 'auto',
} }
], ],
'react-refresh/only-export-components': [ 'react-refresh/only-export-components': [