🖥️jslint

➡️This is a command-line reference manual for commands and command combinations that you don’t use often enough to remember it. This cheatsheet explains the jslint command with important options and switches using examples.

▁ ▂ ▃ ▄ ꧁ 🔴☠ COMMANDLINE-KUNGFU WITH CHEATSHEETS ☠🔴꧂▅ ▃ ▂ ▁

#       ██╗███████╗██╗     ██╗███╗   ██╗████████╗
#       ██║██╔════╝██║     ██║████╗  ██║╚══██╔══╝
#       ██║███████╗██║     ██║██╔██╗ ██║   ██║   
#  ██   ██║╚════██║██║     ██║██║╚██╗██║   ██║   
#  ╚█████╔╝███████║███████╗██║██║ ╚████║   ██║   
#   ╚════╝ ╚══════╝╚══════╝╚═╝╚═╝  ╚═══╝   ╚═╝   

# jslint
# 
# The JavaScript Code Quality Tool written by Dougls Crockford

# to install jslint
sudo npm install jslint -g

# lint all the JavaScript files in the current directory:
find . -name '*.js' -print0 | xargs -0 jslint

# lint all the JavaScript files in a targeted directory:
find ./public/javascripts/ -name '*.js' -print0 | xargs -0 jslint

# Parameter-less options passed to jslint are all set to true by default,
# if you want to set it false, just specify 'false' after the option
jslint --bitwise false hello.js
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

  █║▌│║█║▌★ KALI ★ PARROT ★ DEBIAN 🔴 PENTESTING ★ HACKING ★ █║▌│║█║▌

              ██╗ ██╗ ██████╗  ██████╗ ██╗  ██╗███████╗██████╗
             ████████╗██╔══██╗██╔═══██╗╚██╗██╔╝██╔════╝██╔══██╗
             ╚██╔═██╔╝██║  ██║██║   ██║ ╚███╔╝ █████╗  ██║  ██║
             ████████╗██║  ██║██║   ██║ ██╔██╗ ██╔══╝  ██║  ██║
             ╚██╔═██╔╝██████╔╝╚██████╔╝██╔╝ ██╗███████╗██████╔╝
              ╚═╝ ╚═╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚══════╝╚═════╝

               █║▌│║█║▌ WITH COMMANDLINE-KUNGFU POWER █║▌│║█║▌

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░