eslint-config-catch

1.1.0 • Public • Published

eslint-config-catch

A composable set of ESLint configurations, for Catch Group Web Team only.


This project is based on Airbnb ESLint rules , extended by Catch Group Web team with modifications by requirements.

Installation

  1. Install this config package and ESLint:

    $ npm install --save-dev eslint eslint-config-catch eslint-config-airbnb@17.0.0

    or

    $ yarn add eslint eslint-config-catch eslint-config-airbnb@17.0.0
  2. Then, install any additional dependencies required by your configuration. (See Dependencies section below.)

    e.g.
    ```bash
    $ npm install --save-dev eslint-plugin-filenames babel-eslint
    ```
    

Usage

To consume and extend a config in ESLint just add the extends attribute to your .eslintrc. For more details about how shareable configs work, see the ESLint documentation.

---
"extends":
  - "catch"

If you only need React rules, you can do the following:

---
"extends":
  - "catch/rules/react"

About CI/CD

This repo is managed by Travis and npm hooks. It follows the Semantic Release process and gets deployed automatically by Travis if the build is successful on master branch.

To contribute to this repo, please install Commitizen Cli and follow the instructions if you are submitting new commit.

Please never release via Github Manually.

License

Copyright (c) 2018-present, Catch.com.au

Package Sidebar

Install

npm i eslint-config-catch

Weekly Downloads

3

Version

1.1.0

License

MIT

Unpacked Size

216 kB

Total Files

9

Last publish

Collaborators

  • cahamilton
  • mattyao-cotd