diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 0e7713f4ee..f57c18cad8 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,12 +25,17 @@ accept your pull requests. 1. The repo owner will respond to your issue promptly. 1. If your proposed change is accepted, and you haven't already done so, sign a Contributor License Agreement (see details above). 1. Fork the desired repo, develop and test your code changes. -1. Ensure that your code adheres to the existing style in the sample to which you are contributing. Refer to the - [Google Cloud Platform Samples Style Guide](https://github.com/GoogleCloudPlatform/Template/wiki/style.html) for the - recommended coding standards for this organization. You can run `npm run jshint` to match our JavaScript coding standards. +1. Ensure that your code adheres to the existing style in the sample to which you are contributing. 1. Ensure that your code has an appropriate set of unit tests which all pass. 1. Submit a pull request! +## Style + +Samples in this repository follow the [JavaScript Semi-Standard +Style](https://github.com/Flet/semistandard). + +You can run `npm run lint` to match our JavaScript coding standards. + ## Sample template ``` @@ -88,4 +93,4 @@ cli if (module === require.main) { program.main(process.argv.slice(2)); } -``` \ No newline at end of file +```