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 🙏

© 2024 – Pkg Stats / Ryan Hefner

eslint-config-remitbri

v5.3.0

Published

Shareable ESLint configurations, by & for @remitbri. React-friendly.

Downloads

43

Readme

eslint-config-remitbri

Opinionated rule settings to be used with ESLint. Can be used with ESLint v3.17.1 and eslint-plugin-react v6.10.0, or above. npm version

Installation

npm install --save-dev eslint-config-remitbri

Default usage

You may:

  • add the following line to the .eslintrc or to the eslintConfig field of the package.json of your project
{
  "extends" : "remitbri"
}
  • or use the command line
eslint -c remitbri *.js

Consult the ESLint documentation for more information about extending configuration files.

This default configuration corresponds to react (see below) — because it's opinionated :)

Other than those specified in the available configurations, no language option (ecmaFeatures), parser, environment, global or plugin is set. Add them as needed in your own .eslintrc!

Available configurations

es5

This is a collection of rules regarding possible errors, best practices, strict mode, variables and stylistic issues.

{
  "extends" : "remitbri/es5"
}

es6

This

  • extends the es5 configuration
  • add rules related to es2015
  • adds the es6 environment
{
  "extends" : "remitbri/es6"
}

es2017

This

  • extends the es6 configuration
  • add rules related to es2017
{
  "extends" : "remitbri/es2017"
}

node

This

It's not meant to be used on its own, rather with other configurations. E.g

{
  "extends" : ["remitbri/es5", "remitbri/node"]
}

or

{
  "extends" : ["remitbri/es6", "remitbri/node"]
}

ie8

This

  • extends the es5 configuration
  • adds a couple of rule modifications because hello ECMAScript 3
  • adds the browser environment
{
  "extends" : "remitbri/ie8"
}

react

This is the default configuration. This

  • extends the es6 and node configurations
  • adds rules related to eslint-plugin-react
  • adds the browser environment
  • adds the jsx, modules and experimentalObjectRestSpread ecmaFeatures (the other ones are already added in the es6 environment)
{
  "extends" : "remitbri/react"
}