Skip to content

Commit

Permalink
Do not disable setState in componentDidMount eslint rule for docs/src
Browse files Browse the repository at this point in the history
This code
https://github.com/react-bootstrap/react-bootstrap/blob/master/docs/src/ComponentsPage.js#L39
causes in 'Do not use setState in componentDidMount'

It needs more time for me to figure out how to refactor the culprit.

Or maybe we just can add
`/* eslint react/no-did-mount-set-state: 0 */`
to docs/src/ComponentsPage.js file.
  • Loading branch information
AlexKVal committed Apr 8, 2015
1 parent c401633 commit 43f6f2e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"rules": {
"comma-spacing": 0,
"react/no-did-mount-set-state": 0,
"react/no-multi-comp": 0,
"react/prop-types": 0
}
Expand Down

0 comments on commit 43f6f2e

Please sign in to comment.