@loopback/docs 5.1.2 → 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 +1303 -1570
- package/package.json +4 -4
- package/site/apidocs/authentication-jwt.userrepository._constructor_.md +1 -1
- package/site/apidocs/authentication-jwt.userrepository.md +1 -1
- package/site/apidocs/authentication.authenticateactionprovider._constructor_.md +1 -1
- package/site/apidocs/authentication.authenticateactionprovider.md +1 -1
- package/site/apidocs/authentication.authenticationstrategyprovider._constructor_.md +1 -1
- package/site/apidocs/authentication.authenticationstrategyprovider.md +1 -1
- package/site/apidocs/boot.modelapibooter._constructor_.md +1 -1
- package/site/apidocs/boot.modelapibooter.md +1 -1
- package/site/apidocs/context.binding.toclass.md +2 -2
- package/site/apidocs/context.contextview.asgetter.md +1 -1
- package/site/apidocs/context.createviewgetter.md +1 -1
- package/site/apidocs/context.createviewgetter_1.md +1 -1
- package/site/apidocs/context.instantiateclass.md +1 -1
- package/site/apidocs/cron.croncomponent._constructor_.md +1 -1
- package/site/apidocs/cron.croncomponent.md +1 -1
- package/site/apidocs/logging.winstonloggerprovider._constructor_.md +2 -2
- package/site/apidocs/openapi-v3.oasenhancerservice._constructor_.md +1 -1
- package/site/apidocs/repository.buildlookupmap.md +1 -1
- package/site/apidocs/repository.createbelongstoaccessor.md +1 -1
- package/site/apidocs/repository.createbelongstoinclusionresolver.md +1 -1
- package/site/apidocs/repository.createhasmanyinclusionresolver.md +1 -1
- package/site/apidocs/repository.createhasmanyrepositoryfactory.md +1 -1
- package/site/apidocs/repository.createhasmanythroughrepositoryfactory.md +2 -2
- package/site/apidocs/repository.createhasonerepositoryfactory.md +1 -1
- package/site/apidocs/repository.createreferencesmanyaccessor.md +1 -1
- package/site/apidocs/repository.createreferencesmanyinclusionresolver.md +1 -1
- package/site/apidocs/repository.defaultbelongstorepository._constructor_.md +1 -1
- package/site/apidocs/repository.defaultbelongstorepository.md +2 -2
- package/site/apidocs/repository.defaultcrudrepository._createbelongstoaccessorfor.md +1 -1
- package/site/apidocs/repository.defaultcrudrepository._createhasmanyrepositoryfactoryfor.md +1 -1
- package/site/apidocs/repository.defaultcrudrepository._createhasonerepositoryfactoryfor.md +1 -1
- package/site/apidocs/repository.defaultcrudrepository._createreferencesmanyaccessorfor.md +1 -1
- package/site/apidocs/repository.defaultcrudrepository.createbelongstoaccessorfor.md +1 -1
- package/site/apidocs/repository.defaultcrudrepository.createhasmanyrepositoryfactoryfor.md +1 -1
- package/site/apidocs/repository.defaultcrudrepository.createhasmanythroughrepositoryfactoryfor.md +2 -2
- package/site/apidocs/repository.defaultcrudrepository.createhasonerepositoryfactoryfor.md +1 -1
- package/site/apidocs/repository.defaultcrudrepository.createreferencesmanyaccessorfor.md +1 -1
- package/site/apidocs/repository.defaultcrudrepository.entitytodata.md +2 -2
- package/site/apidocs/repository.defaulthasmanyrepository._constructor_.md +1 -1
- package/site/apidocs/repository.defaulthasmanyrepository.md +1 -1
- package/site/apidocs/repository.defaulthasmanythroughrepository._constructor_.md +2 -2
- package/site/apidocs/repository.defaulthasmanythroughrepository.md +3 -3
- package/site/apidocs/repository.defaulthasonerepository._constructor_.md +1 -1
- package/site/apidocs/repository.defaulthasonerepository.md +2 -2
- package/site/apidocs/repository.defaultreferencesmanyrepository._constructor_.md +1 -1
- package/site/apidocs/repository.defaultreferencesmanyrepository.md +1 -1
- package/site/apidocs/repository.resolvetype.md +1 -1
- package/site/apidocs/rest.controllerroute.md +1 -1
- package/site/apidocs/rest.createcontrollerfactoryforbinding.md +1 -1
- package/site/apidocs/rest.createcontrollerfactoryforclass.md +1 -1
- package/site/apidocs/rest.createcontrollerfactoryforinstance.md +1 -1
- package/site/apidocs/rest.createroutesforcontroller.md +1 -1
- package/site/apidocs/rest.httphandler.registercontroller.md +1 -1
- package/site/apidocs/rest.restapplication.route.md +1 -1
- package/site/apidocs/rest.restbindings.https_options.md +1 -1
- package/site/apidocs/rest.restserver.route.md +1 -1
- package/site/apidocs/rest.routingtable.registercontroller.md +1 -1
- package/site/apidocs/socketio.socketiocontrollerfactory._constructor_.md +2 -2
- package/site/apidocs/testlab.createstubinstance.md +1 -1
- package/site/changelogs/bodyparsers/rest-msgpack/CHANGELOG.md +33 -104
- package/site/changelogs/examples/access-control-migration/CHANGELOG.md +35 -212
- package/site/changelogs/examples/binding-resolution/CHANGELOG.md +42 -106
- package/site/changelogs/examples/context/CHANGELOG.md +35 -318
- package/site/changelogs/examples/express-composition/CHANGELOG.md +53 -424
- package/site/changelogs/examples/file-transfer/CHANGELOG.md +31 -201
- package/site/changelogs/examples/graphql/CHANGELOG.md +45 -116
- package/site/changelogs/examples/greeter-extension/CHANGELOG.md +34 -362
- package/site/changelogs/examples/greeting-app/CHANGELOG.md +31 -320
- package/site/changelogs/examples/hello-world/CHANGELOG.md +129 -692
- package/site/changelogs/examples/lb3-application/CHANGELOG.md +47 -353
- package/site/changelogs/examples/log-extension/CHANGELOG.md +134 -706
- package/site/changelogs/examples/metrics-prometheus/CHANGELOG.md +29 -232
- package/site/changelogs/examples/multi-tenancy/CHANGELOG.md +34 -187
- package/site/changelogs/examples/passport-login/CHANGELOG.md +39 -205
- package/site/changelogs/examples/references-many/CHANGELOG.md +9 -10
- package/site/changelogs/examples/rest-crud/CHANGELOG.md +32 -202
- package/site/changelogs/examples/rpc-server/CHANGELOG.md +132 -662
- package/site/changelogs/examples/soap-calculator/CHANGELOG.md +101 -575
- package/site/changelogs/examples/socketio/CHANGELOG.md +19 -93
- package/site/changelogs/examples/todo/CHANGELOG.md +249 -891
- package/site/changelogs/examples/todo-jwt/CHANGELOG.md +30 -156
- package/site/changelogs/examples/todo-list/CHANGELOG.md +149 -652
- package/site/changelogs/examples/validation-app/CHANGELOG.md +31 -200
- package/site/changelogs/examples/webpack/CHANGELOG.md +47 -111
- package/site/changelogs/extensions/apiconnect/CHANGELOG.md +45 -195
- package/site/changelogs/extensions/authentication-jwt/CHANGELOG.md +72 -202
- package/site/changelogs/extensions/authentication-passport/CHANGELOG.md +74 -267
- package/site/changelogs/extensions/context-explorer/CHANGELOG.md +45 -178
- package/site/changelogs/extensions/cron/CHANGELOG.md +43 -190
- package/site/changelogs/extensions/graphql/CHANGELOG.md +47 -118
- package/site/changelogs/extensions/health/CHANGELOG.md +66 -286
- package/site/changelogs/extensions/logging/CHANGELOG.md +75 -221
- package/site/changelogs/extensions/metrics/CHANGELOG.md +85 -258
- package/site/changelogs/extensions/pooling/CHANGELOG.md +45 -136
- package/site/changelogs/extensions/socketio/CHANGELOG.md +39 -99
- package/site/changelogs/extensions/typeorm/CHANGELOG.md +42 -136
- package/site/changelogs/fixtures/mock-oauth2-provider/CHANGELOG.md +38 -153
- package/site/changelogs/packages/authentication/CHANGELOG.md +321 -877
- package/site/changelogs/packages/authorization/CHANGELOG.md +73 -293
- package/site/changelogs/packages/boot/CHANGELOG.md +255 -755
- package/site/changelogs/packages/booter-lb3app/CHANGELOG.md +69 -359
- package/site/changelogs/packages/build/CHANGELOG.md +310 -703
- package/site/changelogs/packages/cli/CHANGELOG.md +1193 -1611
- package/site/changelogs/packages/context/CHANGELOG.md +505 -903
- package/site/changelogs/packages/core/CHANGELOG.md +258 -741
- package/site/changelogs/packages/eslint-config/CHANGELOG.md +156 -370
- package/site/changelogs/packages/express/CHANGELOG.md +81 -194
- package/site/changelogs/packages/filter/CHANGELOG.md +47 -115
- package/site/changelogs/packages/http-caching-proxy/CHANGELOG.md +86 -476
- package/site/changelogs/packages/http-server/CHANGELOG.md +195 -617
- package/site/changelogs/packages/metadata/CHANGELOG.md +190 -639
- package/site/changelogs/packages/model-api-builder/CHANGELOG.md +44 -216
- package/site/changelogs/packages/monorepo/CHANGELOG.md +39 -92
- package/site/changelogs/packages/openapi-spec-builder/CHANGELOG.md +262 -730
- package/site/changelogs/packages/openapi-v3/CHANGELOG.md +333 -808
- package/site/changelogs/packages/repository/CHANGELOG.md +594 -1042
- package/site/changelogs/packages/repository-json-schema/CHANGELOG.md +291 -785
- package/site/changelogs/packages/repository-tests/CHANGELOG.md +103 -337
- package/site/changelogs/packages/rest/CHANGELOG.md +693 -1155
- package/site/changelogs/packages/rest-crud/CHANGELOG.md +72 -276
- package/site/changelogs/packages/rest-explorer/CHANGELOG.md +69 -430
- package/site/changelogs/packages/security/CHANGELOG.md +47 -256
- package/site/changelogs/packages/service-proxy/CHANGELOG.md +172 -608
- package/site/changelogs/packages/testlab/CHANGELOG.md +220 -666
- package/site/changelogs/packages/tsdocs/CHANGELOG.md +72 -327
- package/site/express-with-lb4-rest-tutorial.md +1 -1
- package/site/readmes/loopback-next/extensions/typeorm/README.md +14 -0
|
@@ -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,720 +21,506 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
# Change Log
|
|
25
|
+
|
|
26
|
+
All notable changes to this project will be documented in this file. See
|
|
27
|
+
[Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
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)
|
|
25
30
|
|
|
26
31
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
27
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)
|
|
28
34
|
|
|
35
|
+
**Note:** Version bump only for package @loopback/eslint-config
|
|
29
36
|
|
|
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)
|
|
30
38
|
|
|
39
|
+
**Note:** Version bump only for package @loopback/eslint-config
|
|
31
40
|
|
|
32
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)
|
|
33
42
|
|
|
34
|
-
|
|
35
43
|
### Bug Fixes
|
|
36
44
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
45
|
+
- revert update and pin version of eslint-plugin-mocha to v10.0.3
|
|
46
|
+
([19b3ac3](https://github.com/loopbackio/loopback-next/commit/19b3ac31e5486d1b6196b8b96a12e483c19a4e53))
|
|
42
47
|
|
|
43
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)
|
|
44
49
|
|
|
45
|
-
|
|
46
50
|
### ⚠ BREAKING CHANGES
|
|
47
51
|
|
|
48
|
-
|
|
52
|
+
- remove node v12 support
|
|
49
53
|
|
|
50
54
|
### Features
|
|
51
55
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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))
|
|
55
60
|
|
|
56
61
|
### Reverts
|
|
57
62
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
63
|
+
- update dependency eslint-plugin-mocha to ^10.0.4
|
|
64
|
+
([c7f9263](https://github.com/loopbackio/loopback-next/commit/c7f9263095579fdcff65ab77a00f92c1cbab9718))
|
|
61
65
|
|
|
62
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)
|
|
63
67
|
|
|
64
|
-
|
|
65
68
|
### Bug Fixes
|
|
66
69
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
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))
|
|
73
74
|
|
|
74
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)
|
|
75
76
|
|
|
76
77
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
77
78
|
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
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)
|
|
83
80
|
|
|
84
81
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
85
82
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
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)
|
|
91
84
|
|
|
92
85
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
93
86
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
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)
|
|
99
88
|
|
|
100
|
-
|
|
101
89
|
### Features
|
|
102
90
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
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))
|
|
107
97
|
|
|
108
98
|
### BREAKING CHANGES
|
|
109
99
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
Co-authored-by: Francisco Buceta <frbuceta@gmail.com>
|
|
113
|
-
Signed-off-by: Rifa Achrinza <25147899+achrinza@users.noreply.github.com>
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
100
|
+
- drop support for Node.js v10
|
|
117
101
|
|
|
102
|
+
Co-authored-by: Francisco Buceta <frbuceta@gmail.com> Signed-off-by: Rifa
|
|
103
|
+
Achrinza <25147899+achrinza@users.noreply.github.com>
|
|
118
104
|
|
|
119
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)
|
|
120
106
|
|
|
121
107
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
122
108
|
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
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)
|
|
128
110
|
|
|
129
111
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
130
112
|
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
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)
|
|
136
114
|
|
|
137
|
-
|
|
138
115
|
### Features
|
|
139
116
|
|
|
140
|
-
|
|
141
|
-
|
|
117
|
+
- **rest:** upgrade to ajv@8.x
|
|
118
|
+
([d3b20ed](https://github.com/loopbackio/loopback-next/commit/d3b20edc142d5c014c17ffbfa69f74403793330f))
|
|
142
119
|
|
|
143
120
|
### BREAKING CHANGES
|
|
144
121
|
|
|
145
|
-
|
|
146
|
-
|
|
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.
|
|
147
125
|
|
|
148
126
|
Signed-off-by: Raymond Feng <enjoyjava@gmail.com>
|
|
149
127
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
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)
|
|
155
129
|
|
|
156
130
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
157
131
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
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)
|
|
163
133
|
|
|
164
|
-
|
|
165
134
|
### Features
|
|
166
135
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
136
|
+
- support node v16
|
|
137
|
+
([ac99415](https://github.com/loopbackio/loopback-next/commit/ac994154543bde22b4482ba98813351656db1b55))
|
|
172
138
|
|
|
173
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)
|
|
174
140
|
|
|
175
141
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
176
142
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
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)
|
|
182
144
|
|
|
183
|
-
|
|
184
145
|
### Bug Fixes
|
|
185
146
|
|
|
186
|
-
|
|
187
|
-
|
|
147
|
+
- no need to import prettier extensions anymore
|
|
148
|
+
([0b13d35](https://github.com/loopbackio/loopback-next/commit/0b13d353a3055414e691176cd83c908a78afcc05))
|
|
188
149
|
|
|
189
150
|
### Features
|
|
190
151
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
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))
|
|
197
156
|
|
|
198
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)
|
|
199
158
|
|
|
200
159
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
201
160
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
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)
|
|
207
162
|
|
|
208
163
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
209
164
|
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
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)
|
|
215
166
|
|
|
216
167
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
217
168
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
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)
|
|
223
170
|
|
|
224
171
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
225
172
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
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)
|
|
231
174
|
|
|
232
175
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
233
176
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
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)
|
|
239
178
|
|
|
240
|
-
|
|
241
179
|
### Features
|
|
242
180
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
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))
|
|
246
185
|
|
|
247
186
|
### BREAKING CHANGES
|
|
248
187
|
|
|
249
|
-
|
|
250
|
-
|
|
188
|
+
- **eslint-config:** typescript-eslint 4.x introduces some breaking changes. The
|
|
189
|
+
following are impacted:
|
|
251
190
|
|
|
252
|
-
|
|
253
|
-
|
|
191
|
+
* decorator functions are correctly honored as usage of defined variables
|
|
192
|
+
* @typescript-eslint/no-shadow replaces no-shadow
|
|
254
193
|
|
|
255
194
|
Signed-off-by: Raymond Feng <enjoyjava@gmail.com>
|
|
256
195
|
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
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)
|
|
262
197
|
|
|
263
198
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
264
199
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
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)
|
|
270
201
|
|
|
271
202
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
272
203
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
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)
|
|
278
205
|
|
|
279
|
-
|
|
280
206
|
### Features
|
|
281
207
|
|
|
282
|
-
|
|
283
|
-
|
|
208
|
+
- **eslint-config:** disable `createDefaultProgram`
|
|
209
|
+
([13dbaf2](https://github.com/loopbackio/loopback-next/commit/13dbaf24abad16ac4249cef15f41508d5264ed54))
|
|
284
210
|
|
|
285
211
|
### BREAKING CHANGES
|
|
286
212
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
`
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
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.
|
|
294
219
|
|
|
295
|
-
In projects scaffolded via `lb4 app`, we recommend to add `.eslintrc.js`
|
|
296
|
-
|
|
220
|
+
In projects scaffolded via `lb4 app`, we recommend to add `.eslintrc.js` file to
|
|
221
|
+
`.eslintignore` list.
|
|
297
222
|
|
|
298
223
|
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
|
|
299
224
|
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
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)
|
|
305
226
|
|
|
306
227
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
307
228
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
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)
|
|
313
230
|
|
|
314
231
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
315
232
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
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)
|
|
321
234
|
|
|
322
|
-
|
|
323
235
|
### Bug Fixes
|
|
324
236
|
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
237
|
+
- set node version to >=10.16 to support events.once
|
|
238
|
+
([e39da1c](https://github.com/loopbackio/loopback-next/commit/e39da1ca47728eafaf83c10ce35b09b03b6a4edc))
|
|
330
239
|
|
|
331
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)
|
|
332
241
|
|
|
333
242
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
334
243
|
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
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)
|
|
340
245
|
|
|
341
|
-
|
|
342
246
|
### Features
|
|
343
247
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
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))
|
|
347
252
|
|
|
348
253
|
### BREAKING CHANGES
|
|
349
254
|
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
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.
|
|
353
258
|
|
|
354
259
|
See more details at:
|
|
355
260
|
https://github.com/typescript-eslint/typescript-eslint/releases/tag/v3.0.0
|
|
356
261
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
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)
|
|
362
263
|
|
|
363
264
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
364
265
|
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
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)
|
|
370
267
|
|
|
371
|
-
|
|
372
268
|
### Features
|
|
373
269
|
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
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))
|
|
377
274
|
|
|
378
275
|
### BREAKING CHANGES
|
|
379
276
|
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
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.
|
|
384
281
|
|
|
385
282
|
A TypeScript example:
|
|
386
283
|
|
|
387
284
|
```ts
|
|
388
|
-
describe('my mocha suite', function(this: Mocha.Suite) {
|
|
285
|
+
describe('my mocha suite', function (this: Mocha.Suite) {
|
|
389
286
|
this.timeout(1000);
|
|
390
|
-
it('is slow', function(this: Mocha.Context) {
|
|
287
|
+
it('is slow', function (this: Mocha.Context) {
|
|
391
288
|
this.timeout(2000);
|
|
392
289
|
});
|
|
393
|
-
})
|
|
290
|
+
});
|
|
394
291
|
```
|
|
395
292
|
|
|
396
293
|
A JavaScript example:
|
|
397
294
|
|
|
398
295
|
```js
|
|
399
|
-
describe('my mocha suite', /** @this {Mocha.Suite} */ function() {
|
|
296
|
+
describe('my mocha suite', /** @this {Mocha.Suite} */ function () {
|
|
400
297
|
this.timeout(1000);
|
|
401
|
-
it('is slow', /** @this {Mocha.Context} */ function() {
|
|
298
|
+
it('is slow', /** @this {Mocha.Context} */ function () {
|
|
402
299
|
this.timeout(2000);
|
|
403
300
|
});
|
|
404
|
-
})
|
|
301
|
+
});
|
|
405
302
|
```
|
|
406
303
|
|
|
407
304
|
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
|
|
408
|
-
* **eslint-config:** ESLint 7.x changes how plugins references in the shared
|
|
409
|
-
config are resolved. The following is quoted from
|
|
410
|
-
https://eslint.org/blog/2020/05/eslint-v7.0.0-released:
|
|
411
|
-
|
|
412
|
-
> ESLint will now resolve plugins relative to the entry configuration file.
|
|
413
|
-
This means that shared configuration files that are located outside the
|
|
414
|
-
project can now be colocated with the plugins they require.
|
|
415
|
-
> Starting in ESLint v7, configuration files and ignore files passed to
|
|
416
|
-
ESLint using the --config path/to/a-config and --ignore-path
|
|
417
|
-
path/to/a-ignore CLI flags, respectively, will resolve from the current
|
|
418
|
-
working directory rather than the file location. This allows for users to
|
|
419
|
-
utilize shared plugins without having to install them directly in their
|
|
420
|
-
project.
|
|
421
|
-
|
|
422
|
-
|
|
423
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:
|
|
424
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.
|
|
425
318
|
|
|
426
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)
|
|
427
320
|
|
|
428
321
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
429
322
|
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
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)
|
|
435
324
|
|
|
436
325
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
437
326
|
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
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)
|
|
443
328
|
|
|
444
329
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
445
330
|
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
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)
|
|
451
332
|
|
|
452
333
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
453
334
|
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
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)
|
|
459
336
|
|
|
460
337
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
461
338
|
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
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)
|
|
467
340
|
|
|
468
341
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
469
342
|
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
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)
|
|
475
344
|
|
|
476
|
-
|
|
477
345
|
### chore
|
|
478
346
|
|
|
479
|
-
|
|
480
|
-
|
|
347
|
+
- remove support for Node.js v8.x
|
|
348
|
+
([4281d9d](https://github.com/loopbackio/loopback-next/commit/4281d9df50f0715d32879e1442a90b643ec8f542))
|
|
481
349
|
|
|
482
350
|
### Features
|
|
483
351
|
|
|
484
|
-
|
|
485
|
-
|
|
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)
|
|
486
355
|
|
|
487
356
|
### BREAKING CHANGES
|
|
488
357
|
|
|
489
|
-
|
|
490
|
-
`@typescript-eslint/no-non-null-asserted-optional-chain` is set to
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
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.
|
|
498
363
|
|
|
499
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)
|
|
500
365
|
|
|
501
366
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
502
367
|
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
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)
|
|
508
369
|
|
|
509
370
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
510
371
|
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
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)
|
|
516
373
|
|
|
517
374
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
518
375
|
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
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)
|
|
524
377
|
|
|
525
|
-
|
|
526
378
|
### Features
|
|
527
379
|
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
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))
|
|
533
388
|
|
|
534
389
|
### BREAKING CHANGES
|
|
535
390
|
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
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.
|
|
541
395
|
|
|
542
396
|
Signed-off-by: Miroslav Bajtoš <mbajtoss@gmail.com>
|
|
543
|
-
* **eslint-config:** the `@typescript-eslint/prefer-nullish-coalescing` rule prefers
|
|
544
|
-
nullish coalescing, for example, `ttl ?? 5000` over `ttl || 5000`.
|
|
545
|
-
|
|
546
|
-
See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#nullish-coalescing
|
|
547
|
-
* **eslint-config:** the `@typescript-eslint/prefer-optional-chain` rule will
|
|
548
|
-
report violations if optional chaining is not used. For example, it prefers
|
|
549
|
-
`options?.ttl` over `options && options.ttl`.
|
|
550
|
-
|
|
551
|
-
See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#optional-chaining
|
|
552
397
|
|
|
398
|
+
- **eslint-config:** the `@typescript-eslint/prefer-nullish-coalescing` rule
|
|
399
|
+
prefers nullish coalescing, for example, `ttl ?? 5000` over `ttl || 5000`.
|
|
553
400
|
|
|
401
|
+
See
|
|
402
|
+
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#nullish-coalescing
|
|
554
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`.
|
|
555
407
|
|
|
408
|
+
See
|
|
409
|
+
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html#optional-chaining
|
|
556
410
|
|
|
557
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)
|
|
558
412
|
|
|
559
413
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
560
414
|
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
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)
|
|
566
416
|
|
|
567
417
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
568
418
|
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
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)
|
|
574
420
|
|
|
575
421
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
576
422
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
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)
|
|
582
424
|
|
|
583
425
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
584
426
|
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
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)
|
|
590
428
|
|
|
591
429
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
592
430
|
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
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)
|
|
598
432
|
|
|
599
|
-
|
|
600
433
|
### Features
|
|
601
434
|
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
435
|
+
- **eslint-config:** enable "no-misused-promises" rule
|
|
436
|
+
([88d5494](https://github.com/loopbackio/loopback-next/commit/88d5494))
|
|
607
437
|
|
|
608
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)
|
|
609
439
|
|
|
610
440
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
611
441
|
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
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)
|
|
617
443
|
|
|
618
444
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
619
445
|
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
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)
|
|
625
447
|
|
|
626
|
-
|
|
627
448
|
### Features
|
|
628
449
|
|
|
629
|
-
|
|
630
|
-
|
|
450
|
+
- **eslint-config:** upgrade to @typescript-eslint/eslint-plugin 2.0.0
|
|
451
|
+
([1ec5b2f](https://github.com/loopbackio/loopback-next/commit/1ec5b2f))
|
|
631
452
|
|
|
632
453
|
### BREAKING CHANGES
|
|
633
454
|
|
|
634
|
-
|
|
635
|
-
2.0.0 may have introduced breaking changes
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
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
|
|
640
458
|
|
|
641
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)
|
|
642
460
|
|
|
643
|
-
|
|
644
461
|
### Features
|
|
645
462
|
|
|
646
|
-
|
|
647
|
-
|
|
463
|
+
- **eslint-config:** enable "no-return-await" rule
|
|
464
|
+
([e28a3c3](https://github.com/loopbackio/loopback-next/commit/e28a3c3))
|
|
648
465
|
|
|
649
466
|
### BREAKING CHANGES
|
|
650
467
|
|
|
651
|
-
|
|
652
|
-
promise without awaiting its resolution.
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
468
|
+
- **eslint-config:** "return await" is no longer allowed, just return the
|
|
469
|
+
promise without awaiting its resolution.
|
|
657
470
|
|
|
658
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)
|
|
659
472
|
|
|
660
473
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
661
474
|
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
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)
|
|
667
476
|
|
|
668
477
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
669
478
|
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
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)
|
|
675
480
|
|
|
676
|
-
|
|
677
481
|
### Features
|
|
678
482
|
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
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))
|
|
682
487
|
|
|
683
488
|
### BREAKING CHANGES
|
|
684
489
|
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
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".
|
|
688
493
|
|
|
689
494
|
The new eslint version added new recommended rules, most notably
|
|
690
|
-
"require-atomic-updates" and "no-prototype-builtins". You may get new
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
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.
|
|
697
498
|
|
|
698
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)
|
|
699
500
|
|
|
700
501
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
701
502
|
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
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)
|
|
707
504
|
|
|
708
505
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
709
506
|
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
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)
|
|
715
508
|
|
|
716
|
-
|
|
717
509
|
### Features
|
|
718
510
|
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
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))
|
|
725
515
|
|
|
726
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)
|
|
727
517
|
|
|
728
518
|
**Note:** Version bump only for package @loopback/eslint-config
|
|
729
519
|
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
520
|
# 1.0.0-2 (2019-05-30)
|
|
735
521
|
|
|
736
|
-
|
|
737
522
|
### Features
|
|
738
523
|
|
|
739
|
-
|
|
524
|
+
- **build:** add eslint scripts and default configs
|
|
525
|
+
([a6abe86](https://github.com/loopbackio/loopback-next/commit/a6abe86))
|
|
740
526
|
|