Skip to content

yboyer/eslint-config-backend-node

Repository files navigation

ESLint configuration

Use the rules in your project

  1. On your project :

    • Uninstall all the ESLint rules packages

    • npm uninstall prettier eslint

    • npm install @yboyer/eslint-config-backend-node

    • Add prettier line on the package.json

      "prettier": "@yboyer/eslint-config-backend-node/prettierrc.json"
  2. Replace the .eslintrc file by :

    {
       "extends": ["@yboyer/eslint-config-backend-node"],
       "rules": {}
    }