shellharden
bash-language-server
shellharden | bash-language-server | |
---|---|---|
16 | 23 | |
4,556 | 1,946 | |
- | 2.4% | |
5.0 | 9.4 | |
about 1 month ago | 5 days ago | |
Rust | TypeScript | |
Mozilla Public License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
shellharden
-
Shellcheck finds bugs in your shell scripts
Everytime I see Shellcheck coming up, I have to mention shellharden[0] written by a colleague of mine. It is basically shellcheck but it applies the suggested changes automatically.
0: https://github.com/anordal/shellharden
-
similar to shellcheck?
Also worth mentioning shellharden
-
Bash Pitfalls
See also:
* https://www.shellcheck.net/ — linting tool to avoid common mistakes and improve your script
* Bash Practices: https://mywiki.wooledge.org/BashGuide/Practices
* Bash Pitfalls: https://mywiki.wooledge.org/BashPitfalls
* safe ways to do things in bash: https://github.com/anordal/shellharden/blob/master/how_to_do...
* better scripting: https://robertmuth.blogspot.in/2012/08/better-bash-scripting...
* robust scripting: https://www.davidpashley.com/articles/writing-robust-shell-s...
-
Code formatter, linters, etc. Recommendations?
There is shellcheck, and shellharden which is a strict version of it. There are similar stuff here, some that also help with your editor. You can also use a docker version of shfmt. See here for a quick tutorial on shfmt.
-
What is best Method of Submitting Bash Script, short Python ignorance confession (lament.)
Regarding linters, there are several of them in most languages.For bash, there is Shellcheck or a more strict (and sometimes confusing) Shellharden to do exactly what you want.
-
Awesome Rewrite It In Rust - A curated list of replacements for existing software written in Rust
For example, shellharden looks awesome.
- anordal/shellharden Safe ways to do things in bash
- How to do things safely in Bash
- How to do things safely in Bash (2018)
bash-language-server
-
Being a bash developer in the 21st century
In neovim I would recommend setting shellcheck with null.ls or using the bash language server: https://github.com/bash-lsp/bash-language-server
both work really well
- Oils 0.17.0 – YSH Is Becoming Real
-
The Case for Bash (2021)
Also maybe check out the bash language server.
https://github.com/bash-lsp/bash-language-server/
-
Eglot or LSP complete in shell?
In that case, I think Eglot supports this language server: https://github.com/bash-lsp/bash-language-server out of the box but I've never tried it.
-
Can treesitter be used to markdown-to-html things?
There are some language servers that are built using tree-sitter, so it's not impossibly slow. Github was running their syntax highlighting using tree-sitter I believe for the website.
- How often do you google or search for Bash commands/syntax?
-
similar to shellcheck?
There are also: - shfmt - sh - bash language server - bashate
-
How to improve your vim/nvim coding experience with vim-easycomplete?
Shell: bash-language-server required.
-
Ask HN: Let's Build CheckStyle for Bash?
- Bash Language Server: https://github.com/bash-lsp/bash-language-server
-
Common shell script mistakes (2008)
As well, having a bash language server enabled (https://github.com/bash-lsp/bash-language-server) helps immensely.
What are some alternatives?
ShellCheck - ShellCheck, a static analysis tool for shell scripts
shfmt - Dockernized shfmt. This formats shell script.
nvim-lspconfig - Quickstart configs for Nvim LSP
shfmt - A shell formatter (sh/bash/mksh)
LSP-bash - Bash support for Sublime's LSP plugin provided through bash-language-server.
azure-policy - Repository for Azure Resource Policy built-in definitions and samples
volar - ⚡ Explore high-performance tooling for Vue [Moved to: https://github.com/vuejs/language-tools]
sh - A shell parser, formatter, and interpreter with bash support; includes shfmt
vscode-java - Java Language Support for Visual Studio Code
rust_cmd_lib - Common rust command-line macros and utilities, to write shell-script like tasks in a clean, natural and rusty way
vscode-yaml - YAML support for VS Code with built-in kubernetes syntax support