Skip to content

Commit 1fe8c52

Browse files
committed
📝 update README.md
1 parent 9c574ba commit 1fe8c52

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,16 @@ $ npm install --save-dev eslint eslint-plugin-node
2121

2222
**.eslintrc.json** (An example)
2323

24-
```json
24+
```jsonc
2525
{
2626
"extends": [
2727
"eslint:recommended",
2828
"plugin:node/recommended"
2929
],
30+
"parserOptions": {
31+
// Only ESLint 6.2.0 and later support ES2020.
32+
"ecmaVersion": 2020
33+
},
3034
"rules": {
3135
"node/exports-style": ["error", "module.exports"],
3236
"node/file-extension-in-import": ["error", "always"],
@@ -159,7 +163,7 @@ Those preset config:
159163

160164
- [GitHub Releases](https://github.com/mysticatea/eslint-plugin-node/releases)
161165

162-
## 💎 Contributing
166+
## ❤️ Contributing
163167

164168
Welcome contributing!
165169

0 commit comments

Comments
 (0)