1.0.7 • Published 5 years ago
eslint-config-side v1.0.7
About this package
This package provides a .eslintrc
as an extensible shared config, used at Side.co, when working on front-end projects. It extends the Airbnb Linter and add some rules. It works with React. You can find the ReactNative version of this package just here.
Current version: 1.0.7
Installation
Create a
.eslintrc
file at the root of your projectextend our linter by typing
{ extends: "eslint-config-side" }
- Then, open your terminal, go to your project's folder and run the following command to install the linter:
npm i --save-dev eslint-config-side eslint-config-airbnb eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-flowtype
Updating your project
See the changelog to check the changes before updating your project with the latest version.
Updating the linter
- Add/remove rules or plugins
- You can test on projects you have locally by replacing the link in the projet's
package.json
link to theeslint-config-side
package by a relative path to where you cloned this repo on your computer - Make a PR involving the front-end team using the update template
- Before making the PR don't forget to:
- change the version of the package
- update the README
- update the CHANGELOG