michelegera / code-linting-setup

πŸ›€ Standard code linting setup for JS projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

πŸ›€ Standard code linting setup for JS projects

License:MIT License


Languages

Language:JavaScript 100.0%