Skip to content

iamdarshshah/eslint-config-iamdarshshah

Repository files navigation

eslint-config-iamdarshshah 🔖

npm

My personal eslint-prettier configuration.

Local / Per Project Installation 📦

This package is hosted on npm.

Install the configuration and it's peer dependencies as a development dependency.

npx install-peerdeps --dev eslint-config-iamdarshshah

This installs peer dependencies automatically using npx and install-peerdeps so you don't have to!

Usage 🔨

Create an .eslintrc file in the root of your project. Your .eslintrc file should look like this:

{
  "extends": ["iamdarshshah"]
}

Tip: You can alternatively put this object in your package.json under the property "eslintConfig":. This makes one less file in your project.

You can add more ESLint configuration options in this file if you want.

Contributing 📌

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Or you can consult the ESLint Shareable Configs documentation.

And if all else fails, you can ask me directly on Twitter.

License 🛑

This project is licensed under the MIT License - see the LICENSE file for details.

Inspired By 🚀