-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Norbert Kamiński <[email protected]>
- Loading branch information
Norbert Kamiński
committed
Jul 29, 2023
1 parent
e0ee490
commit 65d5177
Showing
252 changed files
with
14,970 additions
and
13,756 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[codespell] | ||
skip = *.svg,*.pl.md,themes/3mbed/assets/*.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
policies: | ||
- type: commit | ||
spec: | ||
header: | ||
length: 80 | ||
imperative: false | ||
invalidLastCharacters: . | ||
body: | ||
required: false | ||
dco: true | ||
gpg: | ||
required: true | ||
spellcheck: | ||
locale: US | ||
maximumOfOneCommit: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
--- | ||
# MD013/line-length - Line length | ||
MD013: | ||
# Number of characters for code blocks | ||
code_block_line_length: 400 | ||
|
||
|
||
# MD041/first-line-heading/first-line-h1 - First line in a file should be a top-level heading | ||
MD041: | ||
# Heading level | ||
level: 1 | ||
# RegExp for matching title in front matter | ||
front_matter_title: "^\\s*title\\s*[:=]" | ||
|
||
# MD042/no-empty-links - No empty links | ||
MD042: true | ||
|
||
# MD046/code-block-style - Code block style | ||
# MD046: Rule temporarily disabled, it prevents new tabs from being formatted | ||
# correctly - eg. docs/unified/novacustom/overview.md:9 | ||
# Block style | ||
# style: "fenced" | ||
|
||
# MD047/single-trailing-newline - Files should end with a single newline character | ||
MD047: true | ||
|
||
# MD048/code-fence-style - Code fence style | ||
MD048: | ||
# Code fence style | ||
style: "backtick" | ||
|
||
# MD049/emphasis-style - Emphasis style should be consistent | ||
MD049: | ||
# Emphasis style should be consistent | ||
style: "underscore" | ||
|
||
# MD050/strong-style - Strong style should be consistent | ||
MD050: | ||
# Strong style should be consistent | ||
style: "asterisk" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
--- | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-added-large-files | ||
- id: check-merge-conflict | ||
- id: check-symlinks | ||
- id: detect-private-key | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- id: mixed-line-ending | ||
|
||
- repo: https://github.com/adrienverge/yamllint | ||
rev: v1.32.0 | ||
hooks: | ||
- id: yamllint | ||
args: [-c=.yamllint] | ||
|
||
- repo: https://github.com/igorshubovych/markdownlint-cli | ||
rev: v0.35.0 | ||
hooks: | ||
- id: markdownlint | ||
args: [-c.markdown.yaml] | ||
- id: markdownlint-fix | ||
args: [-c.markdown.yaml] | ||
|
||
- repo: https://github.com/talos-systems/conform | ||
rev: v0.1.0-alpha.27 | ||
hooks: | ||
- id: conform | ||
stages: | ||
- commit-msg | ||
|
||
- repo: https://github.com/codespell-project/codespell | ||
rev: v2.2.4 | ||
hooks: | ||
- id: codespell | ||
args: [ | ||
-L, | ||
'ser,exite,lew,isplay,erro,hart,hve,som,gir,\ | ||
synopsys,uests,datas,synopsys,tung,ot,hda,parm' | ||
] | ||
|
||
- repo: local | ||
hooks: | ||
- id: double_slashes_url_external | ||
name: Check double slashes in external URLs | ||
entry: https?:\/\/[^\s]*(?<!http:)((?<!https:)\/\/).* | ||
language: pygrep | ||
exclude: '^.*.(jpeg|jpg|png|pdf)$' | ||
- id: double_slashes_url_markdown | ||
name: Check double slashes in markdown URLs | ||
entry: (^[^\s]*\:\s|]\()[^\s)]*(?<!git:)((?<!http:)((?<!https:)\/\/)) | ||
language: pygrep | ||
exclude: '^.*.(jpeg|jpg|png|pdf)$' | ||
|
||
ci: | ||
autoupdate_commit_msg: 'pre-commit: autoupdate hooks' | ||
autofix_prs: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
extends: default | ||
|
||
rules: | ||
comments: | ||
require-starting-space: true | ||
ignore-shebangs: true | ||
min-spaces-from-content: 2 | ||
document-start: | ||
present: true | ||
level: error | ||
indentation: | ||
spaces: 2 | ||
line-length: disable | ||
truthy: | ||
check-keys: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,3 @@ title: "{{ replace .Name "-" " " | title }}" | |
date: {{ .Date }} | ||
draft: true | ||
--- | ||
|
Oops, something went wrong.