Skip to content

Commit 23fe9ed

Browse files
committed
update readme
1 parent a3bc9a2 commit 23fe9ed

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

README.md

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ $ npm install --save-dev eslint eslint-config-htmlacademy
1414

1515
Once the `eslint-config-htmlacademy` package is installed, you can use it by specifying `htmlacademy` in the [`extends`](http://eslint.org/docs/user-guide/configuring#extending-configuration-files) section of your [ESLint configuration](http://eslint.org/docs/user-guide/configuring).
1616

17-
For validating ECMAScript 5 project use `es5` version:
17+
For validating **ECMAScript 5** project use `es5` version:
1818

19-
```js
19+
```json
2020
{
2121
"extends": "htmlacademy/es5",
2222
"rules": {
@@ -25,10 +25,17 @@ For validating ECMAScript 5 project use `es5` version:
2525
}
2626
```
2727

28-
For validating ECMAScript 6 project use `es6` version:
28+
For validating **ECMAScript 2015 (ES6)** project use `es6` version:
2929

30-
```js
30+
```json
3131
{
32+
"parserOptions": {
33+
"ecmaVersion": 6,
34+
"sourceType": "module"
35+
},
36+
"env": {
37+
"es6": true
38+
},
3239
"extends": "htmlacademy/es6",
3340
"rules": {
3441
// Additional rules...

0 commit comments

Comments
 (0)