Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

eslint-config-humanmade

0.8.0 • Public • Published

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 when using npm 5+:

npx install-peerdeps --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 instead with --global:

npx install-peerdeps --global eslint-config-humanmade@latest

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

Keywords

none

Install

npm i eslint-config-humanmade

DownloadsWeekly Downloads

1,249

Version

0.8.0

License

none

Unpacked Size

4.53 kB

Total Files

5

Last publish

Collaborators

  • avatar