debian-mirror-gitlab/doc/development/fe_guide/style/index.md

22 lines
714 B
Markdown
Raw Normal View History

2020-01-01 13:55:28 +05:30
# GitLab development style guides
2020-11-24 15:15:51 +05:30
See below for the relevant style guides, guidelines, linting, and other information for developing GitLab.
2020-01-01 13:55:28 +05:30
## JavaScript style guide
We use `eslint` to enforce our [JavaScript style guides](javascript.md). Our guide is based on
2020-11-24 15:15:51 +05:30
the excellent [Airbnb](https://github.com/airbnb/javascript) style guide with a few small
2020-01-01 13:55:28 +05:30
changes.
## SCSS style guide
2020-04-22 19:07:51 +05:30
Our [SCSS conventions](scss.md) which are enforced through [`scss-lint`](https://github.com/sds/scss-lint).
2020-01-01 13:55:28 +05:30
## HTML style guide
Guidelines for writing [HTML code](html.md) consistent with the rest of the codebase.
## Vue style guide
Guidelines and conventions for Vue code may be found within the [Vue style guide](vue.md).