Skip to content

Commit 3807b43

Browse files
committed
updates readme according to new config
1 parent 2f0c1f6 commit 3807b43

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,24 @@ For validating **ECMAScript 2015 (ES6)** project use `es6` version:
4242
}
4343
}
4444
```
45+
For validating **ECMAScript 2015 (ES6)** in **Node.js** environment project use `es6` version:
46+
47+
```json
48+
{
49+
"parserOptions": {
50+
"ecmaVersion": 6,
51+
"sourceType": "module"
52+
},
53+
"env": {
54+
"es6": true,
55+
"browser": false,
56+
"node": true
57+
},
58+
"extends": "htmlacademy/node",
59+
"rules": {
60+
// Additional rules...
61+
}
62+
}
63+
```
4564
[travis-image]: https://travis-ci.org/htmlacademy/eslint-config-htmlacademy.svg?branch=master
4665
[travis-url]: https://travis-ci.org/htmlacademy/eslint-config-htmlacademy

0 commit comments

Comments
 (0)