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-stickee

v2.0.0

Published

Stickee ESLint config

Downloads

32

Readme

Stickee ESLint Config

Stickee settings for ESlint and Prettier

What it does

  • Lints JavaScript based on the latest standards
  • Fixes formatting issues with Prettier
  • Removes 99.99% of the problems QA finds with your JavaScript code*

*no refunds

Upgrade

1.* -> 2.*

V2.0 no longer requires the following packages:

  • eslint-plugin-jsx-a11y
  • eslint-plugin-react
  • eslint-plugin-react-hooks

and updates the version numbers of a few packages.

The easiest way to upgrade is to:

  • remove all eslint-* packages from your package.json
  • rerun installation step 2 (below)

Install

Optionally you can install stickee-javascript-code-style and skip steps 2 & 4.

  1. If you don't already have a package.json create one with npm init
  2. Install the peer dependencies of the config (optional)
    npx install-peerdeps --dev eslint-config-stickee
  3. Admire all the new devDependencies you have
  4. Create an .eslintrc file in the root of your project's directory (optional)
    {
        "extends": [
            "stickee"
        ],
    }
  5. Add any custom webpack path resolvers you use*:
    // this is used in Convert to allow the use of `import @/api`
    // which is set in the webpack config file
    "settings": {
        "import/resolver": {
            "webpack": {
                "config": "build/webpack.base.conf.js"
            }
        }
    },
  6. Add a lint script into your package.json:
    "scripts": {
        "lint": "eslint .",
        "lint:fix": "eslint . --fix"
    }
  7. Write beautiful JavaScript that makes QA proud

* The config file must only contain webpack settings. Do not point it to a webpack.mix.js file as this contains Laravel mix code.

If you are using Laravel Mix you can create a new webpack.config.js file and reference it from webpack.mix.js:

webpack.mix.js

mix.webpackConfig(require('./webpack.config.js'));

webpack.config.js

const path = require('path');

module.exports = {
    resolve: {
        extensions: ['.js', '.vue'],
        alias: {
            '@': path.join(__dirname, '/resources/js')
        }
    }
};

Settings

You can override any of the ESLint or Prettier settings.

{
    "extends": [
        "stickee"
    ],
    "rules": {
        "no-console": 2,
        "prettier/prettier": [
            "error",
            {
                "trailingComma": "es5",
                "singleQuote": true,
                "printWidth": 120,
                "tabWidth": 8,
                "semicolons": "false" // looking at you Rehan
            }
        ]
    }
}

Note Overwriting Prettier settings requires you to rewrite the whole array.

Editor installation

ESLint should be configured to run as a pre-commit hook on the project you're working on but there's no harm in running it on every save.

PHPStorm

Refer to the docs for instructions on running ESLint from PHPStorm.

VSCode

  1. Install the ESLint package
  2. Change your VSCode settings.json file:
    // These are all my auto-save configs
    "editor.formatOnSave": true,
    // turn it off for JS and JSX, we will do this via eslint
    "[javascript]": {
        "editor.formatOnSave": false
    },
    "[javascriptreact]": {
        "editor.formatOnSave": false
    },
    // tell the ESLint plugin to run on save
    "eslint.autoFixOnSave": true,
    // Optional BUT IMPORTANT: If you have the prettier extension enabled for other languages like CSS and HTML, turn it off for JS since we are doing it through ESLint already
    "prettier.disableLanguages": ["javascript", "javascriptreact"],

Thanks

Wes Bos for putting his config on GitHub.