npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@sitecore-lint/plugin-jss

v0.1.2

Published

JSS-specific lint rules for sitecore-lint

Readme

@sitecore-lint/plugin-jss

JSS-specific lint rules for sitecore-lint.

Installation

npm install -D @sitecore-lint/plugin-jss

Configuration

Add the plugin and its recommended preset to your .sitecore-lint.json:

{
  "extends": ["sitecore-lint/configs/recommended", "@sitecore-lint/plugin-jss/recommended"],
  "plugins": ["@sitecore-lint/plugin-jss"],
  "sources": ["items/**/*.yml"]
}

Or in .sitecore-lint.yaml:

extends:
  - 'sitecore-lint/configs/recommended'
  - '@sitecore-lint/plugin-jss/recommended'

plugins:
  - '@sitecore-lint/plugin-jss'

sources:
  - 'items/**/*.yml'

The plugins entry loads the rule implementations. The extends entry activates the recommended severities. You can use one without the other — for example, load the plugin but configure each rule manually.

Rules

| Rule | Recommended severity | Description | | ---------------------- | -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | | jss/app-registration | warning | JSS app items (identified by AppTemplate or SiteName field hints) must use the JSS App template ({061882C0-3F52-5F5B-B476-FC760D998B0E}) | | jss/route-template | warning | Template items whose name contains "Route" or "Page" must inherit from the JSS Route base template ({68FC498F-3E95-436C-8B24-2737BAC8E4B2}) | | jss/component-name | warning | Rendering items must have a componentName field matching the expected JS framework naming convention | | jss/layout-service | info | JSON Rendering items must have a Rendering Contents Resolver field set |

jss/component-name — framework option

By default the rule expects PascalCase (React / Next.js). Set the framework option to "angular" to require kebab-case instead:

{
  "rules": {
    "jss/component-name": ["warning", { "framework": "angular" }]
  }
}

| Option | Accepted values | Default | Description | | ----------- | ------------------------------------ | --------- | --------------------------------------------------------------------------------------------------- | | framework | "react" · "nextjs" · "angular" | "react" | Determines the naming-convention pattern (PascalCase for React/Next.js, kebab-case for Angular) |

Overriding severities

Rules from this plugin are configured the same way as built-in rules:

{
  "extends": ["sitecore-lint/configs/recommended", "@sitecore-lint/plugin-jss/recommended"],
  "plugins": ["@sitecore-lint/plugin-jss"],
  "sources": ["items/**/*.yml"],
  "rules": {
    "jss/app-registration": "error",
    "jss/layout-service": "off"
  }
}

License

MIT