Skip to content
Snippets Groups Projects
Commit 663c193408f1 authored by Craig Norris's avatar Craig Norris
Browse files

Merge branch 'eread/update-linting-configuration' into 'master'

Update linting configuration from GitLab project

See merge request gitlab-org/omnibus-gitlab!5862
No related branches found
No related tags found
2 merge requests!65heptapod#658: intermediate release to test the shift,!64GitLab 14.8
......@@ -26,6 +26,7 @@
names: [
"Akismet",
"Alertmanager",
"AlmaLinux",
"API",
"Asana",
"Auth0",
......@@ -91,7 +92,7 @@
"markdownlint",
"Mattermost",
"Microsoft",
"Minikube",
"minikube",
"MinIO",
"ModSecurity",
"NGINX Ingress",
......
---
# Suggestion: gitlab.Dropdown
#
# Catches many ways the phrase 'dropdown list' can be fumbled.
#
# For a list of all options, see https://errata-ai.github.io/vale/styles/
extends: existence
message: 'Use "dropdown list".'
link: https://docs.gitlab.com/ee/development/documentation/styleguide/word_list.html#dropdown-list
level: suggestion
ignorecase: true
tokens:
- drop-down( [\w]*)?
- dropdown(?! list)
......@@ -3,8 +3,8 @@
#
# Checks the Flesch-Kincaid reading level.
#
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
extends: readability
message: "Grade level (%s) is high. To lower the score, use shorter sentences and words."
# https://docs.errata.ai/vale/styles#metric
extends: metric
message: "The grade level - %s - refers to how hard the content is to understand. Aim for 8th grade or lower by using shorter sentences and words."
link: https://docs.gitlab.com/ee/development/documentation/testing.html#vale-readability-score
level: suggestion
......@@ -9,5 +9,5 @@
link: https://docs.gitlab.com/ee/development/documentation/testing.html#vale-readability-score
level: suggestion
grade: 8
metrics:
- Flesch-Kincaid
formula: |
(0.39 * (words / sentences)) + (11.8 * (syllables / words)) - 15.59
condition: "> 1"
......@@ -11,6 +11,7 @@
level: warning
ignorecase: true
swap:
click: select
code base: codebase
config: configuration
distro: distribution
......
......@@ -53,6 +53,7 @@
- EOL
- EXIF
- FAQ
- FIDO
- FIFO
- FIPS
- FLAG
......@@ -179,6 +180,7 @@
- TLS
- TODO
- TOML
- TOTP
- TTL
- UID
- UDP
......
......@@ -9,6 +9,7 @@
allowlisted
allowlisting
allowlists
AlmaLinux
anonymization
anonymized
Ansible
......@@ -220,6 +221,7 @@
Flycheck
Forgerock
formatters
Fortinet
Fugit
fuzzer
Gantt
......@@ -364,7 +366,7 @@
middleware
middlewares
migratus
Minikube
minikube
MinIO
misconfiguration
misconfigurations
......
......@@ -51,9 +51,9 @@
To make it easier to get a GitLab instance up and running with the minimum
number of commands, `omnibus-gitlab` supports the use of an environment variable
`EXTERNAL_URL` during the package installation. On detecting the presence of
this environment variable, its value will be written as `external_url` in the
this environment variable, its value is written as `external_url` in the
`gitlab.rb` file as part of package installation (or upgrade).
NOTE:
`EXTERNAL_URL` environment variable only affects installation/upgrade
of packages. For regular `sudo gitlab-ctl reconfigure` runs, the value present
......@@ -55,9 +55,9 @@
`gitlab.rb` file as part of package installation (or upgrade).
NOTE:
`EXTERNAL_URL` environment variable only affects installation/upgrade
of packages. For regular `sudo gitlab-ctl reconfigure` runs, the value present
in `/etc/gitlab/gitlab.rb` will be used.
in `/etc/gitlab/gitlab.rb` is used.
NOTE:
As part of package updates, if you have `EXTERNAL_URL` variable set
......@@ -61,7 +61,7 @@
NOTE:
As part of package updates, if you have `EXTERNAL_URL` variable set
inadvertently, it will replace the existing value in `/etc/gitlab/gitlab.rb`
inadvertently, it replaces the existing value in `/etc/gitlab/gitlab.rb`
without any warning. So, it is recommended not to set the variable globally, but
pass it specifically to the installation command:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment