chore/add eof rules for prettier and eslint
This commit is contained in:
@@ -4,4 +4,5 @@ module.exports = {
|
||||
singleQuote: true,
|
||||
printWidth: 80,
|
||||
tabWidth: 2,
|
||||
endOfLine: 'lf',
|
||||
};
|
||||
|
||||
@@ -35,6 +35,7 @@ export default tseslint.config(
|
||||
...reactHooks.configs.recommended.rules,
|
||||
...prettierConfig.rules,
|
||||
'prettier/prettier': 'error',
|
||||
'linebreak-style': ['error', 'unix'],
|
||||
'react-refresh/only-export-components': 'warn',
|
||||
'@typescript-eslint/no-explicit-any': 'warn',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user