Skip to content

Commit

Permalink
[ESLint] Ignore "react" in "import/no-unresolved"
Browse files Browse the repository at this point in the history
Because `react` is listed as a peer dep, so it won't necessarily exist
on the filesystem.
  • Loading branch information
Spike Brehm committed Aug 31, 2016
1 parent 631c576 commit e58e431
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"react/prefer-stateless-function": 0,
"react/sort-comp": 0,
"no-use-before-define": 0,
"no-underscore-dangle": 0
"no-underscore-dangle": 0,
"import/no-unresolved": [2, { "ignore": ["react"] }]
}
}

0 comments on commit e58e431

Please sign in to comment.