eslint-config-esmanning

2.1.0 • Public • Published

eslint-config-esmanning

ESLint Shareable Config for JavaScript Manning Style

latest version

Install

npm install eslint eslint-config-esmanning --save-dev
echo "{ \"extends\": [\"esmanning\"] }" > .eslintrc
npx npe scripts.test "eslint ."

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 Manning Style shareable config, just add this to your .eslintrc file:

{
  "extends": "esmanning"
}

Note: eslint-config- prefix is automatically assumed by ESLint.

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

eslint-config-esmanning also installs the following so you don't have to:

  • eslint-config-standard
  • eslint-config-standard-react
  • eslint-plugin-promise
  • eslint-plugin-react
  • eslint-plugin-standard

This may not be the way you want to do things in your own project. This is for the sake of convenience for ZHealth's projects (one declared dependency instead of seven).

License

MIT

Dependencies (6)

Dev Dependencies (3)

Package Sidebar

Install

npm i eslint-config-esmanning

Weekly Downloads

64

Version

2.1.0

License

MIT

Unpacked Size

6.08 kB

Total Files

7

Last publish

Collaborators

  • dlmanning
  • zhealth
  • bobber205