@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"

/@uswitch/eslint-config/

    Package Sidebar

    Install

    npm i @uswitch/eslint-config

    Weekly Downloads

    13

    Version

    1.4.0

    License

    none

    Unpacked Size

    3.11 kB

    Total Files

    6

    Last publish

    Collaborators

    • domtronn
    • riksanchez
    • uswitch-publisher
    • segger87
    • joshuacroad
    • floraharvey
    • kristink
    • giorgia-amici
    • daffydowden
    • colourgarden