Skip to content

Commit

Permalink
Update style guide with Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
kimjoar committed Feb 5, 2018
1 parent 71bf47a commit 7f923db
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions style_guides/js_style_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ This JavaScript guide forked from the [node style guide](https://github.com/feli
licensed under the [CC BY-SA 3.0](http://creativecommons.org/licenses/by-sa/3.0/)
license.

## Prettier

We are gradually moving the Kibana code base over to Prettier.

Prettier is set up to run with ESLint, and to add new code paths to Prettier,
see `.eslintrc.js` in the root of the Kibana repo. This also means that if you
get ESLint errors related to Prettier, run `node scripts/eslint --fix` from the
root of the Kibana repo to fix these.

## 2 Spaces for indention

Use 2 spaces for indenting your code and swear an oath to never mix tabs and
Expand Down

0 comments on commit 7f923db

Please sign in to comment.