Fix broken link
Also includes some basic fixes to Markdown to make it adhere to styleguide.
This commit is contained in:
parent
f9bedcfc08
commit
087eb95145
1 changed files with 57 additions and 52 deletions
|
@ -1,11 +1,13 @@
|
|||
# Style guides and linting
|
||||
|
||||
See the relevant style guides for our guidelines and for information on linting:
|
||||
|
||||
## JavaScript
|
||||
|
||||
We defer to [Airbnb][airbnb-js-style-guide] on most style-related
|
||||
conventions and enforce them with eslint.
|
||||
|
||||
See [our current .eslintrc][eslintrc] for specific rules and patterns.
|
||||
See [our current .eslintrc](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/.eslintrc.yml) for specific rules and patterns.
|
||||
|
||||
### Common
|
||||
|
||||
|
@ -299,10 +301,12 @@ Do not use them anymore and feel free to remove them when refactoring legacy cod
|
|||
### Vue.js
|
||||
|
||||
#### `eslint-vue-plugin`
|
||||
|
||||
We default to [eslint-vue-plugin][eslint-plugin-vue], with the `plugin:vue/recommended`.
|
||||
Please check this [rules][eslint-plugin-vue-rules] for more documentation.
|
||||
|
||||
#### Basic Rules
|
||||
|
||||
1. The service has it's own file
|
||||
1. The store has it's own file
|
||||
1. Use a function in the bundle file to instantiate the Vue component:
|
||||
|
@ -387,6 +391,7 @@ Please check this [rules][eslint-plugin-vue-rules] for more documentation.
|
|||
[#34371]: https://gitlab.com/gitlab-org/gitlab-ce/issues/34371
|
||||
|
||||
#### Alignment
|
||||
|
||||
1. Follow these alignment styles for the template method:
|
||||
|
||||
1. With more than one attribute, all attributes should be on a new line:
|
||||
|
|
Loading…
Reference in a new issue