@cabify/eslint-config 1.0.0-0 → 1.0.2
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/CHANGELOG.md +14 -0
- package/README.md +52 -43
- package/package.json +11 -11
|
@@ -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
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [1.0.2] - 2021-11-25
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Bump dependencies
|
|
15
|
+
|
|
16
|
+
## [1.0.1] - 2021-11-15
|
|
17
|
+
|
|
18
|
+
### Changed
|
|
19
|
+
|
|
20
|
+
- Bump dependencies
|
|
21
|
+
|
|
22
|
+
## [1.0.0] - 2021-10-27
|
|
23
|
+
|
|
10
24
|
### Changed
|
|
11
25
|
|
|
12
26
|
- 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
|
|
@@ -171,7 +179,7 @@ or
|
|
|
171
179
|
yarn add --dev eslint-import-resolver-jest
|
|
172
180
|
```
|
|
173
181
|
|
|
174
|
-
|
|
182
|
+
## Legacy
|
|
175
183
|
|
|
176
184
|
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`:
|
|
177
185
|
|
|
@@ -182,7 +190,7 @@ If you want to maintain the formatting within ESLint, you can opt to extend the
|
|
|
182
190
|
}
|
|
183
191
|
```
|
|
184
192
|
|
|
185
|
-
|
|
193
|
+
## Publish new version
|
|
186
194
|
|
|
187
195
|
Just merge to `main` branch and run:
|
|
188
196
|
|
|
@@ -194,44 +202,45 @@ Just merge to `main` branch and run:
|
|
|
194
202
|
|
|
195
203
|
This will trigger a workflow on Github which will publish to npm eventually.
|
|
196
204
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
Alejandro
|
|
208
|
-
|
|
209
|
-
Alejandro
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
Christian
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
205
|
+
## Contributors ✨
|
|
206
|
+
|
|
207
|
+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
208
|
+
|
|
209
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
210
|
+
<!-- prettier-ignore-start -->
|
|
211
|
+
<!-- markdownlint-disable -->
|
|
212
|
+
<table>
|
|
213
|
+
<tr>
|
|
214
|
+
<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>
|
|
215
|
+
<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>
|
|
216
|
+
<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>
|
|
217
|
+
<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>
|
|
218
|
+
<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>
|
|
219
|
+
<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>
|
|
220
|
+
<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>
|
|
221
|
+
</tr>
|
|
222
|
+
<tr>
|
|
223
|
+
<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>
|
|
224
|
+
<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>
|
|
225
|
+
<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>
|
|
226
|
+
<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>
|
|
227
|
+
<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>
|
|
228
|
+
<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>
|
|
229
|
+
<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>
|
|
230
|
+
</tr>
|
|
231
|
+
<tr>
|
|
232
|
+
<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>
|
|
233
|
+
<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>
|
|
234
|
+
<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>
|
|
235
|
+
<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>
|
|
236
|
+
<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>
|
|
237
|
+
<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>
|
|
238
|
+
</tr>
|
|
239
|
+
</table>
|
|
240
|
+
|
|
241
|
+
<!-- markdownlint-restore -->
|
|
242
|
+
<!-- prettier-ignore-end -->
|
|
243
|
+
|
|
244
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
245
|
+
|
|
246
|
+
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.2",
|
|
4
4
|
"description": "ESLint config for Cabify Javascript projects",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test": "npm run lint:check && npm run format:check",
|
|
@@ -37,25 +37,25 @@
|
|
|
37
37
|
"./recommended": "./recommended.js"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
41
|
-
"@typescript-eslint/parser": "^5.
|
|
40
|
+
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
41
|
+
"@typescript-eslint/parser": "^5.4.0",
|
|
42
42
|
"confusing-browser-globals": "^1.0.10",
|
|
43
43
|
"eslint-config-prettier": "^8.3.0",
|
|
44
|
-
"eslint-plugin-import": "^2.25.
|
|
45
|
-
"eslint-plugin-jest": "^25.
|
|
46
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
44
|
+
"eslint-plugin-import": "^2.25.3",
|
|
45
|
+
"eslint-plugin-jest": "^25.3.0",
|
|
46
|
+
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
47
47
|
"eslint-plugin-lodash": "^7.3.0",
|
|
48
48
|
"eslint-plugin-prettier": "^4.0.0",
|
|
49
|
-
"eslint-plugin-react": "^7.
|
|
50
|
-
"eslint-plugin-react-hooks": "^4.
|
|
49
|
+
"eslint-plugin-react": "^7.27.1",
|
|
50
|
+
"eslint-plugin-react-hooks": "^4.3.0",
|
|
51
51
|
"eslint-plugin-simple-import-sort": "^7.0.0"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"eslint": "
|
|
55
|
-
"prettier": "
|
|
54
|
+
"eslint": ">= 8.0.1",
|
|
55
|
+
"prettier": ">= 2.2.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"eslint": "8.0
|
|
58
|
+
"eslint": "8.3.0",
|
|
59
59
|
"prettier": "2.4.1"
|
|
60
60
|
},
|
|
61
61
|
"publishConfig": {
|