From 8361492ef296d0406c48b0ea48937fe2a0a80b09 Mon Sep 17 00:00:00 2001 From: kristiandrex Date: Wed, 14 Jul 2021 20:41:38 -0500 Subject: [PATCH] Change ESLint config --- .eslintrc | 3 --- .eslintrc.json | 10 ++++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) delete mode 100644 .eslintrc create mode 100644 .eslintrc.json diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 15b1ed9..0000000 --- a/.eslintrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "next" -} diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..b1f982a --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,10 @@ +{ + "extends": "next", + "rules": { + "indent": ["error", 2], + "quotes": ["error", "double"], + "semi": ["error", "always"], + "eol-last": ["error", "always"], + "no-unused-vars": "error" + } +}