Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-catalyst

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-catalyst

ESLint shareable configs for Catalyst IT.

  • 4.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
18
increased by12.5%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-logo

eslint-config-catalyst

npm version pipeline status Commitizen friendly semantic release BSD 3 Clause license

ESLint shareable configs for Catalyst IT.

Installation

# With npm
npm install -D  \
  eslint \
  eslint-config-catalyst

# With yarn
yarn add -D  \
  eslint \
  eslint-config-catalyst

Usage

Language

JavaScript (Modern)

Install Peer Dependencies:

yarn add -D \
  babel-eslint \
  eslint-plugin-import \
  eslint-plugin-promise

Configure your project's .eslintrc file.

{
  "extends": [
    "catalyst"
  ],
  "rules": {
    // Additional, per-project rules...
  }
}
JavaScript (ES5)

Configure your project's .eslintrc file.

{
  "extends": [
    "catalyst/configs/es5.json"
  ],
  "rules": {
    // Additional, per-project rules...
  }
}
TypeScript

Install Peer Dependencies:

yarn add -D  \
  @typescript-eslint/parser \
  @typescript-eslint/eslint-plugin \
  eslint-plugin-import \
  eslint-plugin-promise

Configure your project's .eslintrc file.

{
  "parserOptions": {
    "project": "tsconfig.json"
  },
  "extends": [
    "catalyst",
    "catalyst/configs/typescript.json"
  ],
  "rules": {
    // Additional, per-project rules...
  }
}

Tools

React

Install Peer Dependencies:

yarn add -D \
  eslint-plugin-react \
  eslint-plugin-react-hooks

Configure your project's .eslintrc file.

{
  "extends": [
    "catalyst",
    "catalyst/configs/react.json"
    // "catalyst/configs/typescript.json" // if using TypeScript, include it after react.
  ],
  "rules": {
    // Additional, per-project rules...
  }
}

Keywords

FAQs

Package last updated on 22 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc