2.3.11 • Published 10 months ago

@gustavogvbs/eslint-config v2.3.11

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

My ESLint and Prettier config

Whats included?

  • React plugin;
  • React Hooks plugin;
  • JSX a11y plugin;
  • Import Helpers;
  • Prettier;

Setup

Step 1

Install dependencies

npm i -D @gustavogvbs/eslint-config

Step 2

Inside the configuration file: .eslintrc.json

React

{
  "extends": ["@gustavogvbs/eslint-config/react"]
}

or

Node.js

{
  "extends": "@gustavogvbs/eslint-config/react"
}

Step 3

Inside .prettierrc.json

{
  "extends": "gustavogvbs/eslint-config/prettier"
}

Optional

Adding plugin configuration eslint-plugin-import-helpers

Inside .eslintrc.json

{
  "extends": ["@gustavogvbs/eslint-config/react"],
  "rules": {
    "import-helpers/order-imports": [
      "warn",
      {
        "newlinesBetween": "always",
        "groups": [...], // configure the import method
        "alphabetize": { "order": "asc", "ignoreCase": true }
      }
    ]
  }
}
2.3.0

10 months ago

2.2.1

10 months ago

2.3.2

10 months ago

2.2.3

10 months ago

2.3.1

10 months ago

2.2.2

10 months ago

2.3.4

10 months ago

2.2.5

10 months ago

2.3.3

10 months ago

2.2.4

10 months ago

2.3.6

10 months ago

2.3.5

10 months ago

2.2.6

10 months ago

2.1.0

10 months ago

2.0.0

10 months ago

2.3.8

10 months ago

2.3.7

10 months ago

2.3.9

10 months ago

2.3.11

10 months ago

2.3.10

10 months ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago