New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@canastro/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

@canastro/eslint-config

ESLint rules!

1.0.3
latest
Source
npm
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

README

ESLint rules!

ESLint extends options

  • @canastro: extension of the airbnb rules!
  • @canastro/jsdoc: adds jsdoc awareness!
  • @canastro/react: adds react specific rules!

Usage

  • Create a .eslintrc on root path of the module;
  • Install as a devDependency by running npm i -D @canastro/eslint-config;
  • Add the following line { "extends": ["@canastro"] };
  • Extend or add as needed like adding globals and env or plugins.

Example

{
  "extends": [
    "@canastro",
    "@canastro/jsdoc",
    "@canastro/react"
  ],
  "env": {
    "es6": true,
    "browser": true
  }
}

FAQs

Package last updated on 18 Dec 2017

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