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

eslint-config-lusk

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-lusk

ESLint configs used at Lusk

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

ESLint Config Lusk

npm

ESLint configs used at Lusk.

:warning: If you're using eslint-config-lusk ^3.0.0 in Node without transpilation, make sure you're using Node ^8.0.0! Trailing commas in function params and args lists will be a syntax error otherwise. See compatibility table.

Installation

# Using npm
npm install --save-dev eslint-config-lusk

Usage

Currently, two configs are provided: lusk for general JavaScript and lusk/react for React-specific rules.

In your project's .eslintrc.js, use the extends property to specify which config should be used. Done! :sparkles:

Server-side Example

module.exports = {
  env: { node: true },
  extends: "lusk",
}

Client-side example

module.exports = {
  env: { browser: true, node: true },
  extends: ["lusk", "lusk/react"],
}

If you're interested in more info about shareable configs, see these two articles:

Keywords

FAQs

Package last updated on 29 Oct 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

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