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

@locker/eslint-config-locker

Package Overview
Dependencies
Maintainers
7
Versions
225
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@locker/eslint-config-locker

Locker ESLint configurations

  • 0.15.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5.7K
decreased by-12.3%
Maintainers
7
Weekly downloads
 
Created
Source

@locker/eslint-config-locker

Locker ESLint configurations

Installation

$ yarn add --dev eslint @locker/eslint-config-locker

Usage

Add the appropriate configuration to the extends field in your configuration.

Example of .eslintrc:

{
    "extends": ["@locker/eslint-config-locker"]
}

For more details about configuration, please refer to the dedicated section in the ESLint documentation:
https://eslint.org/docs/user-guide/configuring#using-a-shareable-configuration-package

Configurations

This package exposes 3 configurations for Lightning Locker rules. Unless stated otherwise, each configuration assumes use of @locker/rollup-plugin in your build pipeline.

@locker/eslint-config-locker/base configuration

Goal: Detect foundational distortions of Lightning Locker.

@locker/eslint-config-locker/recommended configuration

Goal: Detect supplemental distortions of Lightning Locker.

@locker/eslint-config-locker/uncompiled configuration

Goal: Detect pitfalls of code NOT compiled with @locker/rollup-plugin.

Keywords

FAQs

Package last updated on 03 Dec 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

  • 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