
Using latest xo (master branch), I'm unable to customize babel/object-curly-spacing rule via shareable config.
package.json:
{
"extends": "my-config"
}
my-config:
{
"rules": {
"babel/object-curly-spacing": 0
}
}
file.js:
Given these files, xo throws error:

If I override babel/object-curly-spacing in package.json, it works as expected and I no longer get errors:
{
"rules": {
"babel/object-curly-spacing": 0
}
}
Related: https://github.com/sindresorhus/xo/blob/master/options-manager.js#L98
IssueHunt Summary
Backers (Total: $60.00)
Submitted pull Requests
Tips
Using latest xo (master branch), I'm unable to customize
babel/object-curly-spacingrule via shareable config.package.json:
my-config:
file.js:
Given these files, xo throws error:
If I override
babel/object-curly-spacingin package.json, it works as expected and I no longer get errors:Related: https://github.com/sindresorhus/xo/blob/master/options-manager.js#L98
IssueHunt Summary
Backers (Total: $60.00)
Submitted pull Requests
Tips