This repository has been archived by the owner on Dec 28, 2023. It is now read-only.
generated from wildtechgarden/module-starter-hugo-wtg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit df2a82e
Showing
39 changed files
with
4,624 additions
and
0 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,43 @@ | ||
# https://editorconfig.org/ for details | ||
# cspell:ignore badcommand | ||
|
||
# Users should set their preferred tab_width in their personal .editorconfig | ||
# otherwise it defeats the purpose of using tabs (choice of tab size appearance) | ||
# and in fact can matter for accessibility. | ||
root = false | ||
|
||
# defaults | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = tab | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
# YAML (requires spaces not tabs) | ||
[*.{yml,yaml}] | ||
indent_size = 2 | ||
indent_style = space | ||
|
||
# Make sure we don't trim hard line breaks | ||
# Using pre-commit we can clean out unwanted trailing whitespace | ||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[*.svg] | ||
insert_final_newline = false | ||
trim_trailing_whitespace = false | ||
|
||
# Ignore problematic file types | ||
[*.txt] | ||
ignore = true | ||
|
||
# For .sh files specific overrides may be necessary when using HEREDOCS or | ||
# the like | ||
# [{path/to/bad/*.sh,path/to/badcommand}] | ||
# ignore = true | ||
|
||
# Ignore "third party" directories | ||
[{third_party,vendor,_vendor,node_modules}/**] | ||
ignore = true |
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,26 @@ | ||
--- | ||
# yamllint disable rule:key-ordering | ||
name: build-audit | ||
on: # yamllint disable-line | ||
pull_request: | ||
branches: | ||
- main | ||
types: | ||
- assigned | ||
- opened | ||
- synchronize | ||
- reopened | ||
jobs: | ||
# yamllint disable rule:line-length | ||
audit-only: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run audit-build-action-hugo using config from tests/config | ||
uses: wildtechgarden/audit-build-action-hugo@main | ||
with: | ||
base-url: "https://example.com/" | ||
config-file: hugo.toml | ||
hugo-version: latest | ||
source-directory: tests/config | ||
... |
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,11 @@ | ||
.git | ||
/public/ | ||
resources/ | ||
exampleSite/resources/ | ||
exampleSite/public/ | ||
node_modules | ||
*.log | ||
*.lock | ||
.env | ||
.disabled-env | ||
hugo-cache/ |
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,13 @@ | ||
{ | ||
"MD007": { | ||
"indent": 1 | ||
}, | ||
"MD010": false, | ||
"MD013": { | ||
"code_blocks": false, | ||
"heading_line_length": 70, | ||
"stern": false, | ||
"strict": false, | ||
"tables": 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,137 @@ | ||
--- | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
# yamllint disable rule:line-length | ||
# Initially copied from https://github.com/davidsneighbour/kollitsch.dev/blob/main/.pre-commit-config.yaml | ||
# yamllint enable | ||
ci: | ||
autofix_prs: false | ||
autoupdate_branch: pre-commit-updates | ||
submodules: true | ||
|
||
fail_fast: true | ||
minimum_pre_commit_version: 3.2.1 | ||
|
||
# yamllint disable rule:key-ordering | ||
repos: | ||
- repo: "https://github.com/pre-commit/pre-commit-hooks" | ||
rev: v4.4.0 | ||
hooks: | ||
- id: check-added-large-files | ||
exclude: ^(package-lock\.json$) | ||
# - Prevent giant files from being committed. | ||
- id: check-case-conflict | ||
# - checks for files that would conflict in | ||
# case-insensitive filesystems. | ||
- id: check-json | ||
# - checks json files for parsable syntax. | ||
exclude: ^(layouts/|.vscode/|_vendor) | ||
- id: check-merge-conflict | ||
# - checks for files that contain merge conflict strings. | ||
- id: check-symlinks | ||
# - checks for symlinks which do not point to anything. | ||
- id: check-toml | ||
# - checks toml files for parsable syntax. | ||
- id: check-vcs-permalinks | ||
# - ensures that links to vcs websites are permalinks. | ||
- id: check-yaml | ||
# - checks yaml files for parsable syntax. | ||
- id: destroyed-symlinks | ||
# - detects symlinks which are changed to regular | ||
# files with a content of a path which that symlink was pointing to. | ||
- id: detect-private-key | ||
# - detects the presence of private keys. | ||
- id: file-contents-sorter | ||
files: ^(tests/config/words-.*.txt$) | ||
args: [--unique] | ||
- id: fix-byte-order-marker | ||
# - removes utf-8 byte order marker | ||
- id: forbid-new-submodules | ||
# - prevents addition of new git submodules. | ||
- id: mixed-line-ending | ||
# replaces or checks mixed line ending. | ||
- id: no-commit-to-branch # - don't commit to branch | ||
args: [ | ||
--branch, | ||
main, | ||
--branch, | ||
"v0.[0-9]" # yamllint disable-line | ||
] | ||
- id: pretty-format-json | ||
# - Checks that all your JSON files are pretty. "Pretty" | ||
# here means that keys are sorted and indented. | ||
args: [--autofix, --indent, " "] | ||
exclude: ^(package(-lock)?.json$|cspell.json$) | ||
- id: trailing-whitespace | ||
exclude: ^(_vendor) | ||
args: [--markdown-linebreak-ext=md] | ||
|
||
- repo: "https://github.com/thibaudcolas/pre-commit-stylelint" | ||
rev: v15.10.3 | ||
hooks: | ||
- id: stylelint | ||
additional_dependencies: | ||
- stylelint@^15.10.3 | ||
- stylelint-config-standard@^34.0.0 | ||
- stylelint-config-recommended@^13.0.0 | ||
- stylelint-order@^6.0.3 | ||
args: | ||
- --config | ||
- .stylelintrc.json | ||
- --allow-empty-input | ||
files: \.(css$) | ||
|
||
- repo: "https://github.com/igorshubovych/markdownlint-cli" | ||
rev: v0.35.0 | ||
hooks: | ||
- id: markdownlint | ||
args: [--config, .markdownlint.json] | ||
files: .+\.(md|markdown)$ | ||
|
||
- repo: "https://github.com/PrincetonUniversity/blocklint" | ||
rev: v0.2.4 | ||
hooks: | ||
- id: blocklint | ||
|
||
- repo: "https://github.com/adrienverge/yamllint" | ||
rev: v1.32.0 | ||
hooks: | ||
- id: yamllint | ||
args: [-c=./.yamllint.yaml] | ||
exclude: ^(_vendor) | ||
|
||
- repo: "https://github.com/zricethezav/gitleaks" | ||
rev: v8.18.0 | ||
hooks: | ||
- id: gitleaks | ||
|
||
- repo: "https://github.com/jorisroovers/gitlint" | ||
rev: v0.19.1 | ||
hooks: | ||
- id: gitlint | ||
|
||
- repo: "https://github.com/editorconfig-checker/editorconfig-checker.python" | ||
rev: 2.7.2 | ||
hooks: | ||
- id: editorconfig-checker | ||
alias: ec | ||
exclude: ^(LICENSE$|README.md$|package(-lock)?.json$|_vendor) | ||
|
||
- repo: "https://github.com/streetsidesoftware/cspell-cli" | ||
rev: v7.3.0 | ||
hooks: | ||
- id: cspell | ||
additional_dependencies: | ||
- "@cspell/dict-en-ca" | ||
- "@cspell/dict-fr-fr" | ||
- "@cspell/dict-fr-reforme" | ||
args: | ||
- --gitignore | ||
- --gitignore-root | ||
- --no-cache | ||
- --no-must-find-files | ||
- --show-context | ||
- --show-suggestions | ||
- --validate-directives | ||
exclude: ^(cspell.json$) # yamllint disable-line | ||
... |
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,10 @@ | ||
{ | ||
"extends": "stylelint-config-standard", | ||
"plugins": [ | ||
"stylelint-order" | ||
], | ||
"rules": { | ||
"declaration-block-no-shorthand-property-overrides": true, | ||
"order/properties-alphabetical-order": true | ||
} | ||
} |
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,64 @@ | ||
--- | ||
# yamllint disable rule:line-length | ||
# Initially copied from https://github.com/davidsneighbour/kollitsch.dev/blob/main/tests/config/yamllint.yaml | ||
# yamllint enable | ||
extends: default | ||
|
||
# https://yamllint.readthedocs.io/en/stable/rules.html | ||
rules: | ||
braces: enable | ||
brackets: enable | ||
colons: enable | ||
commas: enable | ||
comments: | ||
ignore-shebangs: true | ||
level: error | ||
min-spaces-from-content: 1 | ||
require-starting-space: true | ||
comments-indentation: | ||
level: error | ||
document-end: | ||
level: warning | ||
document-start: enable | ||
empty-lines: | ||
max: 1 | ||
max-end: 1 | ||
max-start: 0 | ||
empty-values: disable | ||
hyphens: enable | ||
indentation: | ||
check-multi-line-strings: true | ||
indent-sequences: false | ||
spaces: 2 | ||
key-duplicates: enable | ||
key-ordering: | ||
level: warning | ||
line-length: | ||
max: 80 | ||
new-line-at-end-of-file: enable | ||
new-lines: | ||
type: unix | ||
octal-values: | ||
forbid-explicit-octal: true | ||
forbid-implicit-octal: true | ||
quoted-strings: | ||
# extra-allowed: [] | ||
# yamllint disable rule:quoted-strings | ||
extra-required: [ | ||
"^http://", | ||
"^https://", | ||
"^ftp://" | ||
] | ||
# yamllint enable | ||
quote-type: double | ||
# required: false | ||
required: only-when-needed | ||
trailing-spaces: enable | ||
# truthy: | ||
# level: warning | ||
|
||
yaml-files: | ||
- "*.yaml" | ||
- "*.yml" | ||
- "*.md" | ||
... |
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,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 Wild Tech 'Garden' and contributors | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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,33 @@ | ||
# Module nouveau á l'Hugo au Wild Tech 'Garden' | ||
|
||
Décrit: TBD | ||
URL du référentiel: <https://github.com/wildtechgarden/module-starter-hugo-wtg>\ | ||
Site: <https://www.module-starter.wtg-demos.ca>\ | ||
Statut IC: [](https://results.pre-commit.ci/latest/github/wildtechgarden/module-starter-hugo-wtg/main) | ||
|
||
## Matières | ||
|
||
1. [Matières](#matières) | ||
2. [Fonctionnalités](#fonctionnalités) | ||
3. [Utilisation](#utilisation) | ||
4. [Développement](#développement) | ||
5. [Colophon](#colophon) | ||
|
||
## Fonctionnalités | ||
|
||
TBD | ||
|
||
## Utilisation | ||
|
||
TBD | ||
|
||
## Développement | ||
|
||
TBD | ||
|
||
------- | ||
|
||
## Colophon | ||
|
||
Copyright © 2023 Wild Tech 'Garden' | ||
[Publié sous license MIT](LICENSE) |
Oops, something went wrong.