1.0.1 โข Published 3 years ago
@pixelmatters/eslint-config-react v1.0.1
๐ Get Up and Running
You can install this package using the package manger of your choice.
This package requires you to add some missing peer dependencies:
Add the new dependencies
If you are using pnpm:
pnpm install -D @pixelmatters/eslint-config-react @typescript-eslint/eslint-plugin eslint-plugin-prettier typescript eslint prettier
If you are using yarn:
yarn add -D @pixelmatters/eslint-config-react @typescript-eslint/eslint-plugin eslint-plugin-prettier typescript eslint prettier
If you are using npm:
npm install --save-dev @pixelmatters/eslint-config-react @typescript-eslint/eslint-plugin eslint-plugin-prettier typescript eslint prettier
Tell ESLint to use this config
Create an .eslintrc.js
file in the root of your project and add the following code:
module.exports = {
extends: ['@pixelmatters/eslint-config-react'],
};
At this point you should be good to go ๐
๐ค How to Contribute
Whether you're helping us fix bugs, improve the docs, or spread the word, thank you! ๐ช ๐งก
Check out our Contributing Guide for ideas on contributing and setup steps.
:memo: License
Licensed under the MIT License.
1.0.1
3 years ago