1 | # Contribution guide
|
2 | ## Code style
|
3 | There are a lot of different code styles and developers' habits about how to write the code.
|
4 | To resolve all differences we should follow one single code style guide:
|
5 |
|
6 | * all library sources and tests are written with [ES2015 and compiled by Babel.js](https://babeljs.io/docs/learn-es2015/)
|
7 | * We use [JSCS](http://jscs.info/) to check all sources according to preset rules of our code style.
|
8 | Please, check [JSCS configuration](./.jscsrc) and read the [docs](http://jscs.info/rules) about all used rules for code style guide.
|
9 |
|
10 | ## Code linting
|
11 | We're using [ESLint](http://eslint.org/) as a static JS code linter.
|
12 | Please, review our [ESLint configuration](./.eslintrc) and read the [ESLint docs](http://eslint.org/docs/rules/) about each rule.
|