@edenhealth/eslint-config-eve

1.3.1 • Public • Published

@edenhealth/eslint-config-eve

npm (scoped)

What is this?

An eslint shareable config for Eden front-end projects.

How do I use it?

Install the NPM package:

$ yarn add -D @edenhealth/eslint-config-eve

Create or modify your .eslintrc.js file to contain the following:

module.exports = require('@edenhealth/eslint-config-eve')

Finally, you'll need to declare a custom lint step in your package.json to use the eslint binary bundled with the package; this is due to a long-standing shortcoming in eslint that would otherwise require installing each of the eslint-plugin-* peer dependencies manually, which obviously eliminates some of the convenience of having a shared config in the first place. The best workaround I've found looks like this:

"scripts": {
  "lint": "node_modules/@edenhealth/eslint-config-eve/node_modules/.bin/eslint src/",
}

Readme

Keywords

none

Package Sidebar

Install

npm i @edenhealth/eslint-config-eve

Weekly Downloads

1

Version

1.3.1

License

MIT

Unpacked Size

15.2 kB

Total Files

46

Last publish

Collaborators

  • jesses