diff options
author | Filipa Lacerda <lacerda.filipa@gmail.com> | 2017-02-28 17:21:34 +0000 |
---|---|---|
committer | Filipa Lacerda <lacerda.filipa@gmail.com> | 2017-02-28 17:21:34 +0000 |
commit | 4aa6642833a1736ec71c8bce89acfc57a7dc6f69 (patch) | |
tree | be1920f200fd9104d7393a27553e8d3f0b826a38 /doc | |
parent | ff8379f72beaf5cb7b7dae1e8cc5604f39fe65ba (diff) | |
parent | db7c14b599265a5fb3d6a51b1cbb917403d9c6e0 (diff) | |
download | gitlab-ce-4aa6642833a1736ec71c8bce89acfc57a7dc6f69.tar.gz |
Merge branch 'patch-14' into 'master'
Document use of AirBnb js styleguide and eslint.
See merge request !9558
Diffstat (limited to 'doc')
-rw-r--r-- | doc/development/frontend.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/development/frontend.md b/doc/development/frontend.md index ba47998de49..9ba820eaee5 100644 --- a/doc/development/frontend.md +++ b/doc/development/frontend.md @@ -238,6 +238,9 @@ readability. See the relevant style guides for our guidelines and for information on linting: - [SCSS][scss-style-guide] +- JavaScript - We defer to [AirBnb][airbnb-js-style-guide] on most style-related +conventions and enforce them with eslint. See [our current .eslintrc][eslistrc] +for specific rules and patterns. ## Testing @@ -434,3 +437,5 @@ Scenario: Developer can approve merge request [state-management]: https://vuejs.org/v2/guide/state-management.html#Simple-State-Management-from-Scratch [vue-resource-repo]: https://github.com/pagekit/vue-resource [issue-boards-service]: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/app/assets/javascripts/boards/services/board_service.js.es6 +[airbnb-js-style-guide]: https://github.com/airbnb/javascript +[eslintrc]: https://gitlab.com/gitlab-org/gitlab-ce/blob/master/.eslintrc |