Frontend style guides

See below for the relevant style guides, guidelines, linting, and other information for developing GitLab.

JavaScript style guide

We use eslint to enforce our JavaScript style guides. Our guide is based on the excellent Airbnb style guide with a few small changes.

SCSS style guide

Our SCSS conventions which are enforced through stylelint.

HTML style guide

Guidelines for writing HTML code consistent with the rest of the codebase.

Vue style guide

Guidelines and conventions for Vue code may be found within the Vue style guide.