eslint-config-nosolosoftware
v6.5.0
Published
NosoloSoftware Javascript style guide
Downloads
2,413
Readme
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
- Use with prettier
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.