Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add eslint-plugin-react to .eslintrc
  • Loading branch information
asmsuechan committed Aug 14, 2017
commit 56942d55ebf41e203becdbededc0598d4c42da31
9 changes: 7 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
{
"extends": ["standard", "standard-jsx"],
"extends": ["standard", "standard-jsx", "plugin:react/recommended"],
"plugins": ["react"],
"rules": {
"no-useless-escape": 0,
"prefer-const": "warn",
"no-unused-vars": "warn",
"no-undef": "warn",
"no-lone-blocks": "warn"
"no-lone-blocks": "warn",
"react/prop-types": "warn",
"react/no-find-dom-node": "warn",
"react/no-direct-mutation-state": "warn",
"react/no-render-return-value": "warn"
}
}