Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Commit 6a9b629

Browse files
trusktrkaicataldo
authored andcommitted
Docs: add options to README (#530)
* add options to README * Link to full options
1 parent 5d49243 commit 6a9b629

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,18 @@ Instead, you also need to make use of one more plugins which will add or extend
3030

3131
By far the most common case will be installing the [eslint-plugin-typescript](https://github.com/nzakas/eslint-plugin-typescript) plugin, but there are also other relevant options available such a [eslint-plugin-tslint](https://github.com/JamesHenry/eslint-plugin-tslint).
3232

33+
## Options
34+
35+
The full list of options can be found in the [typescript-estree README](https://github.com/JamesHenry/typescript-estree#parsecode-options). Use them like this in your eslintrc:
36+
37+
```js
38+
parserOptions: {
39+
ecmaFeatures: {
40+
jsx: true,
41+
}
42+
}
43+
```
44+
3345
## Supported TypeScript Version
3446

3547
We will always endeavor to support the latest stable version of TypeScript.

0 commit comments

Comments
 (0)