@cabify/eslint-config 1.0.0 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.all-contributorsrc +195 -0
- package/.github/workflows/npm-publish.yml +7 -24
- package/.github/workflows/tests.yml +2 -18
- package/CHANGELOG.md +20 -0
- package/README.md +96 -48
- package/package.json +15 -13
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
{
|
|
2
|
+
"projectName": "eslint-config",
|
|
3
|
+
"projectOwner": "cabify",
|
|
4
|
+
"repoType": "github",
|
|
5
|
+
"repoHost": "https://github.com",
|
|
6
|
+
"files": [
|
|
7
|
+
"README.md"
|
|
8
|
+
],
|
|
9
|
+
"imageSize": 100,
|
|
10
|
+
"commit": true,
|
|
11
|
+
"commitConvention": "none",
|
|
12
|
+
"contributors": [
|
|
13
|
+
{
|
|
14
|
+
"login": "aarongarciah",
|
|
15
|
+
"name": "Aarón García Hervás",
|
|
16
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/7225802?v=4",
|
|
17
|
+
"profile": "https://aarongarciah.com/",
|
|
18
|
+
"contributions": [
|
|
19
|
+
"code"
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"login": "alejandrofdiaz",
|
|
24
|
+
"name": "Alejandro",
|
|
25
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/9197247?v=4",
|
|
26
|
+
"profile": "https://github.com/alejandrofdiaz",
|
|
27
|
+
"contributions": [
|
|
28
|
+
"code"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"login": "alexgallardo",
|
|
33
|
+
"name": "Alejandro Gallardo Escobar",
|
|
34
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/7766614?v=4",
|
|
35
|
+
"profile": "https://github.com/alexgallardo",
|
|
36
|
+
"contributions": [
|
|
37
|
+
"code"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"login": "cicloon",
|
|
42
|
+
"name": "Alejandro León",
|
|
43
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/818328?v=4",
|
|
44
|
+
"profile": "https://github.com/cicloon",
|
|
45
|
+
"contributions": [
|
|
46
|
+
"code"
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"login": "AlexTemina",
|
|
51
|
+
"name": "Alex Temina",
|
|
52
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/14157093?v=4",
|
|
53
|
+
"profile": "https://github.com/AlexTemina",
|
|
54
|
+
"contributions": [
|
|
55
|
+
"code"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"login": "ArianZargaran",
|
|
60
|
+
"name": "Arian Zargaran",
|
|
61
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/29388744?v=4",
|
|
62
|
+
"profile": "http://www.ari.soy/",
|
|
63
|
+
"contributions": [
|
|
64
|
+
"code"
|
|
65
|
+
]
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"login": "carloscasalar",
|
|
69
|
+
"name": "Carlos Castillo",
|
|
70
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/6154549?v=4",
|
|
71
|
+
"profile": "https://github.com/carloscasalar",
|
|
72
|
+
"contributions": [
|
|
73
|
+
"code"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"login": "christiandebarrio",
|
|
78
|
+
"name": "Christian",
|
|
79
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/13832650?v=4",
|
|
80
|
+
"profile": "https://github.com/christiandebarrio",
|
|
81
|
+
"contributions": [
|
|
82
|
+
"code"
|
|
83
|
+
]
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"login": "Crismmgg",
|
|
87
|
+
"name": "Crismmgg",
|
|
88
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/56558107?v=4",
|
|
89
|
+
"profile": "https://github.com/Crismmgg",
|
|
90
|
+
"contributions": [
|
|
91
|
+
"code"
|
|
92
|
+
]
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"login": "d-asensio",
|
|
96
|
+
"name": "David Asensio Cañas",
|
|
97
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/13970905?v=4",
|
|
98
|
+
"profile": "https://github.com/d-asensio",
|
|
99
|
+
"contributions": [
|
|
100
|
+
"code"
|
|
101
|
+
]
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"login": "inspiratweb",
|
|
105
|
+
"name": "Francisco Sánchez",
|
|
106
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/6814061?v=4",
|
|
107
|
+
"profile": "https://github.com/inspiratweb",
|
|
108
|
+
"contributions": [
|
|
109
|
+
"code"
|
|
110
|
+
]
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"login": "jalopez",
|
|
114
|
+
"name": "Javier López",
|
|
115
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/259623?v=4",
|
|
116
|
+
"profile": "https://github.com/jalopez",
|
|
117
|
+
"contributions": [
|
|
118
|
+
"code"
|
|
119
|
+
]
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"login": "jmmerino",
|
|
123
|
+
"name": "Jesús Merino Parra",
|
|
124
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/1152640?v=4",
|
|
125
|
+
"profile": "https://github.com/jmmerino",
|
|
126
|
+
"contributions": [
|
|
127
|
+
"code"
|
|
128
|
+
]
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"login": "leireriel",
|
|
132
|
+
"name": "Leire Rico",
|
|
133
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/48056077?v=4",
|
|
134
|
+
"profile": "https://leireriel.github.io/leire-rico-portfolio/#/",
|
|
135
|
+
"contributions": [
|
|
136
|
+
"code"
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"login": "riboher",
|
|
141
|
+
"name": "Ricardo Boluda",
|
|
142
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/11684090?v=4",
|
|
143
|
+
"profile": "https://github.com/riboher",
|
|
144
|
+
"contributions": [
|
|
145
|
+
"code"
|
|
146
|
+
]
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"login": "area73",
|
|
150
|
+
"name": "Rodrigo",
|
|
151
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/2030605?v=4",
|
|
152
|
+
"profile": "http://www.siete3.com/",
|
|
153
|
+
"contributions": [
|
|
154
|
+
"code"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"login": "humanrender",
|
|
159
|
+
"name": "Sergio Ramirez",
|
|
160
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/161557?v=4",
|
|
161
|
+
"profile": "https://github.com/humanrender",
|
|
162
|
+
"contributions": [
|
|
163
|
+
"code"
|
|
164
|
+
]
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"login": "valenber",
|
|
168
|
+
"name": "Valentin Berlin",
|
|
169
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/7880641?v=4",
|
|
170
|
+
"profile": "https://valya.codes/",
|
|
171
|
+
"contributions": [
|
|
172
|
+
"code"
|
|
173
|
+
]
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"login": "YagoQuinoy",
|
|
177
|
+
"name": "Yago Quiñoy Lobariñas",
|
|
178
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/2685554?v=4",
|
|
179
|
+
"profile": "https://github.com/YagoQuinoy",
|
|
180
|
+
"contributions": [
|
|
181
|
+
"code"
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"login": "alejandromolero",
|
|
186
|
+
"name": "alejandromolero",
|
|
187
|
+
"avatar_url": "https://avatars.githubusercontent.com/u/5390467?v=4",
|
|
188
|
+
"profile": "https://github.com/alejandromolero",
|
|
189
|
+
"contributions": [
|
|
190
|
+
"code"
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
],
|
|
194
|
+
"contributorsPerLine": 7
|
|
195
|
+
}
|
|
@@ -1,30 +1,13 @@
|
|
|
1
|
-
# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
|
|
2
|
-
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
|
|
3
|
-
|
|
4
1
|
name: Publish package
|
|
5
2
|
|
|
6
3
|
on:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
branches: [main]
|
|
10
|
-
types:
|
|
11
|
-
- completed
|
|
12
|
-
push:
|
|
13
|
-
branches:
|
|
14
|
-
- '!*'
|
|
15
|
-
tags:
|
|
16
|
-
- 'v*'
|
|
4
|
+
release:
|
|
5
|
+
types: [created]
|
|
17
6
|
|
|
18
7
|
jobs:
|
|
19
8
|
publish-npm:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
with:
|
|
26
|
-
node-version: ${{ matrix.node-version }}
|
|
27
|
-
cache: 'yarn'
|
|
28
|
-
- uses: JS-DevTools/npm-publish@v1
|
|
29
|
-
with:
|
|
30
|
-
token: ${{ secrets.NPM_TOKEN }}
|
|
9
|
+
uses: cabify/javascript-actions/.github/workflows/npm_publish.yml@main
|
|
10
|
+
with:
|
|
11
|
+
tag: ${{ contains(github.ref_name,'beta') && 'beta' || 'latest' }}
|
|
12
|
+
secrets:
|
|
13
|
+
token: ${{ secrets.NPM_TOKEN }}
|
|
@@ -1,23 +1,7 @@
|
|
|
1
|
-
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
|
|
2
|
-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
|
3
|
-
|
|
4
1
|
name: Tests
|
|
5
2
|
|
|
6
|
-
on: [push
|
|
3
|
+
on: [push]
|
|
7
4
|
|
|
8
5
|
jobs:
|
|
9
6
|
test:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
steps:
|
|
13
|
-
- uses: actions/checkout@v2
|
|
14
|
-
- name: Use Node.js ${{ matrix.node-version }}
|
|
15
|
-
uses: actions/setup-node@v2
|
|
16
|
-
with:
|
|
17
|
-
node-version: 14.x
|
|
18
|
-
cache: 'yarn'
|
|
19
|
-
- run: yarn install
|
|
20
|
-
- name: Run Lint
|
|
21
|
-
run: yarn lint:check
|
|
22
|
-
- name: Run Format
|
|
23
|
-
run: yarn format:check
|
|
7
|
+
uses: cabify/javascript-actions/.github/workflows/tests.yml@main
|
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.0.3] - 2022-07-22
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Bump dependencies
|
|
15
|
+
|
|
16
|
+
## [1.0.2] - 2021-11-25
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Bump dependencies
|
|
21
|
+
|
|
22
|
+
## [1.0.1] - 2021-11-15
|
|
23
|
+
|
|
24
|
+
### Changed
|
|
25
|
+
|
|
26
|
+
- Bump dependencies
|
|
27
|
+
|
|
28
|
+
## [1.0.0] - 2021-10-27
|
|
29
|
+
|
|
10
30
|
### Changed
|
|
11
31
|
|
|
12
32
|
- ESLint v8 is now required as a peer dependency.
|
package/README.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @cabify/eslint-config
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
|
|
6
|
+
|
|
7
|
+
[](#contributors-)
|
|
8
|
+
|
|
9
|
+
<!-- ALL-CONTRIBUTORS-BADGE:END -->
|
|
10
|
+
|
|
3
11
|
ESLint config for both TS and JS, Cabify way.
|
|
4
12
|
|
|
5
13
|
## Installation
|
|
@@ -161,6 +169,8 @@ some rules. If you can live without them, just make these changes in your `.esli
|
|
|
161
169
|
|
|
162
170
|
If you use Jest, installing its import resolver into your project is encouraged.
|
|
163
171
|
|
|
172
|
+
1. Install the following dependencies:
|
|
173
|
+
|
|
164
174
|
```sh
|
|
165
175
|
npm i -D eslint-import-resolver-jest
|
|
166
176
|
```
|
|
@@ -171,67 +181,105 @@ or
|
|
|
171
181
|
yarn add --dev eslint-import-resolver-jest
|
|
172
182
|
```
|
|
173
183
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
If you want to maintain the formatting within ESLint, you can opt to extend the `@cabify/eslint-config/legacy` configuration instead of `@cabify/eslint-config/recommended`:
|
|
184
|
+
2. Modify `.eslintrc`:
|
|
177
185
|
|
|
178
186
|
```json
|
|
179
187
|
{
|
|
180
|
-
"extends": ["@cabify/eslint-config/legacy"],
|
|
181
188
|
...
|
|
189
|
+
"settings": {
|
|
190
|
+
...
|
|
191
|
+
"import/resolver": {
|
|
192
|
+
...
|
|
193
|
+
"jest": {
|
|
194
|
+
"jestConfigFile": "./jest.config.js"
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
182
198
|
}
|
|
183
199
|
```
|
|
184
200
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
Just merge to `main` branch and run:
|
|
188
|
-
|
|
189
|
-
- `git checkout main`
|
|
190
|
-
- `git pull`
|
|
191
|
-
- `yarn`
|
|
192
|
-
- `yarn publish:(major|minor|patch)`
|
|
193
|
-
- `git push --tags`
|
|
194
|
-
|
|
195
|
-
This will trigger a workflow on Github which will publish to npm eventually.
|
|
196
|
-
|
|
197
|
-
# Former contributors
|
|
198
|
-
|
|
199
|
-
Aarón García
|
|
200
|
-
|
|
201
|
-
Alejandro Frías
|
|
201
|
+
If you want to ensure that this resolver only applies to your test files, you can use ESLint's overrides configuration option:
|
|
202
202
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
Cristina Martín Gago
|
|
218
|
-
|
|
219
|
-
David Asensio Cañas
|
|
220
|
-
|
|
221
|
-
Francisco Sanchez
|
|
203
|
+
```json
|
|
204
|
+
"overrides": [
|
|
205
|
+
{
|
|
206
|
+
"files": ["**/__tests__/**/*.js"],
|
|
207
|
+
"settings": {
|
|
208
|
+
"import/resolver": {
|
|
209
|
+
"jest": {
|
|
210
|
+
"jestConfigFile": "./jest.config.js"
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
]
|
|
216
|
+
```
|
|
222
217
|
|
|
223
|
-
|
|
218
|
+
3. Make sure that you have set up your jest config file (e.g., `./jest.config.js` )
|
|
224
219
|
|
|
225
|
-
|
|
220
|
+
## Legacy
|
|
226
221
|
|
|
227
|
-
|
|
222
|
+
If you want to maintain the formatting within ESLint, you can opt to extend the `@cabify/eslint-config/legacy` configuration instead of `@cabify/eslint-config/recommended`:
|
|
228
223
|
|
|
229
|
-
|
|
224
|
+
```json
|
|
225
|
+
{
|
|
226
|
+
"extends": ["@cabify/eslint-config/legacy"],
|
|
227
|
+
...
|
|
228
|
+
}
|
|
229
|
+
```
|
|
230
230
|
|
|
231
|
-
|
|
231
|
+
### Publish a new version
|
|
232
232
|
|
|
233
|
-
|
|
233
|
+
- Update [CHANGELOG](./CHANGELOG.md) with new features, breaking changes, etc
|
|
234
|
+
- Check you're in `main` branch and everything is up-to-date.
|
|
235
|
+
- Run `yarn publish:<major|minor|patch>` or `yarn publish:canary` for canary versions.
|
|
236
|
+
- Run `git push && git push --tags`
|
|
237
|
+
- Check all test actions triggered after previous push are ✔️.
|
|
238
|
+
- Go to [create a new release](https://github.com/cabify/eslint-config/releases/new), select previously pushed tag and write a Title.
|
|
239
|
+
- Check the action for publish the npm has finished with success.
|
|
240
|
+
- [Check on npm package webpage](https://www.npmjs.com/package/@cabify/eslint-config), the version has been published successfully under `latest` tag.
|
|
234
241
|
|
|
235
|
-
|
|
242
|
+
This will trigger a workflow on Github which will publish to npm eventually.
|
|
236
243
|
|
|
237
|
-
|
|
244
|
+
## Contributors ✨
|
|
245
|
+
|
|
246
|
+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
247
|
+
|
|
248
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
249
|
+
<!-- prettier-ignore-start -->
|
|
250
|
+
<!-- markdownlint-disable -->
|
|
251
|
+
<table>
|
|
252
|
+
<tr>
|
|
253
|
+
<td align="center"><a href="https://aarongarciah.com/"><img src="https://avatars.githubusercontent.com/u/7225802?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Aarón García Hervás</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=aarongarciah" title="Code">💻</a></td>
|
|
254
|
+
<td align="center"><a href="https://github.com/alejandrofdiaz"><img src="https://avatars.githubusercontent.com/u/9197247?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Alejandro</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=alejandrofdiaz" title="Code">💻</a></td>
|
|
255
|
+
<td align="center"><a href="https://github.com/alexgallardo"><img src="https://avatars.githubusercontent.com/u/7766614?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Alejandro Gallardo Escobar</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=alexgallardo" title="Code">💻</a></td>
|
|
256
|
+
<td align="center"><a href="https://github.com/cicloon"><img src="https://avatars.githubusercontent.com/u/818328?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Alejandro León</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=cicloon" title="Code">💻</a></td>
|
|
257
|
+
<td align="center"><a href="https://github.com/AlexTemina"><img src="https://avatars.githubusercontent.com/u/14157093?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Alex Temina</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=AlexTemina" title="Code">💻</a></td>
|
|
258
|
+
<td align="center"><a href="http://www.ari.soy/"><img src="https://avatars.githubusercontent.com/u/29388744?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Arian Zargaran</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=ArianZargaran" title="Code">💻</a></td>
|
|
259
|
+
<td align="center"><a href="https://github.com/carloscasalar"><img src="https://avatars.githubusercontent.com/u/6154549?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Carlos Castillo</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=carloscasalar" title="Code">💻</a></td>
|
|
260
|
+
</tr>
|
|
261
|
+
<tr>
|
|
262
|
+
<td align="center"><a href="https://github.com/christiandebarrio"><img src="https://avatars.githubusercontent.com/u/13832650?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Christian</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=christiandebarrio" title="Code">💻</a></td>
|
|
263
|
+
<td align="center"><a href="https://github.com/Crismmgg"><img src="https://avatars.githubusercontent.com/u/56558107?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Crismmgg</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=Crismmgg" title="Code">💻</a></td>
|
|
264
|
+
<td align="center"><a href="https://github.com/d-asensio"><img src="https://avatars.githubusercontent.com/u/13970905?v=4?s=100" width="100px;" alt=""/><br /><sub><b>David Asensio Cañas</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=d-asensio" title="Code">💻</a></td>
|
|
265
|
+
<td align="center"><a href="https://github.com/inspiratweb"><img src="https://avatars.githubusercontent.com/u/6814061?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Francisco Sánchez</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=inspiratweb" title="Code">💻</a></td>
|
|
266
|
+
<td align="center"><a href="https://github.com/jalopez"><img src="https://avatars.githubusercontent.com/u/259623?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Javier López</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=jalopez" title="Code">💻</a></td>
|
|
267
|
+
<td align="center"><a href="https://github.com/jmmerino"><img src="https://avatars.githubusercontent.com/u/1152640?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jesús Merino Parra</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=jmmerino" title="Code">💻</a></td>
|
|
268
|
+
<td align="center"><a href="https://leireriel.github.io/leire-rico-portfolio/#/"><img src="https://avatars.githubusercontent.com/u/48056077?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Leire Rico</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=leireriel" title="Code">💻</a></td>
|
|
269
|
+
</tr>
|
|
270
|
+
<tr>
|
|
271
|
+
<td align="center"><a href="https://github.com/riboher"><img src="https://avatars.githubusercontent.com/u/11684090?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Ricardo Boluda</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=riboher" title="Code">💻</a></td>
|
|
272
|
+
<td align="center"><a href="http://www.siete3.com/"><img src="https://avatars.githubusercontent.com/u/2030605?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Rodrigo</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=area73" title="Code">💻</a></td>
|
|
273
|
+
<td align="center"><a href="https://github.com/humanrender"><img src="https://avatars.githubusercontent.com/u/161557?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sergio Ramirez</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=humanrender" title="Code">💻</a></td>
|
|
274
|
+
<td align="center"><a href="https://valya.codes/"><img src="https://avatars.githubusercontent.com/u/7880641?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Valentin Berlin</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=valenber" title="Code">💻</a></td>
|
|
275
|
+
<td align="center"><a href="https://github.com/YagoQuinoy"><img src="https://avatars.githubusercontent.com/u/2685554?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Yago Quiñoy Lobariñas</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=YagoQuinoy" title="Code">💻</a></td>
|
|
276
|
+
<td align="center"><a href="https://github.com/alejandromolero"><img src="https://avatars.githubusercontent.com/u/5390467?v=4?s=100" width="100px;" alt=""/><br /><sub><b>alejandromolero</b></sub></a><br /><a href="https://github.com/cabify/eslint-config/commits?author=alejandromolero" title="Code">💻</a></td>
|
|
277
|
+
</tr>
|
|
278
|
+
</table>
|
|
279
|
+
|
|
280
|
+
<!-- markdownlint-restore -->
|
|
281
|
+
<!-- prettier-ignore-end -->
|
|
282
|
+
|
|
283
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
284
|
+
|
|
285
|
+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cabify/eslint-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "ESLint config for Cabify Javascript projects",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "npm run lint:check && npm run format:check",
|
|
@@ -8,10 +8,12 @@
|
|
|
8
8
|
"lint:check": "eslint .",
|
|
9
9
|
"format": "prettier --write .",
|
|
10
10
|
"format:check": "prettier --check .",
|
|
11
|
+
"typecheck": "echo 'No typecheck to perform'",
|
|
12
|
+
"test:ci": "echo 'No test to perform'",
|
|
11
13
|
"publish:major": "npm version major",
|
|
12
14
|
"publish:minor": "npm version minor",
|
|
13
15
|
"publish:patch": "npm version patch",
|
|
14
|
-
"publish:canary": "npm version prerelease"
|
|
16
|
+
"publish:canary": "npm version prerelease --preid=beta"
|
|
15
17
|
},
|
|
16
18
|
"license": "Apache-2.0",
|
|
17
19
|
"repository": "github:cabify/eslint-config",
|
|
@@ -37,26 +39,26 @@
|
|
|
37
39
|
"./recommended": "./recommended.js"
|
|
38
40
|
},
|
|
39
41
|
"dependencies": {
|
|
40
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
41
|
-
"@typescript-eslint/parser": "5.
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
43
|
+
"@typescript-eslint/parser": "^5.4.0",
|
|
42
44
|
"confusing-browser-globals": "^1.0.10",
|
|
43
45
|
"eslint-config-prettier": "^8.3.0",
|
|
44
|
-
"eslint-plugin-import": "^2.25.
|
|
45
|
-
"eslint-plugin-jest": "^
|
|
46
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
46
|
+
"eslint-plugin-import": "^2.25.3",
|
|
47
|
+
"eslint-plugin-jest": "^26.0.0",
|
|
48
|
+
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
47
49
|
"eslint-plugin-lodash": "^7.3.0",
|
|
48
50
|
"eslint-plugin-prettier": "^4.0.0",
|
|
49
|
-
"eslint-plugin-react": "^7.
|
|
50
|
-
"eslint-plugin-react-hooks": "^4.
|
|
51
|
+
"eslint-plugin-react": "^7.27.1",
|
|
52
|
+
"eslint-plugin-react-hooks": "^4.3.0",
|
|
51
53
|
"eslint-plugin-simple-import-sort": "^7.0.0"
|
|
52
54
|
},
|
|
53
55
|
"peerDependencies": {
|
|
54
|
-
"eslint": "
|
|
55
|
-
"prettier": "
|
|
56
|
+
"eslint": ">= 8.0.1",
|
|
57
|
+
"prettier": ">= 2.2.1"
|
|
56
58
|
},
|
|
57
59
|
"devDependencies": {
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
+
"prettier": "2.7.1",
|
|
61
|
+
"eslint": "8.20.0"
|
|
60
62
|
},
|
|
61
63
|
"publishConfig": {
|
|
62
64
|
"access": "public"
|