Skip to content

AndreMarquesDev/eslint-config-andremarquesdev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-andremarquesdev

npm npm bundle size npm peer dependency version GitHub license GitHub last commit

ESLint config used by AndreMarquesDev

Supports

ESLint Badge JavaScript Badge Typescript Badge React Badge React Hooks Badge Prettier Badge Jest Badge Testing Library Badge

How to use

  1. Install the package:
npm install --dev eslint-config-andremarquesdev

or

yarn add --dev eslint-config-andremarquesdev
  1. Create a .eslintrc.js file in the root of your project's directory (it should live where package.json does). It should look like this:
module.exports = {
    extends: [
        'andremarquesdev',
    ],
};
  1. You can add two scripts to your package.json to lint and/or fix:
"scripts": {
  "lint": "tsc --noEmit && eslint . --ext .js,.ts,.tsx",
  "lint:fix": "tsc --noEmit && eslint . --ext .js,.ts,.tsx --fix"
},

Author

André Marques
Website
GitHub
CodePen
Twitter

License

MIT

About

ESLint config used by AndreMarquesDev

Resources

License

Stars

Watchers

Forks