eslint-config-side

1.0.7 • Public • Published

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

  1. Create a .eslintrc file at the root of your project

  2. extend our linter by typing { extends: "eslint-config-side" }

  3. 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 the eslint-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

Package Sidebar

Install

npm i eslint-config-side

Weekly Downloads

0

Version

1.0.7

License

ISC

Unpacked Size

4.52 kB

Total Files

6

Last publish

Collaborators

  • t3_rry
  • lgosse
  • marionside
  • leodarriet
  • juju2