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
8
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@locker/eslint-config-locker

Lightning Web Security ESLint configurations

  • 0.21.2
  • Source
  • npm
  • Socket score

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

@locker/eslint-config-locker

Lightning Web Security 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 2 configurations for Lightning Web Security 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 Web Security.

@locker/eslint-config-locker/recommended configuration

Goal: Detect supplemental distortions of Lightning Web Security.

Keywords

FAQs

Package last updated on 21 Feb 2024

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