-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(shared): enable megalinter checks on pullrequests (#300)
* ci(shared): enable megalinter checks on pullrequests * ci(shared): updated contribution guidelines with CI checks * ci(shared): fix mega-linter report path for artefact upload * ci(shared): fix linting issues for modified files in pr * ci(shared): added language to fenced code blocks * ci(shared): added documentation about running mega-linter locally * ci(shared): fix table formatting
- Loading branch information
davidpoltorak-io
authored
Jan 13, 2023
1 parent
f43320f
commit dcb6b51
Showing
4 changed files
with
65 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
.idea | ||
report | ||
megalinter-reports | ||
megalinter-reports/ | ||
.vscode | ||
.bloop | ||
.bsp | ||
|
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,14 +1,24 @@ | ||
--- | ||
# See https://pre-commit.com for more information | ||
# See https://pre-commit.com/hooks.html for more hooks | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.2.0 | ||
hooks: | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-added-large-files | ||
- id: trailing-whitespace | ||
- id: end-of-file-fixer | ||
- id: check-added-large-files | ||
- repo: https://github.com/compilerla/conventional-pre-commit | ||
rev: v1.4.0 | ||
hooks: | ||
- id: conventional-pre-commit | ||
stages: [commit-msg] | ||
- id: conventional-pre-commit | ||
stages: [commit-msg] | ||
- repo: https://github.com/oxsecurity/megalinter | ||
rev: v6.8.0 # Git tag specifying the hook, not mega-linter-runner, version | ||
hooks: | ||
- id: megalinter-incremental # Faster, less thorough | ||
stages: | ||
- commit | ||
- id: megalinter-full # Slower, more thorough | ||
stages: | ||
- push |
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