eslint-config-doublechin

5.3.2 • Public • Published

Doublechin - ESLint Shareable Config

travis npm downloads

An ESLint Shareable Config for JavaScript Doublechin Style

This module is for advanced users. You probably want to use doublechin instead :)))

js-doublechin-style

Install

npm install eslint-config-doublechin

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

To use the JavaScript Happiness Style shareable config, first run this:

npm install eslint-config-doublechin eslint-plugin-standard eslint-plugin-promise

Then, add this to your .eslintrc file:

{
  "extends": "doublechin"
}

Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc file.

Looking for something easier than this?

The easiest way to use JavaScript Happiness Style to check your code is to use the doublechin package. This comes with a global Node command line program (doublechin) that you can run or add to your npm test script to quickly check your style.

Badge

Use this in one of your projects? Include one of these badges in your readme to let people know that your code is using the happiness style.

js-doublechin-style

[![js-doublechin-style](https://cdn.rawgit.com/EtherTyper/doublechin/master/badge.svg)](https://github.com/EtherTyper/doublechin)

js-doublechin-style

[![js-doublechin-style](https://img.shields.io/badge/code%20style-doublechin-brightgreen.svg)](https://github.com/EtherTyper/doublechin)

Learn more

For the full listing of rules, editor plugins, FAQs, and more, visit the main JavaScript Doublechin Style repo.

License

MIT. Copyright (c) Eli Bradley.

Package Sidebar

Install

npm i eslint-config-doublechin

Weekly Downloads

1

Version

5.3.2

License

MIT

Last publish

Collaborators

  • ethertyper