Skip to content

Commit

Permalink
eslint-config-target-es: Fix README.md (#21743)
Browse files Browse the repository at this point in the history
Wrong syntax highlighting code led to bad display.
  • Loading branch information
anomiex authored Nov 16, 2021
1 parent 8773cc7 commit 4087c07
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 3 additions & 3 deletions projects/js-packages/eslint-config-target-es/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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' ],
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: fixed
Comment: Small typo in README.md


0 comments on commit 4087c07

Please sign in to comment.