# Contributing to Stencil

Thanks for showing interest in contributing!

The following is a set of guidelines for contributing to Stencil. These are just guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request.

By contributing to Stencil, you agree that your contributions will be licensed under its MIT license.

#### Table of Contents

[Stencil Documentation](https://stencil.bigcommerce.com/docs)

[How Can I Contribute?](#how-can-i-contribute)
  * [Your First Code Contribution](#your-first-code-contribution)
  * [Pull Requests](#pull-requests)

[Styleguides](#styleguides)
  * [Git Commit Messages](#git-commit-messages)
  * [JavaScript Styleguide](#javascript-styleguide)
  * [CSS/Sass Styleguide](#css-styleguide)

### Your First Code Contribution

Unsure where to begin contributing to Stencil? Check our [forums](https://forum.bigcommerce.com/s/group/0F91300000029tpCAA) or our [stackoverflow](https://stackoverflow.com/questions/tagged/bigcommerce) tag. 

### Pull Requests

* Fill in [the required template](https://github.com/bigcommerce/cornerstone/pull/new/master)
* Include screenshots and animated GIFs in your pull request whenever possible.
* End files with a newline.
* Update CHANGELOG.md with a reference to your pull request if changing code

## Styleguides

### Git Commit Messages

* Use the present tense ("Add feature" not "Added feature")
* Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
* Limit the first line to 72 characters or less
* Reference pull requests and external links liberally

### JavaScript Styleguide

All JavaScript must adhere to [AirBnB Javascript Styleguide](https://github.com/airbnb/javascript).

### CSS Styleguide

All CSS/Sass must adhere to [Sass Coding Guidelines](https://github.com/bigcommerce/sass-style-guide)
