Skip to content

Commit

Permalink
Update jsx-filename-extension.md
Browse files Browse the repository at this point in the history
* Trailing comma is causing .json file stops working
* Trailing comma is supported in .eslintrc.js only
  • Loading branch information
luftywiranda13 committed May 6, 2017
1 parent ee8d3a1 commit b35386b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/jsx-filename-extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The set of allowed extensions is configurable. By default '.jsx' is allowed. If

```js
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }]
}
```

Expand Down

0 comments on commit b35386b

Please sign in to comment.