Skip to content

Commit 258c023

Browse files
committed
Added description for ECMAScrit 2018 (es9) config
1 parent 065b129 commit 258c023

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,25 @@ For validating **ECMAScript 2015 (ES6)** in **Node.js** environment project use
6161
}
6262
}
6363
```
64+
65+
For validating **ECMAScript 2018 (ES9)** project use `es9` version:
66+
67+
```json
68+
{
69+
"parserOptions": {
70+
"ecmaVersion": 9,
71+
"sourceType": "module"
72+
},
73+
"env": {
74+
"es2017": true,
75+
"browser": true,
76+
"commonjs": true,
77+
},
78+
"extends": "htmlacademy/basic",
79+
"rules": {
80+
// Additional rules...
81+
}
82+
}
83+
```
6484
[travis-image]: https://travis-ci.org/htmlacademy/eslint-config-htmlacademy.svg?branch=master
6585
[travis-url]: https://travis-ci.org/htmlacademy/eslint-config-htmlacademy

0 commit comments

Comments
 (0)