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

@tarsilla/eslint-config

v1.1.0

Published

This package provides a custom ESLint configuration built for ESLint v9. It enforces a consistent coding style and quality across Next.js, React and TypeScript library.

Downloads

372

Readme

@tarsilla/eslint-config

This package provides a custom ESLint configuration built for ESLint v9. It enforces a consistent coding style and quality across Next.js, React and TypeScript library.

Features

  • Custom Rule Sets: Leverages recommended rules from @eslint/js, typescript-eslint, and various plugins.
  • Multiple Environments: Offers tailored configurations for Next.js, React, and TypeScript library code.
  • Prettier: Enforces consistent formatting with Prettier rules.
  • Unused Imports: Detects and removes dead code using eslint-plugin-unused-imports.
  • Import Ordering: Ensures a consistent and organized import structure using eslint-plugin-import.
  • Jest: Ensures a consistent and organized tests using eslint-plugin-jest.

Installation

Install the configuration as a development dependency:

npm install --save-dev @tarsilla/eslint-config

or

yarn add --dev @tarsilla/eslint-config

Usage

In your ESLint configuration (see .eslintrc.mjs), add the plugin to your plugins array:

Next.js Projects

import { eslintNextConfig } from '@tarsilla/eslint-config/next';

export default [
  // ...other plugins...
  ...eslintNextConfig(),
];

React Projects

import { eslintReactConfig } from '@tarsilla/eslint-config/react';

export default [
  // ...other plugins...
  ...eslintReactConfig(),
];

Typescript Library Projects

import { eslintLibraryConfig } from '@tarsilla/eslint-config/library';

export default [
  // ...other plugins...
  ...eslintLibraryConfig(),
];

Configuration Options

You can override default settings by creating passing options to the plugin. The plugin accepts an object of type EslintOptions:

| Option | Type | Description | Default | |----------|--------|--------------------------------------------------------------|-------------| | ignores | string array | Array of paths to ignore during lint check. If not provided, the plugin will run in all files. | undefined |

Example Next.js:

import { eslintNextConfig } from '@tarsilla/eslint-config/next';

export default [
  // ...other plugins...
  ...eslintNextConfig({
    ignores: ['**/node_modules/'],
  }),
];

Contributing

Contributions are welcome! Please ensure your pull request adheres to the project's linting and testing guidelines.

License

This project is licensed under the MIT License.