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

@bldr-pkgs/eslint-config

v2.0.2

Published

Boulder's ESLint rules

Downloads

89

Readme

Boulder ESLint configuration

Boulder's ESLint rules for our JS/TS projects. The ruleset is mostly based on Airbnb's JavaScript Style Guide and Prettier's opinionated code formatting setup.


1. Usage

1.A Installation

  1. Install the config as one of your project's devDependencies. No other ESLint and/or Prettier dependencies are needed (these are included in the our npm package).
npm install --save-dev @bldr-pkgs/eslint-config
  1. Add linting scripts to your package.json.
  "scripts": {
    // ...other scripts
    "eslint": "eslint src --ext .js,.jsx,.ts,.tsx",
    "eslint-fix": "eslint src --ext .js,.jsx,.ts,.tsx --fix"
  }

These scripts are very useful in combination with the below vscode config (which will fix all fixable issues on save):

  "editor.codeActionsOnSave": {
    "source.fixAll": true
  },

1.B Project configuration

The package includes four different configurations which can be combined depending on specific project needs. These are:

  • @bldr-pkgs/eslint-config/base
  • @bldr-pkgs/eslint-config/react
  • @bldr-pkgs/eslint-config/typescript
  • @bldr-pkgs/eslint-config/prettier

Base configuration

You should always include the @bldr-pkgs/eslint-config/base config, regardless of project setup.

Hence, add an .eslintrc.json file with at least the following content:

{
  "root": true,
  "extends": "@bldr-pkgs/eslint-config/base"
}

Other configs

Depending on your project needs (React, TypeScript etc), you can include other configs in the extends property. Note that the order in which you include the configs in the array matter – latter configs override rules stated in former configs in case of conflict.

{
  "root": true,
  "extends": [
    "@bldr-pkgs/eslint-config/react",
    "@bldr-pkgs/eslint-config/base",
    "@bldr-pkgs/eslint-config/typescript",
    "@bldr-pkgs/eslint-config/prettier"
  ]
}

This is further exemplified in the demo/src folder.

1.C Install the ESLint VS Code extension (optional)

The VS Code ESLint extension uses the installed ESLint library in the workspace folder. It gives immediate visual linting feedback in your files.

2. Developing

It's possible to publish packages locally by running the below command in the root of this project.

npm pack

The generated .tgz file can be used to install the package in another project, e.g.:

npm install --save-dev ../eslint-config/bldr-pkgs-eslint-config-2.0.2.tgz

It's safe to publish packages locally with npm pack. It doesn't affect the package we have published in the npm registry.

3. Publishing

If changes are made to this package, it should be versioned in accordance with semver. That roughly means that:

  • if the update includes major changes (which means making the API incompatible, such as modifying how the configurations are accessed), run the following command from the master branch:
npm version major && npm publish && git push origin master
  • if the update includes minor changes (which means adding functionality in a backwards compatible manner, such as adding a new rule), run the following command from the master branch:
npm version minor && npm publish && git push origin master
  • if the update is a bug fix or smaller changes (as long as the fixes are backwards compatible), run the following command from the master branch:
npm version patch && npm publish && git push origin master