Updates for allhands (#3)
This commit is contained in:
34
.github/linters/.hadolint.yaml
vendored
34
.github/linters/.hadolint.yaml
vendored
@@ -1,3 +1,11 @@
|
||||
# README: https://github.com/hadolint/hadolint
|
||||
|
||||
# Often it's a good idea to do inline disables rather that repo-wide in this file.
|
||||
# Example of inline Dockerfile rules:
|
||||
# hadolint ignore=DL3018
|
||||
#RUN apk add --no-cache git
|
||||
|
||||
# or just ignore rules repo-wide
|
||||
ignored:
|
||||
- DL3003 #ignore that we use cd sometimes
|
||||
- DL3006 #image pin versions
|
||||
@@ -7,4 +15,28 @@ ignored:
|
||||
- DL3028 #gem install pin versions
|
||||
- DL3059 #multiple consecutive runs
|
||||
- DL4006 #we don't need pipefail in this
|
||||
- SC2016 #we want single quotes sometimes
|
||||
- SC2016 #we want single quotes sometimes
|
||||
|
||||
|
||||
# FULL TEMPLATE
|
||||
# failure-threshold: string # name of threshold level (error | warning | info | style | ignore | none)
|
||||
# format: string # Output format (tty | json | checkstyle | codeclimate | gitlab_codeclimate | gnu | codacy)
|
||||
# ignored: [string] # list of rules
|
||||
# label-schema: # See Linting Labels below for specific label-schema details
|
||||
# author: string # Your name
|
||||
# contact: string # email address
|
||||
# created: timestamp # rfc3339 datetime
|
||||
# version: string # semver
|
||||
# documentation: string # url
|
||||
# git-revision: string # hash
|
||||
# license: string # spdx
|
||||
# no-color: boolean # true | false
|
||||
# no-fail: boolean # true | false
|
||||
# override:
|
||||
# error: [string] # list of rules
|
||||
# warning: [string] # list of rules
|
||||
# info: [string] # list of rules
|
||||
# style: [string] # list of rules
|
||||
# strict-labels: boolean # true | false
|
||||
# disable-ignore-pragma: boolean # true | false
|
||||
# trustedRegistries: string | [string] # registry or list of registries
|
||||
8
.github/linters/.markdown-lint.yml
vendored
8
.github/linters/.markdown-lint.yml
vendored
@@ -1,7 +1,9 @@
|
||||
# MD013/line-length - Line length
|
||||
MD013:
|
||||
# Number of characters
|
||||
line_length: 150
|
||||
# Number of characters, default is 80
|
||||
# I'm OK with long lines. All editors now have wordwrap
|
||||
line_length: 9999
|
||||
# Number of characters for headings
|
||||
heading_line_length: 100
|
||||
code_blocks: false
|
||||
# check code blocks?
|
||||
code_blocks: false
|
||||
|
||||
53
.github/linters/.yaml-lint.yml
vendored
Normal file
53
.github/linters/.yaml-lint.yml
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
---
|
||||
###########################################
|
||||
# These are the rules used for #
|
||||
# linting all the yaml files in the stack #
|
||||
# NOTE: #
|
||||
# You can disable line with: #
|
||||
# # yamllint disable-line #
|
||||
###########################################
|
||||
rules:
|
||||
braces:
|
||||
level: warning
|
||||
min-spaces-inside: 0
|
||||
max-spaces-inside: 0
|
||||
min-spaces-inside-empty: 1
|
||||
max-spaces-inside-empty: 5
|
||||
brackets:
|
||||
level: warning
|
||||
min-spaces-inside: 0
|
||||
max-spaces-inside: 0
|
||||
min-spaces-inside-empty: 1
|
||||
max-spaces-inside-empty: 5
|
||||
colons:
|
||||
level: warning
|
||||
max-spaces-before: 0
|
||||
max-spaces-after: 1
|
||||
commas:
|
||||
level: warning
|
||||
max-spaces-before: 0
|
||||
min-spaces-after: 1
|
||||
max-spaces-after: 1
|
||||
comments: disable
|
||||
comments-indentation: disable
|
||||
document-end: disable
|
||||
document-start: disable
|
||||
empty-lines:
|
||||
level: warning
|
||||
max: 2
|
||||
max-start: 0
|
||||
max-end: 0
|
||||
hyphens:
|
||||
level: warning
|
||||
max-spaces-after: 1
|
||||
indentation:
|
||||
level: warning
|
||||
spaces: consistent
|
||||
indent-sequences: true
|
||||
check-multi-line-strings: false
|
||||
key-duplicates: enable
|
||||
line-length: disable
|
||||
new-line-at-end-of-file: disable
|
||||
new-lines:
|
||||
type: unix
|
||||
trailing-spaces: disable
|
||||
Reference in New Issue
Block a user