chore/add eof rules for prettier and eslint

This commit is contained in:
SajadMRjl
2025-07-16 18:54:51 +03:30
parent b62828df7b
commit 539960ac8c
2 changed files with 2 additions and 0 deletions

View File

@@ -4,4 +4,5 @@ module.exports = {
singleQuote: true,
printWidth: 80,
tabWidth: 2,
endOfLine: 'lf',
};

View File

@@ -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',
},