diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..94f480d --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto eol=lf \ No newline at end of file diff --git a/.gitignore b/.gitignore index a547bf3..88ad144 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,8 @@ dist dist-ssr *.local +*.tsbuildinfo + # Editor directories and files .vscode/* !.vscode/extensions.json diff --git a/.prettierrc.cjs b/.prettierrc.cjs index a4db989..f373ff7 100644 --- a/.prettierrc.cjs +++ b/.prettierrc.cjs @@ -4,4 +4,5 @@ module.exports = { singleQuote: true, printWidth: 80, tabWidth: 2, + endOfLine: 'lf', }; diff --git a/eslint.config.js b/eslint.config.js index 860e104..75e9038 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -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', },