Skip to content

Commit

Permalink
Fix incorrect formatting of 'overrides' arg in .eslintrc (#2933)
Browse files Browse the repository at this point in the history
- overrides should be array of objects
- trailing comma is invalid
  • Loading branch information
jennifer-shehane committed Dec 20, 2018
1 parent d0ff0d1 commit ac76d3d
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,14 @@
"legacyDecorators": true
}
},
"overrides": {
"files": ["**/*.jsx"],
"rules": {
"arrow-body-style": "off",
"overrides": [
{
"files": [
"**/*.jsx"
],
"rules": {
"arrow-body-style": "off"
}
}
}
]
}

0 comments on commit ac76d3d

Please sign in to comment.