eslint-config-andremarquesdev

1.3.3 • Public • Published

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

Dependencies (13)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i eslint-config-andremarquesdev

    Weekly Downloads

    1

    Version

    1.3.3

    License

    MIT

    Unpacked Size

    13 kB

    Total Files

    7

    Last publish

    Collaborators

    • andre.marques.dev