Skip to content

Commit

Permalink
Remove dangling commas
Browse files Browse the repository at this point in the history
  • Loading branch information
baer committed Feb 10, 2016
1 parent ade3910 commit 2a2d0d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rules/react/airbnb.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
// Enforce event handler naming conventions in JSX
"react/jsx-handler-names": [0, {
"eventHandlerPrefix": "handle",
"eventHandlerPropPrefix": "on",
"eventHandlerPropPrefix": "on"
}],
// Validate props indentation in JSX
"react/jsx-indent-props": [2, 2],
Expand All @@ -47,12 +47,12 @@ module.exports = {
// Enforce propTypes declarations alphabetical sorting
"react/jsx-sort-prop-types": [0, {
"ignoreCase": false,
"callbacksLast": false,
"callbacksLast": false
}],
// Enforce props alphabetical sorting
"react/jsx-sort-props": [0, {
"ignoreCase": false,
"callbacksLast": false,
"callbacksLast": false
}],
// Prevent React to be incorrectly marked as unused
"react/jsx-uses-react": [2, { "pragma": "React" }],
Expand Down

0 comments on commit 2a2d0d9

Please sign in to comment.