diff options
author | Bryce Johnson <bryce@gitlab.com> | 2017-02-27 21:27:21 +0300 |
---|---|---|
committer | Bryce Johnson <bryce@Bryces-MacBook-Pro.local> | 2017-02-28 17:25:51 +0300 |
commit | 10b9b95857424609461121233f7d1dca95485b2b (patch) | |
tree | a11fd4132582717161c95b1aa195109df0e20be7 /doc/development/frontend.md | |
parent | 8a52257d2e08f255608b783254fc8fd708f89e9e (diff) |
Document use of AirBnb js styleguide and eslint.
Diffstat (limited to 'doc/development/frontend.md')
-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..92e4fa50644 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
\ No newline at end of file |