@amcef/eslint-config-react

1.0.2 • Public • Published

AMCEF Eslint config for React apps (v17+)

Extended Eslint config using prettier and import sort packages plugins

Installation

npm install --save-dev eslint@^8.0.0 @amcef/eslint-config-react

or

yarn add --dev eslint@^8.0.0 @amcef/eslint-config-react

Config is installed together with dependencies (prettier, import sorting plugins)

Update package.json file (example with react config):

{
  "eslintConfig": {
    "extends": [
      "@amcef/eslint-config-react"
    ]
  },
  "scripts": {
    "lint": "eslint \"src/**/*.ts?(x)\"",
    "lint:fix": "eslint --fix \"src/**/*.ts?(x)\""
  }
}

Package Sidebar

Install

npm i @amcef/eslint-config-react

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

5.69 kB

Total Files

4

Last publish

Collaborators

  • mnagy112