eslint-config-nosolosoftware

6.5.0 • Public • Published

eslint-config-nosolosoftware

ESLint configuration file for our frontend stack used in all NoSoloSoftware developments. It uses the shareable configs option provided by ESLint.

Installation

You can install this package using the following npm command:

$ npm install -g eslint-config-nosolosoftware

Usage

In order to use this configuration in our project, we should puts the following code in our .eslintrc.yml:

---
extends:
  - nosolosoftware

A couple of options are provided depending on your stack:

  • Use of Vue:
extends:
  - nosolosoftware
  - nosolosoftware/vue2 // nosolosoftare/v3 if v3.X is being used
  • Use of jest:
extends:
  - nosolosoftware
  - nosolosoftware/jest
  • Use of typescript
extends:
  - nosolosoftware
  - nosolosoftware/typescript
  • Use of typescript & Vue
extends:
  - nosolosoftware
  - nosolosoftware/typescript
  - nosolosoftware/vue3

We have to disable some rules as they enter on conflict with prettier.

extends:
  - nosolosoftware
  - nosolosoftware/prettier-conflict

Contributing

Contributions are welcome, please follow GitHub Flow

Versioning

eslint-config-nosolosoftware uses Semantic Versioning 2.0.0

License

Copyright © 2019 NoSoloSoftware Network S.L. Released under MIT license.

/eslint-config-nosolosoftware/

    Package Sidebar

    Install

    npm i eslint-config-nosolosoftware

    Weekly Downloads

    222

    Version

    6.5.0

    License

    MIT

    Unpacked Size

    13.7 kB

    Total Files

    11

    Last publish

    Collaborators

    • agalisteo
    • nosolonpm
    • rjurado_nss
    • pacop