ã·ã§ã«ã¹ã¯ãªããã大ããã®ãã®ãæ¸ãã¦ããã¨ã©ãã©ãä¸å®ã«ãªã£ã¦ããã ãã¨ãããæ¸ãã¨ãããã¿ãããªãã®ããããã«ããã Linterãæ¢ãã¦ã¿ãã ã·ã§ã«ã®-nãªãã·ã§ã³ ã·ã§ã«ã«å®è¡ãã確èªã ãã¨ãããªãã·ã§ã³-nãããã¨ã®ãã¨ãä¸è¨ã¯å種ã·ã§ã«ã§è©¦ãã«ã¼ãã for shell in zsh ksh bash dash sh do echo "Testing ${shell}" ${shell} -n my_script.sh done stackoverflow.com ShellCheck Linterããã£ããWebä¸ã®ãã©ã¼ã ã«ã³ããããã¨ææãã¦ãããã www.shellcheck.net ã³ãã³ãã©ã¤ã³ãã¼ã«ã¨ãã¦ãå©ç¨ã§ããã cabalãbrewã§å ¥ããããã cabal install shellcheck brew install shellcheck 使ãæ¹
{{#tags}}- {{label}}
{{/tags}}