Skip to content

Commit

Permalink
Make lychee configuration to a hidden file .lychee.toml
Browse files Browse the repository at this point in the history
Move lychee.toml to .lychee.toml to make it hidden.
Local calls to lychee now require .

Closes #388
  • Loading branch information
abelsiqueira committed Sep 4, 2024
1 parent 6202b00 commit 436c42a
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/Lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ jobs:
uses: lycheeverse/lychee-action@v1
with:
fail: true
args: --config '.lychee.toml' .
File renamed without changes.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning].
- Update pre-commit hook versions
- JuliaFormatter 1.0.58 -> 1.0.59
- Default Indentation changed from 2 to 4 (#403)
- Change lychee configuration to a hidden file `.lychee.toml`

## [0.9.1] - 2024-07-24

Expand Down
2 changes: 1 addition & 1 deletion docs/src/20-explanation.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Installing pre-commit (`pre-commit install`) will make sure that it runs the rel
Furthermore, if you run `pre-commit run -a`, it runs all hooks.

Some hooks in the `.pre-commit-config.yaml` file have configuration files of their own:
`.JuliaFormatter.toml`, `.markdownlint.json`, `lychee.toml`, and `.yamllint.yml`.
`.JuliaFormatter.toml`, `.markdownlint.json`, `.lychee.toml`, and `.yamllint.yml`.

Also slightly related, is the `.editorconfig` file, which tells your editor, if you install the correct plugin, how to format some things.

Expand Down
1 change: 1 addition & 0 deletions template/.github/workflows/Lint.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,4 @@ jobs:
uses: lycheeverse/lychee-action@v1
with:
fail: true
args: --config '.lychee.toml' .
File renamed without changes.

0 comments on commit 436c42a

Please sign in to comment.