From 38fce3edf73385be3f7ad2d95f82669bb7e55385 Mon Sep 17 00:00:00 2001 From: Keevan Dance Date: Thu, 29 Nov 2018 19:07:40 -0600 Subject: [PATCH] Use "parserOptions" instead of just "ecmaFeatures" The 'ecmaFeatures' config file property is deprecated so we should use "parserOptions" > "ecmaFeatures" instead. --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c64fc48..1a0c2fa 100644 --- a/README.md +++ b/README.md @@ -46,8 +46,10 @@ If it is not already the case you must also configure `ESLint` to support JSX. ```json { - "ecmaFeatures": { - "jsx": true + "parserOptions": { + "ecmaFeatures": { + "jsx": true + } } } ```