Wondering what’s next for npm?Check out our public roadmap! »

    @restorecommerce/eslint-config-restorecommerce

    0.1.5 • Public • Published

    eslint-config-restorecommerce

    The eslint configs used for Restore Commerce. The ruleset is just a slightly modified version of eslint-config-airbnb-base.

    Usage

    Add it as a dev-dependency:

    "devDependencies": {
      "eslint-config-restorecommerce": "restorecommerce/eslint-config-restorecommerce",
      ...
    }

    Add a script lint like so:

    "scripts": {
      "lint": "eslint *.json *.js lib/**",
      ...
    }

    Have a file .eslintrc and add:

    {
      "extends": "eslint-config-restorecommerce"
    }

    Install

    npm i @restorecommerce/eslint-config-restorecommerce

    DownloadsWeekly Downloads

    5

    Version

    0.1.5

    License

    MIT

    Unpacked Size

    3.37 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar