Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including eslint-config-humanmade with all npm packages installed. Try it out:

require("babel-eslint/package.json"); // babel-eslint is a peer dependency. require("eslint/package.json"); // eslint is a peer dependency. require("eslint-config-react-app/package.json"); // eslint-config-react-app is a peer dependency. require("eslint-plugin-flowtype/package.json"); // eslint-plugin-flowtype is a peer dependency. require("eslint-plugin-import/package.json"); // eslint-plugin-import is a peer dependency. require("eslint-plugin-jsx-a11y/package.json"); // eslint-plugin-jsx-a11y is a peer dependency. require("eslint-plugin-react/package.json"); // eslint-plugin-react is a peer dependency. var eslintConfigHumanmade = require("eslint-config-humanmade")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

eslint-config-humanmade v0.7.0

eslint-config-humanmade

Human Made coding standards for JavaScript.

Installation

This package is an ESLint shareable configuration, and requires babel-eslint, eslint, eslint-config-react-app, eslint-plugin-flowtype, eslint-plugin-import, eslint-plugin-jsx-a11y, eslint-plugin-react.

To install this config and the peerDependencies:

npm info "eslint-config-humanmade@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "eslint-config-humanmade@latest"

(Thanks to Airbnb's package for the command.)

You can then use it directly on the command line:

eslint -c humanmade MyFile.js

Alternatively, you can create your own configuration and extend these rules:

extends:
- humanmade

Global Installation

When installing globally, you need to ensure the peer dependencies are also installed globally.

Run the same command as above, but with -g added:

npm info "eslint-config-humanmade@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "eslint-config-humanmade@latest"

This allows you to use eslint -c humanmade MyFile.js anywhere on your filesystem.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free