@cabify/eslint-config 2.0.1 → 2.1.1

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.
@@ -3,9 +3,7 @@
3
3
  "projectOwner": "cabify",
4
4
  "repoType": "github",
5
5
  "repoHost": "https://github.com",
6
- "files": [
7
- "README.md"
8
- ],
6
+ "files": ["README.md"],
9
7
  "imageSize": 100,
10
8
  "commit": true,
11
9
  "commitConvention": "none",
@@ -15,180 +13,140 @@
15
13
  "name": "Aarón García Hervás",
16
14
  "avatar_url": "https://avatars.githubusercontent.com/u/7225802?v=4",
17
15
  "profile": "https://aarongarciah.com/",
18
- "contributions": [
19
- "code"
20
- ]
16
+ "contributions": ["code"]
21
17
  },
22
18
  {
23
19
  "login": "alejandrofdiaz",
24
20
  "name": "Alejandro",
25
21
  "avatar_url": "https://avatars.githubusercontent.com/u/9197247?v=4",
26
22
  "profile": "https://github.com/alejandrofdiaz",
27
- "contributions": [
28
- "code"
29
- ]
23
+ "contributions": ["code"]
30
24
  },
31
25
  {
32
26
  "login": "alexgallardo",
33
27
  "name": "Alejandro Gallardo Escobar",
34
28
  "avatar_url": "https://avatars.githubusercontent.com/u/7766614?v=4",
35
29
  "profile": "https://github.com/alexgallardo",
36
- "contributions": [
37
- "code"
38
- ]
30
+ "contributions": ["code"]
39
31
  },
40
32
  {
41
33
  "login": "cicloon",
42
34
  "name": "Alejandro León",
43
35
  "avatar_url": "https://avatars.githubusercontent.com/u/818328?v=4",
44
36
  "profile": "https://github.com/cicloon",
45
- "contributions": [
46
- "code"
47
- ]
37
+ "contributions": ["code"]
48
38
  },
49
39
  {
50
40
  "login": "AlexTemina",
51
41
  "name": "Alex Temina",
52
42
  "avatar_url": "https://avatars.githubusercontent.com/u/14157093?v=4",
53
43
  "profile": "https://github.com/AlexTemina",
54
- "contributions": [
55
- "code"
56
- ]
44
+ "contributions": ["code"]
57
45
  },
58
46
  {
59
47
  "login": "ArianZargaran",
60
48
  "name": "Arian Zargaran",
61
49
  "avatar_url": "https://avatars.githubusercontent.com/u/29388744?v=4",
62
50
  "profile": "http://www.ari.soy/",
63
- "contributions": [
64
- "code"
65
- ]
51
+ "contributions": ["code"]
66
52
  },
67
53
  {
68
54
  "login": "carloscasalar",
69
55
  "name": "Carlos Castillo",
70
56
  "avatar_url": "https://avatars.githubusercontent.com/u/6154549?v=4",
71
57
  "profile": "https://github.com/carloscasalar",
72
- "contributions": [
73
- "code"
74
- ]
58
+ "contributions": ["code"]
75
59
  },
76
60
  {
77
61
  "login": "christiandebarrio",
78
62
  "name": "Christian",
79
63
  "avatar_url": "https://avatars.githubusercontent.com/u/13832650?v=4",
80
64
  "profile": "https://github.com/christiandebarrio",
81
- "contributions": [
82
- "code"
83
- ]
65
+ "contributions": ["code"]
84
66
  },
85
67
  {
86
68
  "login": "Crismmgg",
87
69
  "name": "Crismmgg",
88
70
  "avatar_url": "https://avatars.githubusercontent.com/u/56558107?v=4",
89
71
  "profile": "https://github.com/Crismmgg",
90
- "contributions": [
91
- "code"
92
- ]
72
+ "contributions": ["code"]
93
73
  },
94
74
  {
95
75
  "login": "d-asensio",
96
76
  "name": "David Asensio Cañas",
97
77
  "avatar_url": "https://avatars.githubusercontent.com/u/13970905?v=4",
98
78
  "profile": "https://github.com/d-asensio",
99
- "contributions": [
100
- "code"
101
- ]
79
+ "contributions": ["code"]
102
80
  },
103
81
  {
104
82
  "login": "inspiratweb",
105
83
  "name": "Francisco Sánchez",
106
84
  "avatar_url": "https://avatars.githubusercontent.com/u/6814061?v=4",
107
85
  "profile": "https://github.com/inspiratweb",
108
- "contributions": [
109
- "code"
110
- ]
86
+ "contributions": ["code"]
111
87
  },
112
88
  {
113
89
  "login": "jalopez",
114
90
  "name": "Javier López",
115
91
  "avatar_url": "https://avatars.githubusercontent.com/u/259623?v=4",
116
92
  "profile": "https://github.com/jalopez",
117
- "contributions": [
118
- "code"
119
- ]
93
+ "contributions": ["code"]
120
94
  },
121
95
  {
122
96
  "login": "jmmerino",
123
97
  "name": "Jesús Merino Parra",
124
98
  "avatar_url": "https://avatars.githubusercontent.com/u/1152640?v=4",
125
99
  "profile": "https://github.com/jmmerino",
126
- "contributions": [
127
- "code"
128
- ]
100
+ "contributions": ["code"]
129
101
  },
130
102
  {
131
103
  "login": "leireriel",
132
104
  "name": "Leire Rico",
133
105
  "avatar_url": "https://avatars.githubusercontent.com/u/48056077?v=4",
134
106
  "profile": "https://leireriel.github.io/leire-rico-portfolio/#/",
135
- "contributions": [
136
- "code"
137
- ]
107
+ "contributions": ["code"]
138
108
  },
139
109
  {
140
110
  "login": "riboher",
141
111
  "name": "Ricardo Boluda",
142
112
  "avatar_url": "https://avatars.githubusercontent.com/u/11684090?v=4",
143
113
  "profile": "https://github.com/riboher",
144
- "contributions": [
145
- "code"
146
- ]
114
+ "contributions": ["code"]
147
115
  },
148
116
  {
149
117
  "login": "area73",
150
118
  "name": "Rodrigo",
151
119
  "avatar_url": "https://avatars.githubusercontent.com/u/2030605?v=4",
152
120
  "profile": "http://www.siete3.com/",
153
- "contributions": [
154
- "code"
155
- ]
121
+ "contributions": ["code"]
156
122
  },
157
123
  {
158
124
  "login": "humanrender",
159
125
  "name": "Sergio Ramirez",
160
126
  "avatar_url": "https://avatars.githubusercontent.com/u/161557?v=4",
161
127
  "profile": "https://github.com/humanrender",
162
- "contributions": [
163
- "code"
164
- ]
128
+ "contributions": ["code"]
165
129
  },
166
130
  {
167
131
  "login": "valenber",
168
132
  "name": "Valentin Berlin",
169
133
  "avatar_url": "https://avatars.githubusercontent.com/u/7880641?v=4",
170
134
  "profile": "https://valya.codes/",
171
- "contributions": [
172
- "code"
173
- ]
135
+ "contributions": ["code"]
174
136
  },
175
137
  {
176
138
  "login": "YagoQuinoy",
177
139
  "name": "Yago Quiñoy Lobariñas",
178
140
  "avatar_url": "https://avatars.githubusercontent.com/u/2685554?v=4",
179
141
  "profile": "https://github.com/YagoQuinoy",
180
- "contributions": [
181
- "code"
182
- ]
142
+ "contributions": ["code"]
183
143
  },
184
144
  {
185
145
  "login": "alejandromolero",
186
146
  "name": "alejandromolero",
187
147
  "avatar_url": "https://avatars.githubusercontent.com/u/5390467?v=4",
188
148
  "profile": "https://github.com/alejandromolero",
189
- "contributions": [
190
- "code"
191
- ]
149
+ "contributions": ["code"]
192
150
  }
193
151
  ],
194
152
  "contributorsPerLine": 7
package/CHANGELOG.md CHANGED
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.1.1] - 2024-07-10
11
+
12
+ - Updating naming convention for imports. Added `camelCase`, `PascalCase` and `UPPER_CASE`.
13
+
14
+ ## [2.1.0] - 2024-06-20
15
+
16
+ - Updating dependencies before migration to ESlint 9.
17
+
10
18
  ## [2.0.1] - 2023-07-12
11
19
 
12
20
  - Bumped prettier to v3 and eslint-plugin-prettier to v5 because of [compatibility issues between them](https://github.com/prettier/eslint-plugin-prettier/issues/562).
package/configs/ts.js CHANGED
@@ -19,6 +19,10 @@ module.exports = {
19
19
  selector: 'default',
20
20
  format: ['camelCase'],
21
21
  },
22
+ {
23
+ selector: 'import',
24
+ format: ['camelCase', 'PascalCase', 'UPPER_CASE'],
25
+ },
22
26
  {
23
27
  // This is the 'property' group values. For some reason `property` selector is not recogniced.
24
28
  selector: ['classProperty', 'objectLiteralProperty', 'typeProperty'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cabify/eslint-config",
3
- "version": "2.0.1",
3
+ "version": "2.1.1",
4
4
  "description": "ESLint config for Cabify Javascript projects",
5
5
  "scripts": {
6
6
  "build": "echo 'No build to perform'",
@@ -40,32 +40,32 @@
40
40
  "./recommended": "./recommended.js"
41
41
  },
42
42
  "dependencies": {
43
- "@typescript-eslint/eslint-plugin": "^5.62.0",
44
- "@typescript-eslint/parser": "^5.61.0",
43
+ "@typescript-eslint/eslint-plugin": "^7.15.0",
44
+ "@typescript-eslint/parser": "^7.15.0",
45
45
  "confusing-browser-globals": "^1.0.10",
46
- "eslint-config-prettier": "^8.8.0",
47
- "eslint-plugin-import": "^2.27.5",
48
- "eslint-plugin-jest": "^27.2.2",
49
- "eslint-plugin-jsx-a11y": "^6.7.1",
46
+ "eslint-config-prettier": "^9.1.0",
47
+ "eslint-plugin-import": "^2.29.1",
48
+ "eslint-plugin-jest": "^27.9.0",
49
+ "eslint-plugin-jsx-a11y": "^6.8.0",
50
50
  "eslint-plugin-lodash": "^7.3.0",
51
- "eslint-plugin-prettier": "^5.0.0",
52
- "eslint-plugin-react": "^7.32.2",
51
+ "eslint-plugin-prettier": "^5.1.3",
52
+ "eslint-plugin-react": "^7.34.0",
53
53
  "eslint-plugin-react-hooks": "^4.3.0",
54
- "eslint-plugin-simple-import-sort": "^10.0.0"
54
+ "eslint-plugin-simple-import-sort": "^12.0.0"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "eslint": ">= 8.0.1",
58
58
  "prettier": ">= 2.2.1"
59
59
  },
60
60
  "devDependencies": {
61
- "eslint": "8.44.0",
62
- "prettier": "3.0.0"
61
+ "eslint": "8.57.0",
62
+ "prettier": "3.3.2"
63
63
  },
64
64
  "publishConfig": {
65
65
  "access": "public"
66
66
  },
67
67
  "volta": {
68
- "node": "14.18.1",
68
+ "node": "20.14.0",
69
69
  "yarn": "1.22.17"
70
70
  }
71
71
  }