google / eslint-config-google

ESLint shareable config for the Google JavaScript style guide
Apache License 2.0
1.74k stars 140 forks source link

Fix minor issue with rules #31

Closed philipwalton closed 7 years ago

philipwalton commented 7 years ago

This PR fixes two minor issues with rules:

1) valid-jsdoc now allows you to omit a return description (which is allowed if the return description is implied by the type or other comments).

2) camelcase allows for properties to not be camelcase, which is common in Google code when dealing with JSON payloads where properties often contain keys like access_token.