Registry / testing / eslint-plugin-sitegenesis

eslint-plugin-sitegenesis

JSON →
library1.0.0jsnpmunverified

ESLint plugin with custom rules for Salesforce Commerce Cloud (Demandware) SiteGenesis projects. Current stable version is 1.0.0. This plugin enforces coding standards specific to SiteGenesis cartridge structure and ISML templates. It is a niche tool for Salesforce Commerce Cloud developers, with limited release cadence. Key differentiator: provides linting for SiteGenesis-specific patterns not covered by general ESLint rules.

testingweb-framework
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ESLint plugins are typically required via module.exports in .eslintrc; CJS require works in Node.js.

import sitegenesis from 'eslint-plugin-sitegenesis'

Rules are exported as a plain object; ESM import may work depending on bundler.

const { rules } = require('eslint-plugin-sitegenesis')

Configs object contains shareable configurations like 'recommended'.

const { configs } = require('eslint-plugin-sitegenesis')

Shows how to configure ESLint to use the plugin with the recommended config and custom rules.

// .eslintrc.json { "plugins": ["sitegenesis"], "extends": ["plugin:sitegenesis/recommended"], "rules": { "sitegenesis/no-direct-dw-usage": "error", "sitegenesis/require-cartridge-path": "warn" } }
Debug
Known footguns
gotchaPlugin requires eslint >=3.0.0. Older versions may not load the plugin correctly.
gotchaRules are prefixed with 'sitegenesis/' in configuration. Omitting the prefix will cause rule not found errors.
gotchaNo README data available. Users may need to inspect source code or the plugin's GitHub repository for rule documentation.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
13 hits · last 30 days
gptbot
4
ahrefsbot
4
amazonbot
4
script
1
Resources