Fix incorrect formatting of 'overrides' arg in .eslintrc (#2933)

- overrides should be array of objects
- trailing comma is invalid
This commit is contained in:
Jennifer Shehane
2018-12-20 16:22:17 +06:30
committed by GitHub
parent d0ff0d1547
commit ac76d3d8ae

View File

@@ -59,10 +59,14 @@
"legacyDecorators": true
}
},
"overrides": {
"files": ["**/*.jsx"],
"rules": {
"arrow-body-style": "off",
"overrides": [
{
"files": [
"**/*.jsx"
],
"rules": {
"arrow-body-style": "off"
}
}
}
]
}