From 5471972045aa3ed5dca90abc67802d324e5c1251 Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Mon, 13 Jan 2020 00:01:22 +0300 Subject: feat: explicitly configure ESlint --- .eslintrc.json | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .eslintrc.json (limited to '.eslintrc.json') diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..4bed466 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "react-app" +} \ No newline at end of file -- cgit v1.2.3 From 8d98180b4f6882dbbe6754bceb8ffb09f46f7e7d Mon Sep 17 00:00:00 2001 From: Eug-VS Date: Wed, 15 Jan 2020 23:11:49 +0300 Subject: feat: add rules for quotes into .eslintrc --- .eslintrc.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.eslintrc.json') diff --git a/.eslintrc.json b/.eslintrc.json index 4bed466..8c9d6d9 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,3 +1,7 @@ { - "extends": "react-app" -} \ No newline at end of file + "extends": "react-app", + "rules": { + "jsx-quotes": ["error", "prefer-double"], + "quotes": ["error", "single"] + } +} -- cgit v1.2.3