@ecoonline/eslint-config-ecoonline

1.0.2 • Public • Published

eslint-config-ecoonline

GitHub license npm

Installation

The default export contains all default ESLint rules for JavaScript Standard Style , including the recommended ruleset for Vue, and the ones listed in the rules section .

Note: It requires some peerDependencies as well.

Install the package with:

npx install-peerdeps --dev @ecoonline/eslint-config-ecoonline

If using npm < 5:

npm install -D @ecoonline/eslint-config-ecoonline

Then install the correct versions of each peerDependency package, which are listed by the command:

npm info "@ecoonline/eslint-config-ecoonline@latest" peerDependencies

Usage

Now add the config to either your package.json:

{
  "eslintConfig": {
    "extends": "@ecoonline/eslint-config-ecoonline"
  }
}

or to your .eslintrc:

{
  "extends": "@ecoonline/eslint-config-ecoonline"
}

or to your .eslintrc.js:

module.exports = {
  extends: '@ecoonline/eslint-config-ecoonline'
}

Assumptions

This ESLint configuration comes with some fundamental assumptions:

  • vue.js environment
  • browser environment

Despite some assumptions, you can easily overwrite, extend and unset rules and any other setting in your custom eslint config.

Package Sidebar

Install

npm i @ecoonline/eslint-config-ecoonline

Weekly Downloads

20

Version

1.0.2

License

ISC

Unpacked Size

4.73 kB

Total Files

4

Last publish

Collaborators

  • dymytryi_zinoviev
  • sujai-sureshbabu
  • alex-stiube
  • john-elliott-eco
  • arunkumar-zuci
  • daniel_woods
  • sean-james
  • quteraz
  • noitatohtori
  • reminyborg
  • jamescodemonkey
  • radulung
  • chulea
  • andreiimuresan
  • paul_petri
  • jrevenaz
  • james.williams
  • mfd12
  • christian.h.olsen
  • eco.vincent.balungay
  • oleseahanga
  • sj-dixon
  • petermead
  • seamusx7
  • gearoid-ecoonline
  • b3np
  • adamd115114
  • slavensaka
  • michealderoiste
  • vladpascu25
  • bendikkilander
  • flaviuspintican
  • janesusa
  • piotrkula-eco
  • catalinapatras
  • stefan.buciu
  • benjaminecoonline
  • yngndrw
  • munio_matmork
  • frodeknutsen
  • mortenjohnsen
  • konpapdo
  • ungolianth
  • ateletinyonder
  • vjik--
  • lubos.zisko
  • danny.morey
  • hravad
  • stephen.ryan
  • fihoeco
  • hannah.ryan
  • nlien
  • degerstrom
  • olav.odberg
  • neilldcm
  • robertcorman
  • gsuciuyonder