1.3.3 • Published 8 months ago

eslint-config-andremarquesdev v1.3.3

Weekly downloads
2
License
MIT
Repository
github
Last release
8 months ago

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