UNPKG

776 BMarkdownView Raw
1# Contribution guide
2## Code style
3There are a lot of different code styles and developers' habits about how to write the code.
4To 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.
8Please, check [JSCS configuration](./.jscsrc) and read the [docs](http://jscs.info/rules) about all used rules for code style guide.
9
10## Code linting
11We're using [ESLint](http://eslint.org/) as a static JS code linter.
12Please, review our [ESLint configuration](./.eslintrc) and read the [ESLint docs](http://eslint.org/docs/rules/) about each rule.