Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Commit 6a9b629

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

File tree

Expand file treeCollapse file tree

1 file changed

+12
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+12
-0
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.