From 883a3bb3925d181f4ef39fd0bb4e939c8e23b339 Mon Sep 17 00:00:00 2001 From: alberto Date: Fri, 2 Mar 2018 22:30:22 +0100 Subject: [PATCH 1/2] Docs: Update ECMAScript versions in FAQ --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c333edd83bf..6fabd177097 100644 --- a/README.md +++ b/README.md @@ -227,9 +227,9 @@ In all cases, make sure your plugins' peerDependencies have been installed as we Yes, ESLint natively supports parsing JSX syntax (this must be enabled in [configuration](https://eslint.org/docs/user-guide/configuring)). Please note that supporting JSX syntax *is not* the same as supporting React. React applies specific semantics to JSX syntax that ESLint doesn't recognize. We recommend using [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react) if you are using React and want React semantics. -### What about ECMAScript 6 support? +### What ECMAScript versions does ESLint support? -ESLint has full support for ECMAScript 6. By default, this support is off. You can enable ECMAScript 6 syntax and global variables through [configuration](https://eslint.org/docs/user-guide/configuring). +ESLint has full support for ECMAScript 3, 5 (default), 6, 7, 8, or 9. You can set your desired ECMAScript syntax (and other settings, like global variables or your target environments) through [configuration](https://eslint.org/docs/user-guide/configuring). ### What about experimental features? From 9a90201650b99a62eb59454fe07fe1e51d414769 Mon Sep 17 00:00:00 2001 From: alberto Date: Sat, 3 Mar 2018 01:47:35 +0100 Subject: [PATCH 2/2] Use year versions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6fabd177097..1f42b791c7a 100644 --- a/README.md +++ b/README.md @@ -229,7 +229,7 @@ Yes, ESLint natively supports parsing JSX syntax (this must be enabled in [confi ### What ECMAScript versions does ESLint support? -ESLint has full support for ECMAScript 3, 5 (default), 6, 7, 8, or 9. You can set your desired ECMAScript syntax (and other settings, like global variables or your target environments) through [configuration](https://eslint.org/docs/user-guide/configuring). +ESLint has full support for ECMAScript 3, 5 (default), 2015, 2016, 2017, and 2018. You can set your desired ECMAScript syntax (and other settings, like global variables or your target environments) through [configuration](https://eslint.org/docs/user-guide/configuring). ### What about experimental features?