scripts
A Node.js command-line utility that allows web developers to improve the overall code styling and enforce some standards and best practices.
#
Installation#
UsageThe main command is
iq-web-scripts
but there is a short/alias asiqws
Or add a script to your packages.json
#
CLI Options#
Using each commandiqws lint
: run ESLint for all files in the projectiqws lint write
: run ESLint for all files and fix the code when possible in the projectiqws linc
: run ESLint for modified files only in the projectiqws linc write
: run ESLint for modified files only and fix the code when possible in the projectiqws prettier
: run Prettiercheck
for all files in the projectiqws prettier check-changed
: run Prettiercheck
for modified files only in the projectiqws prettier write
: run Prettier and fix styling for all files in the projectiqws prettier write-changed
: run Prettier and fix styling for modified files only in the projectiqws -h
: show list of commandsiqws -v
: show version