Skip to content

diogofgomespinheiro/eslint-config-diogop96

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Personal ESLint and Prettier config

Whats included?

  • Standard config base;
  • React plugin;
  • React Hooks plugin;
  • Import helpers plugin;
  • JSX a11y plugin;
  • Prettier;

Setup

  1. Install the dependencies
npm i -D eslint @diogop_96/eslint-config
  1. Create a .eslintrc.js file extending the config:
{
  "extends": "@diogop_96/eslint-config/react"
}
  1. Create a .prettierrc.js file extending the config:
module.exports = {
    ...require("@diogop_96/eslint-config/prettier"),
    // your overwrite
    printWidth: 140,
    tabWidth: 4
};

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published