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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@zemd/eslint-rock-stack

v1.1.44

Published

Shared ESLint config for modern projects

Downloads

335

Readme

Shared ESLint config for modern projects

npm Static Badge

This package includes a set of ESLint configurations for modern fullstack projects that rock.

The package includes:

| Package | Description | Rules | License | | ------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | ---------- | | @zemd/eslint-js | Shared ESLint config for JavaScript projects | | Apache 2.0 | | @zemd/eslint-ts | Shared ESLint config for TypeScript projects | | Apache 2.0 | | @zemd/eslint-react | Shared ESLint config for React.js projects | | Apache 2.0 | | @graphql-eslint/eslint-plugin | GraphQL ESLint rules | schema-recommended and operations-recommended | MIT | | eslint-plugin-tailwindcss | Starting from v1.1.0 the config is optional due to Tailwind v4 release, which is not supported by the config | recommended excluding classnames-order | MIT | | eslint-plugin-turbo | | recommended | MIT | | @vitest/eslint-plugin | | recommended | MIT | | eslint-plugin-storybook | | recommended, csf-strict. The rules are available but not included by default | MIT |

Installation

npm install --save-dev @zemd/eslint-rock-stack

Usage

Basic Setup

// eslint.config.js
import rock, { storybook } from "@zemd/eslint-rock-stack";

export default [...rock(), ...storybook()];

Tailwind v3 support

if you want to use Tailwind config for Tailwind v3, install optional dependency:

pnpm add -D eslint-plugin-tailwindcss

and import the config:

import rock from "@zemd/eslint-rock-stack";
import tailwind from "@zemd/eslint-rock-stack/tailwind";

export default [...rock(), ...tailwind()];

More Advanced Setup

// eslint.config.js
import { react, graphql, playwright, turbo, vitest, typescript, javascript } from "@zemd/eslint-rock-stack";

export default [...typescript(), javascript(), ...react(), ...graphql(), ...playwright(), ...turbo(), ...vitest()];

You might be also interested in

| Package | Version | Description | | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | | @zemd/eslint-js | npm | JavaScript-only rules. | | @zemd/eslint-ts | npm | TypeScript rules (includes JS rules from @zemd/eslint-js). | | @zemd/eslint-react | npm | React rules (includes TS rules from @zemd/eslint-ts and JS rules from @zemd/eslint-js). | | @zemd/eslint-rock-stack | npm | Rules for Fullstack projects that include React.js, GraphQL, Playwright, Tailwind(optional), Turbo, Vitest, and Storybook. | | @zemd/eslint-next | npm | Rules for Next.js projects (inherits from @zemd/eslint-rock-stack). | | @zemd/eslint-astro | npm | Rules for Astro based projects (includes rules @zemd/eslint-react by default). |

License

The @zemd/eslint-rock-stack is licensed under Apache-2.0 license 😇.

💙 💛 Donate