Static Analysis Quickstart Project

Prettier Playground Tool that helps generating Prettier config (.prettierrc)

Commands/Tools

Tools

eslint - Reports and fixes syntax errors and other code problems

lintstaged - Runs commands against staged files. (ex. eslint, prettier)

prettier - Formats code and json

husky - Run commands on githooks

npm-run-all - Runs multiple commands. With ---parallel, runs commands in parallel

npm-run-all --parallel [commands]

Commands

npx eslint . --fix // Automatically fix ESLint errors npx format // Fix
npx format // Runs prettier against changed files

formating issues

Visual Code Commands

cmd + shift + p > format document