diff --git a/.eslintrc.js b/.eslintrc.js index d71dfde..d694b53 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -35,7 +35,7 @@ module.exports = { }, plugins: ["@typescript-eslint", "react"], rules: { - "linebreak-style": ["error", "unix"], + "linebreak-style": ["error", (process.platform === "win32" ? "windows" : "unix")], "react/no-unknown-property": ["off"], "react/react-in-jsx-scope": ["off"], }, diff --git a/.prettierrc b/.prettierrc index 6c7daed..6b169d0 100644 --- a/.prettierrc +++ b/.prettierrc @@ -4,5 +4,6 @@ "semi": true, "useTabs": false, "tabWidth": 2, - "printWidth": 100 + "printWidth": 100, + "endOfLine": "lf" }