Skip to content

aaditmshah/eslint-config-ivory

Repository files navigation

eslint-config-ivory

I created this eslint config to have full control over the code style of my repositories.

An ivory tower is a metaphorical place—or an atmosphere—where people are happily cut off from the rest of the world in favor of their own pursuits, usually mental and esoteric ones.

Source: Wikipedia

Usage

Following is the list of all the eslint configs exported by this package.

Installation

  1. Run the following command to install eslint-config-ivory and its peer dependencies.

    npx install-peerdeps --dev eslint-config-ivory
  2. Create an .eslintrc.json file with the following contents.

    {
      "root": true,
      "extends": "ivory"
    }
  3. Create a .prettierrc.json file with the following contents.

    "eslint-config-ivory/.prettierrc.json"