Skip to content

Commit f1f4980

Browse files
committed
Use .eslintrc.js in examples
.eslintrc is deprecated since ESLint v7
1 parent 22080a9 commit f1f4980

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Install this package and ESLint:
2020
npm install --save-dev eslint eslint-config-async
2121
```
2222

23-
In your `.eslintrc` configuration file:
23+
In your `.eslintrc.js` configuration file:
2424

2525
```js
2626
module.exports = {
@@ -37,7 +37,7 @@ Install this package and its peer dependencies:
3737
npm install --save-dev eslint eslint-config-async eslint-plugin-node
3838
```
3939

40-
In your `.eslintrc` configuration file:
40+
In your `.eslintrc.js` configuration file:
4141

4242
```js
4343
module.exports = {
@@ -58,7 +58,7 @@ Install this package and its peer dependencies:
5858
npm install --save-dev eslint eslint-config-async eslint-plugin-node typescript @typescript-eslint/parser @typescript-eslint/eslint-plugin
5959
```
6060

61-
In your `.eslintrc` configuration file:
61+
In your `.eslintrc.js` configuration file:
6262

6363
```js
6464
module.exports = {
@@ -127,4 +127,4 @@ module.exports = {
127127
- "@typescript-eslint/promise-function-async": "error",
128128
}
129129
}
130-
```
130+
```

0 commit comments

Comments
 (0)