Merge pull request #4 from rkheftan/chore/eof

Chore/eof
This commit is contained in:
SajadMRjl
2025-07-18 11:23:27 +03:30
committed by GitHub
4 changed files with 5 additions and 0 deletions

1
.gitattributes vendored Normal file
View File

@@ -0,0 +1 @@
* text=auto eol=lf

2
.gitignore vendored
View File

@@ -12,6 +12,8 @@ dist
dist-ssr
*.local
*.tsbuildinfo
# Editor directories and files
.vscode/*
!.vscode/extensions.json

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