Skip to content

Commit a8b95c3

Browse files
committed
Update README
1 parent 9c82606 commit a8b95c3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Sometimes, we want to write broken JavaScript code into a JS CodeBlock for synta
3434

3535
To ignore ESLint parsing errors that cannot be ignored from the config file, you can use `ignoreParsingErrors`:
3636

37-
```js
37+
```json5
3838
{
3939
"rules": {
4040
"eslint": {
@@ -51,12 +51,14 @@ Install with [npm](https://www.npmjs.com/):
5151

5252
npm install textlint-rule-eslint eslint
5353

54+
:warning: textlint-rule-eslint 4+ requires eslint 8+.
55+
5456
## Usage
5557

5658

5759
Via `.textlintrc` (recommended):
5860

59-
```js
61+
```json5
6062
{
6163
"rules": {
6264
"eslint": {
@@ -85,7 +87,7 @@ textlint --rule eslint README.md
8587
- Default: `false`
8688
- ignore ESLint parsing errors while still reporting other ESLint errors
8789

88-
```js
90+
```json5
8991
{
9092
"rules": {
9193
"eslint": {

0 commit comments

Comments
 (0)