From 1b3876c7802f96e1dbe92aa8d06e0f65bddaa746 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Thu, 5 Aug 2021 22:00:29 +0100 Subject: [PATCH] :memo: Adds link to Vue styleguide --- docs/developing.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/developing.md b/docs/developing.md index ef9186bc..d9f07199 100644 --- a/docs/developing.md +++ b/docs/developing.md @@ -154,7 +154,7 @@ As well as Node, Git and Docker- you'll also need an IDE (e.g. [VS Code](https:/ ## Style Guide -Linting is done using [ESLint](https://eslint.org/), and using the [Vue.js Styleguide](https://github.com/vuejs/eslint-config-standard), which is very similar to the [AirBnB Stylguide](https://github.com/airbnb/javascript). You can run `yarn lint` to report and fix issues. While the dev server is running, issues will be reported to the console automatically. Any lint errors will trigger the build to fail. Note that all lint checks must pass before any PR can be merged. Linting is also run as a git pre-commit hook +Linting is done using [ESLint](https://eslint.org/), and using the [Vue.js Styleguide](https://github.com/vuejs/eslint-config-standard), which is very similar to the [AirBnB Stylguide](https://github.com/airbnb/javascript). You can run `yarn lint` to report and fix issues. While the dev server is running, issues will be reported to the console automatically, and any lint errors will trigger the build to fail. Note that all lint checks must pass before any PR can be merged. Linting is also run as a git pre-commit hook The most significant things to note are: - Indentation should be done with two spaces @@ -167,7 +167,9 @@ The most significant things to note are: - All multiline blocks must use braces - Avoid console statements in the frontend -For the full styleguide, see: [github.com/airbnb/javascript](https://github.com/airbnb/javascript) +Styleguides: +- Vue: [Vue styleguide](https://vuejs.org/v2/style-guide/) +- JavaScript: [github.com/airbnb/javascript](https://github.com/airbnb/javascript) ---