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

28 lines
916 B
Markdown
Raw Normal View History

2021-01-29 00:20:46 +05:30
---
stage: none
group: unassigned
2022-11-25 23:54:43 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
2021-01-29 00:20:46 +05:30
---
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
2021-04-17 20:07:23 +05:30
Our [SCSS conventions](scss.md) which are enforced through [`stylelint`](https://stylelint.io).
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).