From d72126f7bf4f9177cd1b07ede9da01cf27a3b01a Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Mon, 16 Jan 2023 08:39:59 -0800 Subject: [PATCH] Disable linebreak check for Windows compat --- .gitattributes | 2 ++ web/.eslintrc.js | 1 + 2 files changed, 3 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..dfe0770424 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Auto detect text files and perform LF normalization +* text=auto diff --git a/web/.eslintrc.js b/web/.eslintrc.js index 8cb4a83dad..b8f24da01d 100644 --- a/web/.eslintrc.js +++ b/web/.eslintrc.js @@ -23,6 +23,7 @@ module.exports = { 'linebreak-style': ['error', 'unix'], 'lodash/import-scope': [2, 'member'], 'unused-imports/no-unused-imports': 'warn', + "linebreak-style": 0 }, ignorePatterns: ['/public/mtg/*'], env: {