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

@jenssimon/eslint-config-sfcc

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jenssimon/eslint-config-sfcc

A collection of shareable ESLint configurations for Salesforce Commerce Cloud (SFCC)

  • 4.8.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

NPM version Downloads star this repo fork this repo Build Status

eslint-config-sfcc

A collection of shareable ESLint configurations for Salesforce Commerce Cloud (SFCC)

Installation

$ yarn add @jenssimon/eslint-config-sfcc --dev

General

All configurations are based on the Airbnb JavaScript Style Guide and a set of additions (@jenssimon/eslint-config-base).

This package contains a recommended configuration and a configuration that matches the original ESLint configuration for the Storefront Reference Architecture (SFRA) with adjustments to validate with newer ESLint versions.

Configurations

Standard configuration

This configuration is recommended for every custom cartridge. It is based on (@jenssimon/eslint-config-base).

{
  "extends": [
    "@jenssimon/sfcc"
  ]
}

Configuration for SFRA

This configuration matches the original ESLint configuration for the Storefront Reference Architecture (SFRA) with adjustments to validate with newer ESLint versions. It's only thought to be used with app_storefront_base.

{
  "extends": [
    "@jenssimon/sfcc/sfra"
  ]
}

There is also a configuration for client side JS that extends the configuration mentioned above.

{
  "extends": [
    "@jenssimon/sfcc/sfra-storefront"
  ]
}

License

MIT © 2022 Jens Simon

Keywords

FAQs

Package last updated on 14 Oct 2023

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