@loopback/docs 5.1.3 → 5.1.4
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/CHANGELOG.md +12 -0
- package/package.json +4 -4
- package/site/apidocs/repository.defaultcrudrepository.entitytodata.md +2 -2
- package/site/changelogs/bodyparsers/rest-msgpack/CHANGELOG.md +31 -110
- package/site/changelogs/examples/access-control-migration/CHANGELOG.md +33 -218
- package/site/changelogs/examples/binding-resolution/CHANGELOG.md +40 -112
- package/site/changelogs/examples/context/CHANGELOG.md +33 -324
- package/site/changelogs/examples/express-composition/CHANGELOG.md +51 -430
- package/site/changelogs/examples/file-transfer/CHANGELOG.md +29 -207
- package/site/changelogs/examples/graphql/CHANGELOG.md +43 -122
- package/site/changelogs/examples/greeter-extension/CHANGELOG.md +32 -368
- package/site/changelogs/examples/greeting-app/CHANGELOG.md +29 -326
- package/site/changelogs/examples/hello-world/CHANGELOG.md +127 -698
- package/site/changelogs/examples/lb3-application/CHANGELOG.md +44 -358
- package/site/changelogs/examples/log-extension/CHANGELOG.md +131 -711
- package/site/changelogs/examples/metrics-prometheus/CHANGELOG.md +27 -238
- package/site/changelogs/examples/multi-tenancy/CHANGELOG.md +31 -192
- package/site/changelogs/examples/passport-login/CHANGELOG.md +37 -211
- package/site/changelogs/examples/references-many/CHANGELOG.md +7 -16
- package/site/changelogs/examples/rest-crud/CHANGELOG.md +29 -207
- package/site/changelogs/examples/rpc-server/CHANGELOG.md +130 -668
- package/site/changelogs/examples/soap-calculator/CHANGELOG.md +96 -578
- package/site/changelogs/examples/socketio/CHANGELOG.md +17 -99
- package/site/changelogs/examples/todo/CHANGELOG.md +244 -894
- package/site/changelogs/examples/todo-jwt/CHANGELOG.md +27 -161
- package/site/changelogs/examples/todo-list/CHANGELOG.md +142 -653
- package/site/changelogs/examples/validation-app/CHANGELOG.md +29 -206
- package/site/changelogs/examples/webpack/CHANGELOG.md +45 -117
- package/site/changelogs/extensions/apiconnect/CHANGELOG.md +43 -201
- package/site/changelogs/extensions/authentication-jwt/CHANGELOG.md +70 -208
- package/site/changelogs/extensions/authentication-passport/CHANGELOG.md +72 -273
- package/site/changelogs/extensions/context-explorer/CHANGELOG.md +43 -184
- package/site/changelogs/extensions/cron/CHANGELOG.md +41 -196
- package/site/changelogs/extensions/graphql/CHANGELOG.md +45 -124
- package/site/changelogs/extensions/health/CHANGELOG.md +64 -292
- package/site/changelogs/extensions/logging/CHANGELOG.md +73 -227
- package/site/changelogs/extensions/metrics/CHANGELOG.md +83 -264
- package/site/changelogs/extensions/pooling/CHANGELOG.md +42 -141
- package/site/changelogs/extensions/socketio/CHANGELOG.md +36 -104
- package/site/changelogs/extensions/typeorm/CHANGELOG.md +40 -142
- package/site/changelogs/fixtures/mock-oauth2-provider/CHANGELOG.md +36 -159
- package/site/changelogs/packages/authentication/CHANGELOG.md +315 -879
- package/site/changelogs/packages/authorization/CHANGELOG.md +71 -299
- package/site/changelogs/packages/boot/CHANGELOG.md +252 -760
- package/site/changelogs/packages/booter-lb3app/CHANGELOG.md +67 -365
- package/site/changelogs/packages/build/CHANGELOG.md +304 -705
- package/site/changelogs/packages/cli/CHANGELOG.md +1179 -1605
- package/site/changelogs/packages/context/CHANGELOG.md +502 -908
- package/site/changelogs/packages/core/CHANGELOG.md +255 -746
- package/site/changelogs/packages/eslint-config/CHANGELOG.md +153 -375
- package/site/changelogs/packages/express/CHANGELOG.md +79 -200
- package/site/changelogs/packages/filter/CHANGELOG.md +45 -121
- package/site/changelogs/packages/http-caching-proxy/CHANGELOG.md +84 -482
- package/site/changelogs/packages/http-server/CHANGELOG.md +193 -623
- package/site/changelogs/packages/metadata/CHANGELOG.md +188 -645
- package/site/changelogs/packages/model-api-builder/CHANGELOG.md +42 -222
- package/site/changelogs/packages/monorepo/CHANGELOG.md +36 -97
- package/site/changelogs/packages/openapi-spec-builder/CHANGELOG.md +187 -663
- package/site/changelogs/packages/openapi-v3/CHANGELOG.md +325 -808
- package/site/changelogs/packages/repository/CHANGELOG.md +588 -1044
- package/site/changelogs/packages/repository-json-schema/CHANGELOG.md +309 -811
- package/site/changelogs/packages/repository-tests/CHANGELOG.md +101 -343
- package/site/changelogs/packages/rest/CHANGELOG.md +688 -1158
- package/site/changelogs/packages/rest-crud/CHANGELOG.md +69 -281
- package/site/changelogs/packages/rest-explorer/CHANGELOG.md +67 -436
- package/site/changelogs/packages/security/CHANGELOG.md +45 -262
- package/site/changelogs/packages/service-proxy/CHANGELOG.md +166 -610
- package/site/changelogs/packages/testlab/CHANGELOG.md +218 -675
- package/site/changelogs/packages/tsdocs/CHANGELOG.md +70 -333
- package/site/express-with-lb4-rest-tutorial.md +1 -1
|
@@ -13,7 +13,7 @@ permalink: /doc/en/lb4/changelog.eslint-config.html
|
|
|
13
13
|
All notable changes to this project will be documented in this file.
|
|
14
14
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
15
15
|
|
|
16
|
-
## [13.0.
|
|
16
|
+
## [13.0.5](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@13.0.4...@loopback/eslint-config@13.0.5) (2022-11-24)
|
|
17
17
|
|
|
18
18
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
19
19
|
|
|
@@ -21,728 +21,506 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
# Change Log
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
All notable changes to this project will be documented in this file. See
|
|
27
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
27
28
|
|
|
29
|
+
## [13.0.4](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@13.0.3...@loopback/eslint-config@13.0.4) (2022-10-13)
|
|
28
30
|
|
|
31
|
+
**Note:** Version bump only for package @loopback/eslint-config
|
|
29
32
|
|
|
33
|
+
## [13.0.3](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@13.0.2...@loopback/eslint-config@13.0.3) (2022-08-25)
|
|
30
34
|
|
|
35
|
+
**Note:** Version bump only for package @loopback/eslint-config
|
|
31
36
|
|
|
32
37
|
## [13.0.2](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@13.0.1...@loopback/eslint-config@13.0.2) (2022-07-14)
|
|
33
38
|
|
|
34
39
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
35
40
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
41
|
## [13.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@13.0.0...@loopback/eslint-config@13.0.1) (2022-06-13)
|
|
41
42
|
|
|
42
|
-
|
|
43
43
|
### Bug Fixes
|
|
44
44
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
45
|
+
- revert update and pin version of eslint-plugin-mocha to v10.0.3
|
|
46
|
+
([19b3ac3](https://github.com/loopbackio/loopback-next/commit/19b3ac31e5486d1b6196b8b96a12e483c19a4e53))
|
|
50
47
|
|
|
51
48
|
## [13.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@12.0.4...@loopback/eslint-config@13.0.0) (2022-05-05)
|
|
52
49
|
|
|
53
|
-
|
|
54
50
|
### ⚠ BREAKING CHANGES
|
|
55
51
|
|
|
56
|
-
|
|
52
|
+
- remove node v12 support
|
|
57
53
|
|
|
58
54
|
### Features
|
|
59
55
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
56
|
+
- add support for node v18
|
|
57
|
+
([ccb4c61](https://github.com/loopbackio/loopback-next/commit/ccb4c61307d94ab7bb07a19c547dfc4fa7d388a8))
|
|
58
|
+
- remove node v12 support
|
|
59
|
+
([5f66e5b](https://github.com/loopbackio/loopback-next/commit/5f66e5bd288ba806b3aa6550fc29c5009de8b60d))
|
|
63
60
|
|
|
64
61
|
### Reverts
|
|
65
62
|
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
- update dependency eslint-plugin-mocha to ^10.0.4
|
|
64
|
+
([c7f9263](https://github.com/loopbackio/loopback-next/commit/c7f9263095579fdcff65ab77a00f92c1cbab9718))
|
|
69
65
|
|
|
70
66
|
## [12.0.4](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@12.0.3...@loopback/eslint-config@12.0.4) (2022-03-29)
|
|
71
67
|
|
|
72
|
-
|
|
73
68
|
### Bug Fixes
|
|
74
69
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
70
|
+
- ignore HTTP code-like object members
|
|
71
|
+
([493e275](https://github.com/loopbackio/loopback-next/commit/493e2759ef7749b4d2ff7499318b7a6232e74d0d))
|
|
72
|
+
- ignore MIME type-like object members
|
|
73
|
+
([f282dca](https://github.com/loopbackio/loopback-next/commit/f282dcab18addf63a2fad45fb7b1f0da97c27390))
|
|
81
74
|
|
|
82
75
|
## [12.0.3](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@12.0.2...@loopback/eslint-config@12.0.3) (2022-02-28)
|
|
83
76
|
|
|
84
77
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
85
78
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
79
|
## [12.0.2](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@12.0.1...@loopback/eslint-config@12.0.2) (2022-02-14)
|
|
91
80
|
|
|
92
81
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
93
82
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
83
|
## [12.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@12.0.0...@loopback/eslint-config@12.0.1) (2022-01-11)
|
|
99
84
|
|
|
100
85
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
101
86
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
87
|
# [12.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@11.0.2...@loopback/eslint-config@12.0.0) (2021-11-18)
|
|
107
88
|
|
|
108
|
-
|
|
109
89
|
### Features
|
|
110
90
|
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
91
|
+
- drop support for Node.js v10
|
|
92
|
+
([9bcbbb3](https://github.com/loopbackio/loopback-next/commit/9bcbbb358ec3eabc3033d4e7e1c22b524a7069b3))
|
|
93
|
+
- support Node.js v17
|
|
94
|
+
([8d86c03](https://github.com/loopbackio/loopback-next/commit/8d86c03cb7047e2b1f18d05870628ef5783e71b2))
|
|
95
|
+
- upgrade to TypeScript 4.5.2
|
|
96
|
+
([72ece91](https://github.com/loopbackio/loopback-next/commit/72ece91289ecfdfd8747bb9888ad75db73e8ff4b))
|
|
115
97
|
|
|
116
98
|
### BREAKING CHANGES
|
|
117
99
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
Co-authored-by: Francisco Buceta <frbuceta@gmail.com>
|
|
121
|
-
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
100
|
+
- drop support for Node.js v10
|
|
125
101
|
|
|
102
|
+
Co-authored-by: Francisco Buceta <frbuceta@gmail.com> Signed-off-by: Rifa
|
|
103
|
+
Achrinza <25147899+achrinza@users.noreply.github.com>
|
|
126
104
|
|
|
127
105
|
## [11.0.2](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@11.0.1...@loopback/eslint-config@11.0.2) (2021-10-18)
|
|
128
106
|
|
|
129
107
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
130
108
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
109
|
## [11.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@11.0.0...@loopback/eslint-config@11.0.1) (2021-09-16)
|
|
136
110
|
|
|
137
111
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
138
112
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
113
|
# [11.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@10.2.1...@loopback/eslint-config@11.0.0) (2021-07-15)
|
|
144
114
|
|
|
145
|
-
|
|
146
115
|
### Features
|
|
147
116
|
|
|
148
|
-
|
|
149
|
-
|
|
117
|
+
- **rest:** upgrade to ajv@8.x
|
|
118
|
+
([d3b20ed](https://github.com/loopbackio/loopback-next/commit/d3b20edc142d5c014c17ffbfa69f74403793330f))
|
|
150
119
|
|
|
151
120
|
### BREAKING CHANGES
|
|
152
121
|
|
|
153
|
-
|
|
154
|
-
|
|
122
|
+
- **rest:** We upgrade to ajv@8.x, which contains breaking changes for
|
|
123
|
+
validations. See
|
|
124
|
+
https://github.com/ajv-validator/ajv/blob/master/docs/v6-to-v8-migration.md.
|
|
155
125
|
|
|
156
126
|
Signed-off-by: Raymond Feng <enjoyjava@gmail.com>
|
|
157
127
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
128
|
## [10.2.1](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@10.2.0...@loopback/eslint-config@10.2.1) (2021-06-10)
|
|
163
129
|
|
|
164
130
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
165
131
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
132
|
# [10.2.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@10.1.1...@loopback/eslint-config@10.2.0) (2021-05-03)
|
|
171
133
|
|
|
172
|
-
|
|
173
134
|
### Features
|
|
174
135
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
136
|
+
- support node v16
|
|
137
|
+
([ac99415](https://github.com/loopbackio/loopback-next/commit/ac994154543bde22b4482ba98813351656db1b55))
|
|
180
138
|
|
|
181
139
|
## [10.1.1](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@10.1.0...@loopback/eslint-config@10.1.1) (2021-04-06)
|
|
182
140
|
|
|
183
141
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
184
142
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
143
|
# [10.1.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@10.0.5...@loopback/eslint-config@10.1.0) (2021-03-18)
|
|
190
144
|
|
|
191
|
-
|
|
192
145
|
### Bug Fixes
|
|
193
146
|
|
|
194
|
-
|
|
195
|
-
|
|
147
|
+
- no need to import prettier extensions anymore
|
|
148
|
+
([0b13d35](https://github.com/loopbackio/loopback-next/commit/0b13d353a3055414e691176cd83c908a78afcc05))
|
|
196
149
|
|
|
197
150
|
### Features
|
|
198
151
|
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
152
|
+
- update package-lock.json to v2 consistently
|
|
153
|
+
([dfc3fbd](https://github.com/loopbackio/loopback-next/commit/dfc3fbdae0c9ca9f34c64154a471bef22d5ac6b7))
|
|
154
|
+
- upgrade to TypeScript 4.2.x
|
|
155
|
+
([05930bc](https://github.com/loopbackio/loopback-next/commit/05930bc0cece3909dd66f75ad91eeaa2d365a480))
|
|
205
156
|
|
|
206
157
|
## [10.0.5](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@10.0.4...@loopback/eslint-config@10.0.5) (2021-01-21)
|
|
207
158
|
|
|
208
159
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
209
160
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
161
|
## [10.0.4](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@10.0.3...@loopback/eslint-config@10.0.4) (2020-12-07)
|
|
215
162
|
|
|
216
163
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
217
164
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
165
|
## [10.0.3](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@10.0.2...@loopback/eslint-config@10.0.3) (2020-11-18)
|
|
223
166
|
|
|
224
167
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
225
168
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
169
|
## [10.0.2](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@10.0.1...@loopback/eslint-config@10.0.2) (2020-11-05)
|
|
231
170
|
|
|
232
171
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
233
172
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
173
|
## [10.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@10.0.0...@loopback/eslint-config@10.0.1) (2020-10-07)
|
|
239
174
|
|
|
240
175
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
241
176
|
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
177
|
# [10.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@9.0.2...@loopback/eslint-config@10.0.0) (2020-09-15)
|
|
247
178
|
|
|
248
|
-
|
|
249
179
|
### Features
|
|
250
180
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
181
|
+
- **eslint-config:** update rules to be compatible with typescript-eslint 4.x
|
|
182
|
+
([595951c](https://github.com/loopbackio/loopback-next/commit/595951cab99af82a1d41623ad37c133b3e6d8c5a))
|
|
183
|
+
- update typescript-eslint monorepo to v4
|
|
184
|
+
([5767e22](https://github.com/loopbackio/loopback-next/commit/5767e22eaf9813ea619f21710bddf12ac7303705))
|
|
254
185
|
|
|
255
186
|
### BREAKING CHANGES
|
|
256
187
|
|
|
257
|
-
|
|
258
|
-
|
|
188
|
+
- **eslint-config:** typescript-eslint 4.x introduces some breaking changes. The
|
|
189
|
+
following are impacted:
|
|
259
190
|
|
|
260
|
-
|
|
261
|
-
|
|
191
|
+
* decorator functions are correctly honored as usage of defined variables
|
|
192
|
+
* @typescript-eslint/no-shadow replaces no-shadow
|
|
262
193
|
|
|
263
194
|
Signed-off-by: Raymond Feng <enjoyjava@gmail.com>
|
|
264
195
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
196
|
## [9.0.2](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@9.0.1...@loopback/eslint-config@9.0.2) (2020-08-27)
|
|
270
197
|
|
|
271
198
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
272
199
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
200
|
## [9.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@9.0.0...@loopback/eslint-config@9.0.1) (2020-08-19)
|
|
278
201
|
|
|
279
202
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
280
203
|
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
204
|
# [9.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@8.0.4...@loopback/eslint-config@9.0.0) (2020-08-05)
|
|
286
205
|
|
|
287
|
-
|
|
288
206
|
### Features
|
|
289
207
|
|
|
290
|
-
|
|
291
|
-
|
|
208
|
+
- **eslint-config:** disable `createDefaultProgram`
|
|
209
|
+
([13dbaf2](https://github.com/loopbackio/loopback-next/commit/13dbaf24abad16ac4249cef15f41508d5264ed54))
|
|
292
210
|
|
|
293
211
|
### BREAKING CHANGES
|
|
294
212
|
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
`
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
file.
|
|
213
|
+
- **eslint-config:** We are no longer telling eslint to create a default program
|
|
214
|
+
for files not included in `tsconfig.json`. If you start receiving linter
|
|
215
|
+
errors after upgrade, you can either add `createDefaultProgram` to your eslint
|
|
216
|
+
config manually, modify your `tsconfig` file to include all files checked by
|
|
217
|
+
eslint, or exclude the problematic files from linting by adding them to
|
|
218
|
+
`.eslintignore` file.
|
|
302
219
|
|
|
303
|
-
In projects scaffolded via `lb4 app`, we recommend to add `.eslintrc.js`
|
|
304
|
-
|
|
220
|
+
In projects scaffolded via `lb4 app`, we recommend to add `.eslintrc.js` file to
|
|
221
|
+
`.eslintignore` list.
|
|
305
222
|
|
|
306
223
|
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
|
|
307
224
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
225
|
## [8.0.4](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@8.0.3...@loopback/eslint-config@8.0.4) (2020-07-20)
|
|
313
226
|
|
|
314
227
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
315
228
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
229
|
## [8.0.3](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@8.0.2...@loopback/eslint-config@8.0.3) (2020-06-30)
|
|
321
230
|
|
|
322
231
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
323
232
|
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
233
|
## [8.0.2](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@8.0.1...@loopback/eslint-config@8.0.2) (2020-06-23)
|
|
329
234
|
|
|
330
|
-
|
|
331
235
|
### Bug Fixes
|
|
332
236
|
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
237
|
+
- set node version to >=10.16 to support events.once
|
|
238
|
+
([e39da1c](https://github.com/loopbackio/loopback-next/commit/e39da1ca47728eafaf83c10ce35b09b03b6a4edc))
|
|
338
239
|
|
|
339
240
|
## [8.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@8.0.0...@loopback/eslint-config@8.0.1) (2020-06-11)
|
|
340
241
|
|
|
341
242
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
342
243
|
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
244
|
# [8.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@7.0.1...@loopback/eslint-config@8.0.0) (2020-05-28)
|
|
348
245
|
|
|
349
|
-
|
|
350
246
|
### Features
|
|
351
247
|
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
248
|
+
- **eslint-config:** add naming convention rules
|
|
249
|
+
([c8e2143](https://github.com/loopbackio/loopback-next/commit/c8e214392a572a81620133f79c2cc122f89e6862))
|
|
250
|
+
- **eslint-config:** disable 'warning Missing return type on function' for now
|
|
251
|
+
([1b3494e](https://github.com/loopbackio/loopback-next/commit/1b3494e721e1eed782f07ab38748662d850391f0))
|
|
355
252
|
|
|
356
253
|
### BREAKING CHANGES
|
|
357
254
|
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
rules. Manual fixes may be required.
|
|
255
|
+
- **eslint-config:** @typescript-eslint/typescript-eslint v3.0.0 introduces a
|
|
256
|
+
list of breaking changes. Existing code might violate the new or changed
|
|
257
|
+
rules. Manual fixes may be required.
|
|
361
258
|
|
|
362
259
|
See more details at:
|
|
363
260
|
https://github.com/typescript-eslint/typescript-eslint/releases/tag/v3.0.0
|
|
364
261
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
262
|
## [7.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@7.0.0...@loopback/eslint-config@7.0.1) (2020-05-20)
|
|
370
263
|
|
|
371
264
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
372
265
|
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
266
|
# [7.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@6.0.6...@loopback/eslint-config@7.0.0) (2020-05-19)
|
|
378
267
|
|
|
379
|
-
|
|
380
268
|
### Features
|
|
381
269
|
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
270
|
+
- replace eslint rule `no-invalid-this` with TypeScript-aware one
|
|
271
|
+
([b2f21f7](https://github.com/loopbackio/loopback-next/commit/b2f21f78c28c71b59bbed8f1a42c4b663c85f507))
|
|
272
|
+
- **eslint-config:** upgrade to ESLint 7.x
|
|
273
|
+
([5c3e3c2](https://github.com/loopbackio/loopback-next/commit/5c3e3c247b9d6f47a1b5d861ffe3eff35ed5caf0))
|
|
385
274
|
|
|
386
275
|
### BREAKING CHANGES
|
|
387
276
|
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
277
|
+
- In code accessing `this` variable, eslint-ignore comment for `no-invalid-this`
|
|
278
|
+
will no longer work. You can either change those comments to disable
|
|
279
|
+
`@typescript-eslint/no-invalid-this`, or better tell TypeScript what is the
|
|
280
|
+
type of `this` in your function.
|
|
392
281
|
|
|
393
282
|
A TypeScript example:
|
|
394
283
|
|
|
395
284
|
```ts
|
|
396
|
-
describe('my mocha suite', function(this: Mocha.Suite) {
|
|
285
|
+
describe('my mocha suite', function (this: Mocha.Suite) {
|
|
397
286
|
this.timeout(1000);
|
|
398
|
-
it('is slow', function(this: Mocha.Context) {
|
|
287
|
+
it('is slow', function (this: Mocha.Context) {
|
|
399
288
|
this.timeout(2000);
|
|
400
289
|
});
|
|
401
|
-
})
|
|
290
|
+
});
|
|
402
291
|
```
|
|
403
292
|
|
|
404
293
|
A JavaScript example:
|
|
405
294
|
|
|
406
295
|
```js
|
|
407
|
-
describe('my mocha suite', /** @this {Mocha.Suite} */ function() {
|
|
296
|
+
describe('my mocha suite', /** @this {Mocha.Suite} */ function () {
|
|
408
297
|
this.timeout(1000);
|
|
409
|
-
it('is slow', /** @this {Mocha.Context} */ function() {
|
|
298
|
+
it('is slow', /** @this {Mocha.Context} */ function () {
|
|
410
299
|
this.timeout(2000);
|
|
411
300
|
});
|
|
412
|
-
})
|
|
301
|
+
});
|
|
413
302
|
```
|
|
414
303
|
|
|
415
304
|
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
|
|
416
|
-
* **eslint-config:** ESLint 7.x changes how plugins references in the shared
|
|
417
|
-
config are resolved. The following is quoted from
|
|
418
|
-
https://eslint.org/blog/2020/05/eslint-v7.0.0-released:
|
|
419
|
-
|
|
420
|
-
> ESLint will now resolve plugins relative to the entry configuration file.
|
|
421
|
-
This means that shared configuration files that are located outside the
|
|
422
|
-
project can now be colocated with the plugins they require.
|
|
423
|
-
> Starting in ESLint v7, configuration files and ignore files passed to
|
|
424
|
-
ESLint using the --config path/to/a-config and --ignore-path
|
|
425
|
-
path/to/a-ignore CLI flags, respectively, will resolve from the current
|
|
426
|
-
working directory rather than the file location. This allows for users to
|
|
427
|
-
utilize shared plugins without having to install them directly in their
|
|
428
|
-
project.
|
|
429
|
-
|
|
430
|
-
|
|
431
305
|
|
|
306
|
+
- **eslint-config:** ESLint 7.x changes how plugins references in the shared
|
|
307
|
+
config are resolved. The following is quoted from
|
|
308
|
+
https://eslint.org/blog/2020/05/eslint-v7.0.0-released:
|
|
432
309
|
|
|
310
|
+
> ESLint will now resolve plugins relative to the entry configuration file. This
|
|
311
|
+
> means that shared configuration files that are located outside the project can
|
|
312
|
+
> now be colocated with the plugins they require. Starting in ESLint v7,
|
|
313
|
+
> configuration files and ignore files passed to ESLint using the --config
|
|
314
|
+
> path/to/a-config and --ignore-path path/to/a-ignore CLI flags, respectively,
|
|
315
|
+
> will resolve from the current working directory rather than the file location.
|
|
316
|
+
> This allows for users to utilize shared plugins without having to install them
|
|
317
|
+
> directly in their project.
|
|
433
318
|
|
|
434
319
|
## [6.0.6](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@6.0.5...@loopback/eslint-config@6.0.6) (2020-05-07)
|
|
435
320
|
|
|
436
321
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
437
322
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
323
|
## [6.0.5](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@6.0.4...@loopback/eslint-config@6.0.5) (2020-04-29)
|
|
443
324
|
|
|
444
325
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
445
326
|
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
327
|
## [6.0.4](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@6.0.3...@loopback/eslint-config@6.0.4) (2020-04-22)
|
|
451
328
|
|
|
452
329
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
453
330
|
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
331
|
## [6.0.3](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@6.0.2...@loopback/eslint-config@6.0.3) (2020-04-08)
|
|
459
332
|
|
|
460
333
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
461
334
|
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
335
|
## [6.0.2](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@6.0.1...@loopback/eslint-config@6.0.2) (2020-03-24)
|
|
467
336
|
|
|
468
337
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
469
338
|
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
339
|
## [6.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@6.0.0...@loopback/eslint-config@6.0.1) (2020-03-17)
|
|
475
340
|
|
|
476
341
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
477
342
|
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
343
|
# [6.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@5.0.3...@loopback/eslint-config@6.0.0) (2020-03-05)
|
|
483
344
|
|
|
484
|
-
|
|
485
345
|
### chore
|
|
486
346
|
|
|
487
|
-
|
|
488
|
-
|
|
347
|
+
- remove support for Node.js v8.x
|
|
348
|
+
([4281d9d](https://github.com/loopbackio/loopback-next/commit/4281d9df50f0715d32879e1442a90b643ec8f542))
|
|
489
349
|
|
|
490
350
|
### Features
|
|
491
351
|
|
|
492
|
-
|
|
493
|
-
|
|
352
|
+
- **eslint-config:** disallow non-null assertions after optional chain
|
|
353
|
+
([6fdc2b5](https://github.com/loopbackio/loopback-next/commit/6fdc2b524b72a2cca08307e5d1a66c360c3ceb5a)),
|
|
354
|
+
closes [#4675](https://github.com/loopbackio/loopback-next/issues/4675)
|
|
494
355
|
|
|
495
356
|
### BREAKING CHANGES
|
|
496
357
|
|
|
497
|
-
|
|
498
|
-
`@typescript-eslint/no-non-null-asserted-optional-chain` is set to
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
358
|
+
- **eslint-config:** eslint rule
|
|
359
|
+
`@typescript-eslint/no-non-null-asserted-optional-chain` is set to `error`
|
|
360
|
+
which may break existing lint tests.
|
|
361
|
+
- Node.js v8.x is now end of life. Please upgrade to version 10 and above. See
|
|
362
|
+
https://nodejs.org/en/about/releases.
|
|
506
363
|
|
|
507
364
|
## [5.0.3](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@5.0.2...@loopback/eslint-config@5.0.3) (2020-02-05)
|
|
508
365
|
|
|
509
366
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
510
367
|
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
368
|
## [5.0.2](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@5.0.1...@loopback/eslint-config@5.0.2) (2020-01-27)
|
|
516
369
|
|
|
517
370
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
518
371
|
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
372
|
## [5.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@5.0.0...@loopback/eslint-config@5.0.1) (2020-01-07)
|
|
524
373
|
|
|
525
374
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
526
375
|
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
376
|
# [5.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@4.1.5...@loopback/eslint-config@5.0.0) (2019-12-09)
|
|
532
377
|
|
|
533
|
-
|
|
534
378
|
### Features
|
|
535
379
|
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
380
|
+
- **eslint-config:** add @typescript-eslint/prefer-nullish-coalescing rule
|
|
381
|
+
([b608120](https://github.com/loopbackio/loopback-next/commit/b608120dbf67e1f93eabd6fa5efe1f6e6630084a))
|
|
382
|
+
- **eslint-config:** add typescript-eslint/prefer-optional-chain rule
|
|
383
|
+
([bd1252a](https://github.com/loopbackio/loopback-next/commit/bd1252a4367db8212f8b48c06fcc7434a2456b12))
|
|
384
|
+
- **eslint-config:** enable no-extra-non-null-assertion
|
|
385
|
+
([d74a688](https://github.com/loopbackio/loopback-next/commit/d74a68889fb48d7a1cb7034cb5a8fa8587853b5e))
|
|
386
|
+
- **eslint-config:** enable return-await
|
|
387
|
+
([be6b38b](https://github.com/loopbackio/loopback-next/commit/be6b38b75b2f4c937b742398c9edcbb6c2d1d7c0))
|
|
541
388
|
|
|
542
389
|
### BREAKING CHANGES
|
|
543
390
|
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
inside `try` blocks.
|
|
391
|
+
- **eslint-config:** The linter will reject code using `return await` ouside of
|
|
392
|
+
`try` blocks or forgetting to `await` before returning from inside a `try`
|
|
393
|
+
block. Migration guide: use `return` outside of `try` blocks and
|
|
394
|
+
`return await` inside `try` blocks.
|
|
549
395
|
|
|
550
396
|
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
|
|
551
|
-
* **eslint-config:** the `@typescript-eslint/prefer-nullish-coalescing` rule prefers
|
|
552
|
-
nullish coalescing, for example, `ttl ?? 5000` over `ttl || 5000`.
|
|
553
|
-
|
|
554
|
-
See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#nullish-coalescing
|
|
555
|
-
* **eslint-config:** the `@typescript-eslint/prefer-optional-chain` rule will
|
|
556
|
-
report violations if optional chaining is not used. For example, it prefers
|
|
557
|
-
`options?.ttl` over `options && options.ttl`.
|
|
558
|
-
|
|
559
|
-
See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#optional-chaining
|
|
560
397
|
|
|
398
|
+
- **eslint-config:** the `@typescript-eslint/prefer-nullish-coalescing` rule
|
|
399
|
+
prefers nullish coalescing, for example, `ttl ?? 5000` over `ttl || 5000`.
|
|
561
400
|
|
|
401
|
+
See
|
|
402
|
+
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#nullish-coalescing
|
|
562
403
|
|
|
404
|
+
- **eslint-config:** the `@typescript-eslint/prefer-optional-chain` rule will
|
|
405
|
+
report violations if optional chaining is not used. For example, it prefers
|
|
406
|
+
`options?.ttl` over `options && options.ttl`.
|
|
563
407
|
|
|
408
|
+
See
|
|
409
|
+
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#optional-chaining
|
|
564
410
|
|
|
565
411
|
## [4.1.5](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@4.1.4...@loopback/eslint-config@4.1.5) (2019-11-25)
|
|
566
412
|
|
|
567
413
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
568
414
|
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
415
|
## [4.1.4](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@4.1.3...@loopback/eslint-config@4.1.4) (2019-11-12)
|
|
574
416
|
|
|
575
417
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
576
418
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
419
|
## [4.1.3](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@4.1.2...@loopback/eslint-config@4.1.3) (2019-10-24)
|
|
582
420
|
|
|
583
421
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
584
422
|
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
423
|
## [4.1.2](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@4.1.1...@loopback/eslint-config@4.1.2) (2019-10-07)
|
|
590
424
|
|
|
591
425
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
592
426
|
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
427
|
## [4.1.1](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@4.1.0...@loopback/eslint-config@4.1.1) (2019-09-27)
|
|
598
428
|
|
|
599
429
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
600
430
|
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
431
|
# [4.1.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@4.0.2...@loopback/eslint-config@4.1.0) (2019-09-17)
|
|
606
432
|
|
|
607
|
-
|
|
608
433
|
### Features
|
|
609
434
|
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
435
|
+
- **eslint-config:** enable "no-misused-promises" rule
|
|
436
|
+
([88d5494](https://github.com/loopbackio/loopback-next/commit/88d5494))
|
|
615
437
|
|
|
616
438
|
## [4.0.2](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@4.0.1...@loopback/eslint-config@4.0.2) (2019-09-03)
|
|
617
439
|
|
|
618
440
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
619
441
|
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
442
|
## [4.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@4.0.0...@loopback/eslint-config@4.0.1) (2019-08-19)
|
|
625
443
|
|
|
626
444
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
627
445
|
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
446
|
# [4.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@3.0.0...@loopback/eslint-config@4.0.0) (2019-08-15)
|
|
633
447
|
|
|
634
|
-
|
|
635
448
|
### Features
|
|
636
449
|
|
|
637
|
-
|
|
638
|
-
|
|
450
|
+
- **eslint-config:** upgrade to @typescript-eslint/eslint-plugin 2.0.0
|
|
451
|
+
([1ec5b2f](https://github.com/loopbackio/loopback-next/commit/1ec5b2f))
|
|
639
452
|
|
|
640
453
|
### BREAKING CHANGES
|
|
641
454
|
|
|
642
|
-
|
|
643
|
-
2.0.0 may have introduced breaking changes
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
455
|
+
- **eslint-config:** @typescript-eslint/parser and
|
|
456
|
+
@typescript-eslint/eslint-plugin 2.0.0 may have introduced breaking changes
|
|
457
|
+
for recommended rules and configuration
|
|
648
458
|
|
|
649
459
|
# [3.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@2.0.2...@loopback/eslint-config@3.0.0) (2019-07-31)
|
|
650
460
|
|
|
651
|
-
|
|
652
461
|
### Features
|
|
653
462
|
|
|
654
|
-
|
|
655
|
-
|
|
463
|
+
- **eslint-config:** enable "no-return-await" rule
|
|
464
|
+
([e28a3c3](https://github.com/loopbackio/loopback-next/commit/e28a3c3))
|
|
656
465
|
|
|
657
466
|
### BREAKING CHANGES
|
|
658
467
|
|
|
659
|
-
|
|
660
|
-
promise without awaiting its resolution.
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
468
|
+
- **eslint-config:** "return await" is no longer allowed, just return the
|
|
469
|
+
promise without awaiting its resolution.
|
|
665
470
|
|
|
666
471
|
## [2.0.2](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@2.0.1...@loopback/eslint-config@2.0.2) (2019-07-26)
|
|
667
472
|
|
|
668
473
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
669
474
|
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
475
|
## [2.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@2.0.0...@loopback/eslint-config@2.0.1) (2019-07-17)
|
|
675
476
|
|
|
676
477
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
677
478
|
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
479
|
# [2.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@1.1.2...@loopback/eslint-config@2.0.0) (2019-06-28)
|
|
683
480
|
|
|
684
|
-
|
|
685
481
|
### Features
|
|
686
482
|
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
483
|
+
- **eslint-config:** enable "no-floating-promises" rule
|
|
484
|
+
([256e3e8](https://github.com/loopbackio/loopback-next/commit/256e3e8))
|
|
485
|
+
- **eslint-config:** upgrade eslint to v6
|
|
486
|
+
([b52a40c](https://github.com/loopbackio/loopback-next/commit/b52a40c))
|
|
690
487
|
|
|
691
488
|
### BREAKING CHANGES
|
|
692
489
|
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
490
|
+
- **eslint-config:** We require eslint version 6.0 as a peer dependency now. To
|
|
491
|
+
upgrade your project using our eslint-config, bump up eslint version in your
|
|
492
|
+
package.json file to "^6.0.0".
|
|
696
493
|
|
|
697
494
|
The new eslint version added new recommended rules, most notably
|
|
698
|
-
"require-atomic-updates" and "no-prototype-builtins". You may get new
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
495
|
+
"require-atomic-updates" and "no-prototype-builtins". You may get new linting
|
|
496
|
+
errors after upgrade, fix them by changing your code or adding eslint-ignore
|
|
497
|
+
comments as needed.
|
|
705
498
|
|
|
706
499
|
## [1.1.2](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@1.1.1...@loopback/eslint-config@1.1.2) (2019-06-17)
|
|
707
500
|
|
|
708
501
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
709
502
|
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
503
|
## [1.1.1](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@1.1.0...@loopback/eslint-config@1.1.1) (2019-06-06)
|
|
715
504
|
|
|
716
505
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
717
506
|
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
507
|
# [1.1.0](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@1.0.0-3...@loopback/eslint-config@1.1.0) (2019-06-03)
|
|
723
508
|
|
|
724
|
-
|
|
725
509
|
### Features
|
|
726
510
|
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
511
|
+
- replace tslint with eslint
|
|
512
|
+
([44185a7](https://github.com/loopbackio/loopback-next/commit/44185a7))
|
|
513
|
+
- **eslint-config:** allow detection of tsconfig file
|
|
514
|
+
([5c16db6](https://github.com/loopbackio/loopback-next/commit/5c16db6))
|
|
733
515
|
|
|
734
516
|
# [1.0.0-3](https://github.com/loopbackio/loopback-next/compare/@loopback/eslint-config@1.0.0-2...@loopback/eslint-config@1.0.0-3) (2019-05-31)
|
|
735
517
|
|
|
736
518
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
737
519
|
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
520
|
# 1.0.0-2 (2019-05-30)
|
|
743
521
|
|
|
744
|
-
|
|
745
522
|
### Features
|
|
746
523
|
|
|
747
|
-
|
|
524
|
+
- **build:** add eslint scripts and default configs
|
|
525
|
+
([a6abe86](https://github.com/loopbackio/loopback-next/commit/a6abe86))
|
|
748
526
|
|