@uswitch/eslint-config

1.4.0 • Public • Published

An eslint config for Uswitch

Install

npm install @uswitch/eslint-config

Add to .eslintrc

{
  "extends": [ "@uswitch" ]
}

or in package.json

"eslintConfig": {
  "extends": [ "@uswitch" ]
}

You will need the peer dependencies, easiest is to add the following to your project's dependencies in package.json and then npm install

"eslint": "^7",
"eslint-plugin-flowtype": "^5",
"eslint-plugin-import": "^2",
"eslint-plugin-jest": "^24",
"eslint-plugin-jsx-a11y": "^6",
"eslint-plugin-no-secrets": "^0.8",
"eslint-plugin-node": "^11",
"eslint-plugin-prettier": "^3",
"eslint-plugin-promise": "^4",
"eslint-plugin-react": "^7",
"eslint-plugin-react-hooks": "^4",
"eslint-plugin-security": "^1",
"eslint-plugin-unicorn": "^28",
"eslint-plugin-you-dont-need-momentjs": "^1",
"prettier": "^2"

Readme

Keywords

none

Package Sidebar

Install

npm i @uswitch/eslint-config

Weekly Downloads

2

Version

1.4.0

License

none

Unpacked Size

3.11 kB

Total Files

6

Last publish

Collaborators

  • phelm
  • ricardomccerqueira
  • domtronn
  • riksanchez
  • uswitch-publisher
  • brendonboshell
  • velrok
  • daniel.whyte
  • peterhorne-uswitch
  • salomao-rodrigues
  • enio
  • segger87
  • joshuacroad
  • jonthanfielding
  • floraharvey
  • kristink
  • giorgia-amici
  • barneyfoxuk
  • nate25
  • natyeo
  • mferry2016
  • daffydowden