-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
29 changed files
with
237 additions
and
63 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
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
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
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
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,3 @@ | ||
{ | ||
"head-script-disabled": 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,46 @@ | ||
# https://github.com/DavidAnson/markdownlint#optionsconfig | ||
# https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.yaml | ||
|
||
# Based on https://github.com/enola-dev/enola/blob/main/.markdownlint.yaml | ||
|
||
default: true | ||
|
||
MD007: | ||
indent: 6 | ||
start_indented: false | ||
# start_indent: 2 | ||
|
||
MD013: | ||
# Must match .editorconfig [*.md] max_line_length | ||
# This 4096 means "unlimited" (unset) - essentially https://github.com/DavidAnson/markdownlint/issues/298. | ||
# Until https://github.com/DavidAnson/markdownlint/issues/535 is available, | ||
# it's not feasilbe to set this - just too PITA, while writing docs. | ||
# | ||
# One possible avenue to enable fixing automatic reflow formatting could be | ||
# to enable Prettier to format MD (by removing *.md from .prettierignore). | ||
# This ALMOST works, but in Prettier v2.8.4 just has some issues: | ||
# A. Breaks code blocks inside 1. 1. 1. OL; see https://github.com/prettier/prettier/issues/13175 | ||
# B. Replaces '*' with '-' for UL; not my preference, but is likely intentional, | ||
# given https://prettier.io/docs/en/option-philosophy.html. | ||
# C. It over-indents '-' causing MD030; see https://github.com/prettier/prettier/issues/5299 | ||
# and https://github.com/prettier/prettier/pull/5306 or https://github.com/prettier/prettier/pull/13987 ? | ||
# Another avenue would be to look into a different MD formatter than Prettier, | ||
# perhaps remark directly ... but that seems a bit overkill, for now. | ||
line_length: 4096 | ||
code_blocks: true | ||
code_block_line_length: 4096 | ||
strict: false | ||
stern: false | ||
|
||
# Allow headings ending in '!' | ||
MD026: | ||
punctuation: ",;:。,;:" | ||
|
||
# Bare URL are OK | ||
MD034: false | ||
|
||
# https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md046---code-block-style | ||
# style: "indented" prevents setting code block language | ||
# style: "fenced" enforces ``` and thus prevents indenting, which is nicer to read in raw ASCII where possible | ||
# style: "consistent" prevents mixing indenting (without code block language) and fenced with code block language. | ||
MD046: 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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
repos: | ||
- repo: https://github.com/gitleaks/gitleaks | ||
rev: v8.16.3 | ||
hooks: | ||
- id: gitleaks | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- repo: https://github.com/gitleaks/gitleaks | ||
rev: v8.16.3 | ||
hooks: | ||
- id: gitleaks | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v4.4.0 | ||
hooks: | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace |
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 @@ | ||
.venv | ||
megalinter-reports |
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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# saraswati.learn.study | ||
https://www.learn.study | ||
|
||
<https://www.learn.study> |
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,8 @@ | ||
#!/usr/bin/env bash | ||
set -euxo pipefail | ||
|
||
rm -rf BUILT/site/ | ||
|
||
# docker container prune | ||
# docker image prune | ||
docker system prune |
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,8 @@ | ||
#!/usr/bin/env bash | ||
set -euxo pipefail | ||
|
||
# This script is for local use during development, not in CI. | ||
# It is intended to do (roughly) the same thing as the (various) GitHub Actions Workflows. | ||
|
||
bin/megalinter.sh | ||
bin/pre-commit.sh |
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,5 @@ | ||
#!/usr/bin/env bash | ||
set -euxo pipefail | ||
|
||
# Keep the version in sync with .github/workflows/mega-linter.yaml | ||
npx mega-linter-runner --remove-container --image oxsecurity/megalinter-cupcake:v7.5.0 |
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
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
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# PLEASE only use fixed (package)==(version) | ||
|
||
pre-commit==3.5.0 | ||
|
||
# CVE-2022-40897 & GHSA-r9hx-vwmv-q579 | ||
setuptools>=65.5.1 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.