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

@thebestco/eslint-config

v2.1.3

Published

The BestCompany's shared eslint config

Readme

BestPrice's eslint-config

This package provides BestPrice's .eslintrc as an extensible shared config.

It's basically a clone of Airbnb's same project with different and more rules and some other minor changes

How to update

  1. git commit -am …
  2. npm version patch
  3. git push
  4. npm publish

Usage

We export four ESLint configurations for your usage.

@thebestco/eslint-config

Our default export contains all of our ESLint rules, including EcmaScript 6+ and React. It requires eslint and eslint-plugin-react.

  1. npm install --save-dev @thebestco/eslint-config eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y eslint-plugin-react-you-might-not-need-an-effect eslint-plugin-react-hooks@next babel-eslint eslint
  2. add "extends": "@thebestco" to your .eslintrc

@thebestco/eslint-config/base

Lints ES6+ but does not lint React. Requires eslint.

  1. npm install --save-dev @thebestco/eslint-config eslint-plugin-import babel-eslint eslint-plugin-react-you-might-not-need-an-effect eslint-plugin-react-hooks@next eslint
  2. add "extends": "@thebestco/eslint-config/base" to your .eslintrc

@thebestco/eslint-config/legacy

Lints ES5 and below. Only requires eslint.

  1. npm install --save-dev @thebestco/eslint-config eslint
  2. add "extends": "@thebestco/eslint-config/legacy" to your .eslintrc

@thebestco/eslint-config/prettier

Prettier is a high opinionated powerful automatic formatter. Eslinter is a code quality tool. They can both live together but there are some compromises we have to do. We should disable all the es-rules that are effecting the code formating and interfere with the prettier.

The prettier setup contains the default export extended with the formating rules that interfere with the prettier. It requires eslint and eslint-plugin-react, as it is in the default configuration.

  1. npm install --save-dev @thebestco/eslint-config eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y eslint-plugin-react-hooks@next eslint-plugin-react-refresh babel-eslint eslint
  2. add "extends": "@thebestco/eslint-config/prettier" to your .eslintrc

If you want to have eslint installed globally, i.e running eslint in terminal (CLI)

npm install -g eslint
npm install -g babel-eslint
npm install -g eslint-plugin-react
npm install -g eslint-plugin-import
npm install -g eslint-plugin-jsx-a11y
npm install -g eslint-plugin-react-hooks@next
npm install -g eslint-plugin-react-refresh
npm install -g @thebestco/eslint-config
npm install -g eslint-plugin-react-you-might-not-need-an-effect

Additional notes

  • Remove the args from yours sublimeLinter config so that the local .eslintrc as honored
  • Make sure you add any additional rules and constants to .eslintrc that are specific to the project
  • Make sure an .eslintignore is in place so that you target your eslint where needed
  • Run eslint . --fix when you have your eslint in place to fix those easy to fix errors