[![npm (scoped)][npm-badge]][npm-link]


1.3.13 years ago3 years agoMinified + gzip package size for @edenhealth/eslint-config-eve in KB



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/",

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.