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

eslint-plugin-shuunen

v1.3.0

Published

My personal ESLint configs & rules

Readme

eslint-plugin-shuunen

Install size Publish size Npm monthly downloads Code Climate maintainability Project license

logo

Demo

There not much to show, but here is a super useful eslint rule from this package in action :

demo

Installation

Choose your favorite package manager :

npm install -D eslint-plugin-shuunen
pnpm install -D eslint-plugin-shuunen
yarn install -D eslint-plugin-shuunen
bun install -D eslint-plugin-shuunen

Features

  • 🚀 Modern ESLint Config: Built for ESLint's new flat config system
  • 🔧 Comprehensive Rules: Combines best practices from multiple ESLint plugins
  • 📦 Modular Design: Pick and choose the configs you need
  • Performance Optimized: Minimal overhead, maximum value
  • 🛠 TypeScript Support: Full TypeScript support with strict type checking
  • 🎨 Styling Rules: Consistent code style across your project

ES Module

In your eslint.config.js :

import { base } from 'eslint-plugin-shuunen/configs/base'
// import { browser } from 'eslint-plugin-shuunen/configs/browser'
// same pattern for the other configs

export default [    // 🥗 compose your salad
  ...base,          // 🥚 eslint/all + unicorn/all + perfectionist/natural + jsdoc
  // ...browser,    // 🥑 globals for browser
  // ...tailwind,   // 🥭 tailwindcss class order
  // ...node,       // 🥕 globals for node
  // ...typescript, // 🍅 typescript/all
  // ...vue,        // 🥔 vue essential + stronglyRecommended + recommended
]

CommonJS (legacy)

Last working version with CommonJS is 0.4.0.

In your eslint.config.cjs :

const shuunen = require('eslint-plugin-shuunen')

/** @type {import('eslint').Linter.Config} */
module.exports = [               
  ...shuunen.configs.base,       
  ...shuunen.configs.browser,    
  ...shuunen.configs.node,       
  ...shuunen.configs.typescript, 
  ...shuunen.configs.vue,        
]

You can adjust the rules to your taste :

module.exports = [
  ...shuunen.configs.base,
  {
    rules: {
      'shuunen/some-rule': 'off',
      'unicorn/some-other-rule': 'warn',
    },
  },
]

Included Plugins

  • @eslint/js: Core ESLint rules
  • eslint-plugin-jsdoc: JSDoc rules
  • eslint-plugin-perfectionist: Code organization, sorting
  • eslint-plugin-tailwindcss: Tailwind CSS class order
  • eslint-plugin-unicorn: Additional ESLint rules
  • eslint-plugin-vue: Vue.js support
  • typescript-eslint: TypeScript support

TODO

  • [ ] use a plugin for react
  • [ ] merge typescript into base because it works on js ^^
  • [ ] search interesting plugins from eslint-plugin-antfu
  • [ ] search interesting plugins from eslint-plugin-hardcore
  • [ ] when available, add bun coverage line exclusions and enable 100% thresholds to ensure coverage is not decreasing
  • [ ] test to build a index.min.js file and see how it impact :
    • [ ] the install size
    • [ ] the performance
    • [ ] the source code readability in case of error

Thanks

  • Anthony Fu : for his config, for the inspiration
  • Boxy Svg : simple & effective svg editor
  • Bun : super fast runtime for JavaScript and TypeScript
  • Eslint : super tool to find & fix problems
  • Github : for all their great work year after year, pushing OSS forward
  • Knip : super tool to find & fix problems
  • Npm-parallel : to keep my npm scripts clean & readable
  • Repo-checker : eslint cover /src code and this tool the rest ^^
  • Shields.io : for the nice badges on top of this readme
  • Sindre Sorhus : for his awesome eslint-plugin-unicorn, for the inspiration
  • Svg Omg : the great king of svg file size reduction
  • Watchlist : recursively watch a list of directories & run a command on any file system

Stargazers over time

Stargazers over time

Page views

Free Website Counter