ESLint configuration file for our frontend stack used in all NoSoloSoftware developments. It uses the shareable configs option provided by ESLint.
You can install this package using the following npm command:
$ npm install -g eslint-config-nosolosoftware
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
Contributions are welcome, please follow GitHub Flow
eslint-config-nosolosoftware uses Semantic Versioning 2.0.0
Copyright © 2019 NoSoloSoftware Network S.L. Released under MIT license.