-
Notifications
You must be signed in to change notification settings - Fork 236
feat: BASH_SHFMT linter + linter fixes #709
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,6 +10,7 @@ APPLY_FIXES: none | |
| # If you use ENABLE_LINTERS variable, all other linters will be disabled by default | ||
| ENABLE_LINTERS: | ||
| - BASH_EXEC | ||
| - BASH_SHFMT | ||
| - CLOUDFORMATION_CFN_LINT | ||
| - DOCKERFILE_HADOLINT | ||
| - EDITORCONFIG_EDITORCONFIG_CHECKER | ||
|
|
@@ -30,16 +31,20 @@ FILEIO_REPORTER: false | |
|
|
||
| # Install plugin for list handling. | ||
| JSON_PRETTIER_PRE_COMMANDS: | ||
| - command: "npm install [email protected].0" | ||
| - command: "npm install [email protected].4" | ||
| cwd: "workspace" | ||
|
|
||
| CLOUDFORMATION_CFN_LINT_CONFIG_FILE: '.cfnlintrc' | ||
| CLOUDFORMATION_CFN_LINT_FILE_EXTENSIONS: [".yml", ".yaml"] | ||
|
|
||
| EDITORCONFIG_EDITORCONFIG_CHECKER_CONFIG_FILE: '.ecrc.json' | ||
|
|
||
| MARKDOWN_MARKDOWN_LINK_CHECK_ARGUMENTS: '-q' | ||
| MARKDOWN_MARKDOWNLINT_DISABLE_ERRORS: false | ||
|
|
||
| SPELL_CSPELL_ARGUMENTS: '--gitignore --no-progress --show-suggestions' | ||
| SPELL_CSPELL_FILE_EXTENSIONS: ["*"] | ||
|
|
||
| TERRAFORM_TFLINT_UNSECURED_ENV_VARIABLES: | ||
| - GITHUB_TOKEN | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,7 +34,7 @@ echo "<VirtualHost *:80> | |
| ProxyRequests Off | ||
| ProxyPass / http://localhost:8080/ | ||
| ProxyPassReverse / http://localhost:8080/ | ||
| </VirtualHost>" >> sudo /etc/httpd/conf/httpd.conf | ||
| </VirtualHost>" /etc/httpd/conf/httpd.conf >>sudo | ||
|
||
|
|
||
| # start the httpd service now and stop it until userdata | ||
| sudo service httpd start | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be me, but personally I like the space after the
>sign.It makes things more readable I think. What are your thoughts?
And can we change this setting?
A bit surprising that it does enforce spaces around
|.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with you. Adding
space_redirects = trueto editorconf to fix this.