From 316a954486a66edd5bed103d8ea0b3b6b658f0de Mon Sep 17 00:00:00 2001 From: bklynate Date: Wed, 7 Oct 2020 15:35:44 -0400 Subject: [PATCH] feat: add new eslint and prettier rules --- .eslintrc | 3 ++- .prettierrc | 3 ++- .vscode/settings.json | 3 +-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.eslintrc b/.eslintrc index 880e0739..81b0917c 100755 --- a/.eslintrc +++ b/.eslintrc @@ -38,6 +38,7 @@ "jsx-a11y/click-events-have-key-events": "off", "jsx-a11y/no-static-element-interactions": "off", "jsx-a11y/control-has-associated-label": "off", - "jsx-a11y/anchor-is-valid": "off" + "jsx-a11y/anchor-is-valid": "off", + "semi": [2, "always"] } } \ No newline at end of file diff --git a/.prettierrc b/.prettierrc index 80d4688a..d23910c0 100755 --- a/.prettierrc +++ b/.prettierrc @@ -4,6 +4,7 @@ "singleQuote": true, "trailingComma": "none", "tabWidth": 2, + "semi": true, "useTabs": false, "react/jsx-max-props-per-line": [1, { "when": "always" }] -} +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 7a73a41b..0967ef42 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,2 +1 @@ -{ -} \ No newline at end of file +{}