Closed ljharb closed 8 years ago
I'm also getting an error on requireCamelCaseOrUpperCaseIdentifiers when upgrading from 2.11. It apparently no longer accepts ignoreProperties
requireCamelCaseOrUpperCaseIdentifiers option requires a true value or Object`
@ljharb right now it's disallowQuotedKeysInObjects: { allExcept: ['reserved'] }
@TheSavior right now it's an object with the ignoreProperties
property. requireCamelCaseOrUpperCaseIdentifiers: {ignoreProperties: true}
Sorry, yeah we need to add these to the changelog
@hzoo yes but disallowQuotedKeysInObjects: "allButReserved"
worked in v2, thus it's an undocumented breaking change - the issue is just for the changelog.
Yeah I know, just didn't get to finish it up in time for the release (was my intention to add all that in). And what do you know I just remembered I already did that work https://github.com/jscs-dev/node-jscs/pull/2110#issue-130002352.
I think maybe we should just revert that at this point so upgrading shouldn't need any changes at all. https://github.com/jscs-dev/node-jscs/pull/2217
Ok reverting that https://github.com/jscs-dev/node-jscs/pull/2217 and will release 3.0.2 soon
The changelog doesn't mention it, but
disallowQuotedKeysInObjects
no longer accepts "allButReserved".