generated from aifrak/template-repo
-
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.
chore(scripts): Reorder script names (#530)
- Script names are now as follow: [purpose]:[scope] - Rename `install-deps` to `install:deps` - Rename `lint-staged` to `lint:staged` - Rename `elixir:eex` to `eex` - Rename `elixir-for-workspace.txt` to `elixir-custom.txt` - Reenable shellcheck SC2119 - Adapt documentation
- Loading branch information
Showing
25 changed files
with
190 additions
and
190 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
./run install-deps | ||
./run install:deps | ||
|
||
cat <<EOF | ||
|
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,41 +1,41 @@ | ||
"*": | ||
- ./run spellcheck:lint | ||
- ./run lint:spellcheck | ||
|
||
"*.{ex,exs}": | ||
- ./run elixir:credo | ||
- ./run elixir:format:lint | ||
- ./run lint:elixir:credo | ||
- ./run lint:elixir:format | ||
|
||
# HACK: "fake1" is a workaround to run different Elixir checks in parallel | ||
# https://github.com/okonet/lint-staged/issues/934#issuecomment-743299357 | ||
"*.{ex,exs,fake1}": | ||
- ./run elixir:lint:light | ||
- ./run lint:elixir:light | ||
|
||
"*.{css,less,sass,scss}": | ||
- ./run css:lint | ||
- ./run prettier:lint | ||
- ./run lint:css | ||
- ./run lint:prettier | ||
|
||
"*.{htm,html}": | ||
- ./run html:lint | ||
- ./run prettier:lint | ||
- ./run lint:html | ||
- ./run lint:prettier | ||
|
||
"*.js": | ||
- ./run js:lint | ||
- ./run prettier:lint | ||
- ./run lint:js | ||
- ./run lint:prettier | ||
|
||
"*.html.{eex,leex}": | ||
- ./run elixir:eex:lint | ||
- ./run lint:eex | ||
|
||
"{run,.husky/*,*.sh}": | ||
- ./run shell:lint | ||
- ./run lint:shell | ||
|
||
"Dockerfile*": | ||
- ./run dockerfile:lint | ||
- ./run lint:dockerfile | ||
|
||
"*.{json,yaml,yml,htmlhintrc}": | ||
- ./run prettier:lint | ||
- ./run lint:prettier | ||
|
||
# CHANGELOG.md text is generated automatically. | ||
# Also, as the file grows, it will take longer to lint and format. | ||
"!(CHANGELOG).md": | ||
- ./run prettier:lint | ||
- ./run markdown:lint | ||
- ./run lint:prettier | ||
- ./run lint:markdown |
Oops, something went wrong.