From 4087c07de613b77cb09c60c10bf2e7a07551eff7 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Tue, 16 Nov 2021 12:52:50 -0500 Subject: [PATCH] eslint-config-target-es: Fix README.md (#21743) Wrong syntax highlighting code led to bad display. --- projects/js-packages/eslint-config-target-es/README.md | 6 +++--- .../changelog/fix-eslint-config-target-es-readme | 5 +++++ 2 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 projects/js-packages/eslint-config-target-es/changelog/fix-eslint-config-target-es-readme diff --git a/projects/js-packages/eslint-config-target-es/README.md b/projects/js-packages/eslint-config-target-es/README.md index 65a5aada6ec76..072fe03347752 100644 --- a/projects/js-packages/eslint-config-target-es/README.md +++ b/projects/js-packages/eslint-config-target-es/README.md @@ -17,21 +17,21 @@ First, you'll probably want to set up a [browserslist] configuration. Then you can use this like any other sharable config in your `.eslintrc.*` file. Three configurations are offered. To check only for language features, such as nullish coalescing, your eslintrc might look like -```json +```js { extends: [ '@automattic/eslint-config-target-es/language' ], } ``` To check only for builtins, such as Promise, WeakRef, and various features of RegExp, your eslintrc might look like -```json +```js { extends: [ '@automattic/eslint-config-target-es/builtins' ], } ``` To check both, your eslintrc might look like -```json +```js { extends: [ '@automattic/eslint-config-target-es/all' ], } diff --git a/projects/js-packages/eslint-config-target-es/changelog/fix-eslint-config-target-es-readme b/projects/js-packages/eslint-config-target-es/changelog/fix-eslint-config-target-es-readme new file mode 100644 index 0000000000000..4e6a681b10342 --- /dev/null +++ b/projects/js-packages/eslint-config-target-es/changelog/fix-eslint-config-target-es-readme @@ -0,0 +1,5 @@ +Significance: patch +Type: fixed +Comment: Small typo in README.md + +