Skip to content

michelegera/code-linting-setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code linting tools

This a template to set up standard code linting tools for JS projects in my preferred configuration.

# Default
yarn add -D \
  eslint \
  eslint-config-prettier \
  eslint-plugin-import \
  eslint-plugin-prettier \
  husky \
  lint-staged \
  prettier

# Add these for React/Next.js
yarn add -D \
  eslint-plugin-react