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-config-it4c

v0.12.0

Published

Shared ESLint flat config for IT4Change projects. Provides a modular, comprehensive set of rules for TypeScript, Vue, GraphQL, JSON, YAML, and more.

Readme

eslint-config-it4c

Shared ESLint flat config for IT4Change projects. Provides a modular, comprehensive set of rules for TypeScript, Vue, GraphQL, JSON, YAML, and more.

Installation

npm install --save-dev eslint eslint-config-it4c

Usage

Default Config

The default config includes all base modules (ESLint, TypeScript, Import, Node, Promise, Security, Comments, JSON, YAML, Prettier).

// eslint.config.ts
import config from 'eslint-config-it4c'

export default [...config]

Default + Optional Modules

Add framework-specific modules as needed:

// eslint.config.ts
import config, { vue3, jest } from 'eslint-config-it4c'

export default [...config, ...vue3, ...jest]

Custom Configuration (Manual)

Build your own config by selecting only the modules you need:

// eslint.config.ts
import { eslint, typescript, importX, vue3, prettier } from 'eslint-config-it4c'

export default [...eslint, ...typescript, ...importX, ...vue3, ...prettier]

Modules

Base Modules (included in default)

| Module | Description | | --- | --- | | eslint | ESLint recommended rules + no-console, no-void | | typescript | TypeScript strict type-checked rules | | importX | Import/export rules, sorting, cycle detection | | node | Node.js specific rules (n plugin) | | promise | Promise handling rules | | security | Security-focused rules | | comments | ESLint directive comments rules | | json | JSON/JSONC linting | | yaml | YAML linting | | prettier | Prettier integration |

Optional Modules

| Module | Description | | --- | --- | | vue3 | Vue 3 + TypeScript support | | vue2 | Vue 2 + TypeScript support | | jest | Jest testing rules | | vitest | Vitest testing rules | | graphql | GraphQL schema and operations linting | | react | React support (placeholder) |

Prettier Config

The package also exports a shared Prettier configuration:

// prettier.config.ts
import { prettierConfig } from 'eslint-config-it4c'

export default prettierConfig

Or via subpath import:

// prettier.config.ts
import prettierConfig from 'eslint-config-it4c/prettier'

export default prettierConfig

Prettier Settings

| Option | Value | | --- | --- | | semi | false | | printWidth | 100 | | singleQuote | true | | trailingComma | all | | tabWidth | 2 | | bracketSpacing | true |

Included Plugins

  • @eslint/js (recommended)
  • @typescript-eslint (strict)
  • eslint-plugin-vue (recommended)
  • eslint-plugin-import-x (TypeScript)
  • eslint-plugin-n
  • eslint-plugin-promise
  • eslint-plugin-jest
  • eslint-plugin-jsonc
  • eslint-plugin-yml
  • eslint-plugin-security
  • eslint-plugin-prettier
  • @eslint-community/eslint-plugin-eslint-comments
  • @graphql-eslint/eslint-plugin
  • eslint-plugin-no-catch-all
  • neostandard

Rules

A complete list of all configured rules is available in RULES.md.

Scripts

| Script | Description | | --- | --- | | npm run inspect-rules | Print all rules with their current configuration | | npm run inspect-rules:check | Verify that rules.json matches the current config | | npm run update-rules | Regenerate rules.json and RULES.md | | npm run generate-rules-md | Regenerate RULES.md from rules.json |