Socket
Book a DemoInstallSign in
Socket

@cgnal/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cgnal/eslint-config

Linting rules for CGnal's JavaScript projects.

Source
npmnpm
Version
0.1.1
Version published
Weekly downloads
13
1200%
Maintainers
1
Weekly downloads
 
Created
Source

CGnal ESLint rules

NPM version Build Status

Linting rules for CGnal's JavaScript projects.

Installation

npm install @cgnal/eslint-config --save-dev

The package requires the following peer dependencies:

Usage

Add the rulesets you want in the extends section of your ESLint configuration file.

e.g. to use both JS and React's rules:

// ...

extends: [
    "@cgnal/eslint-config/js",
    "@cgnal/eslint-config/react"
]

// ...

npm scripts

  • npm run bump updates version number using an interactive shell
  • npm run check validates all rules and performs the linting check
  • npm run check-js validates JS rules
  • npm run check-react validates React rules
  • npm run check-rules validates all rules
  • npm run lint performs the linting check

Keywords

eslint

FAQs

Package last updated on 19 Nov 2021

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.