Skip to content

Commit 361115a

Browse files
committed
refactor: change eslint config
1 parent ef7c273 commit 361115a

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

eslint.config.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,18 @@ export default tseslint.config({
3333
'no-multiple-empty-lines': ['error', { max: 1, maxEOF: 0 }],
3434
'react/react-in-jsx-scope': 'off',
3535
'react/jsx-uses-react': 'off',
36-
'prettier/prettier': 'error',
36+
'prettier/prettier': [
37+
'error',
38+
{
39+
endOfLine: 'auto',
40+
},
41+
],
42+
'@typescript-eslint/explicit-function-return-type': [
43+
'error',
44+
{
45+
allowExpressions: true,
46+
},
47+
],
3748
},
3849
settings: {
3950
react: {

0 commit comments

Comments
 (0)