My personal eslint-prettier configuration.
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!
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.
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.
This project is licensed under the MIT License - see the LICENSE file for details.