From 423da5baf0aeac7acffc83328a7c3731c2997b98 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 17 Apr 2019 17:18:50 +0300 Subject: Fix ESLint warnings react hooks linter fixes header! --- vnext/.eslintrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'vnext/.eslintrc') diff --git a/vnext/.eslintrc b/vnext/.eslintrc index 6d200c92..24325146 100644 --- a/vnext/.eslintrc +++ b/vnext/.eslintrc @@ -23,6 +23,12 @@ "only-ascii", "react-hooks" ], + "settings": { + "react": { + "pragma": "React", + "version": "16.8" + } + }, "rules": { "strict": 0, "no-console": "off", @@ -55,7 +61,7 @@ "no-unused-vars": "off", "no-useless-escape": "off", - "only-ascii/only-ascii": ["warn", { "allowedChars": "✓←→ " }], + "only-ascii/only-ascii": ["warn", { "allowedChars": "✓←→♡ " }], "jest/no-disabled-tests": "warn", "jest/no-focused-tests": "error", -- cgit v1.2.3