@balena/lint 6.2.1 → 6.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +279 -0
  2. package/package.json +3 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,279 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file
4
+ automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
5
+ This project adheres to [Semantic Versioning](http://semver.org/).
6
+
7
+ # v6.2.2
8
+ ## (2023-03-17)
9
+
10
+ * Update TypeScript to 5.0.2 [Thodoris Greasidis]
11
+
12
+ # v6.2.1
13
+ ## (2022-11-07)
14
+
15
+ * Switch to flowzone [fisehara]
16
+
17
+ # v6.2.0
18
+ ## (2021-11-25)
19
+
20
+ * Add '-t tsconfig.json' flag and 'no-floating-promises' rule [Paulo Castro]
21
+ * Reorder lint rules alphabetically in config/tslint.json [Paulo Castro]
22
+
23
+ # v6.1.1
24
+ ## (2021-05-24)
25
+
26
+ * Update target to es2019 to match nodejs 12 support [Pagan Gazzard]
27
+ * Enable typescript strict mdoe [Pagan Gazzard]
28
+ * Remove unused lodash dependency [Pagan Gazzard]
29
+
30
+ # v6.1.0
31
+ ## (2021-05-24)
32
+
33
+ * Include tsconfig settings in published package [Graham McCulloch]
34
+
35
+ # v6.0.0
36
+ ## (2021-05-14)
37
+
38
+ * Drop circle-ci test configs in favor of balena-ci [Thodoris Greasidis]
39
+ * Drop coffeescript support making TS the default [Thodoris Greasidis]
40
+ * Update dependencies [Thodoris Greasidis]
41
+ * Build into a build/ folder and limit published files [Thodoris Greasidis]
42
+ * Stop actively supporting EOL node v10 [Thodoris Greasidis]
43
+ * Ban ts-ignore in favor or ts-expect-error [Thodoris Greasidis]
44
+
45
+ # v5.4.2
46
+ ## (2021-05-02)
47
+
48
+ * patch: Change `.prettierrc` path to use scoped package structure [Vipul Gupta]
49
+
50
+ # v5.4.1
51
+ ## (2021-02-07)
52
+
53
+ * Replace deprecated optimist with yargs [Josh Bowling]
54
+
55
+ # v5.4.0
56
+ ## (2021-01-15)
57
+
58
+ * Add a summary report for typescript linting [Pagan Gazzard]
59
+
60
+ # v5.3.0
61
+ ## (2020-11-20)
62
+
63
+ * Update dependencies, guaranteeing support for typescript 4.1 [Pagan Gazzard]
64
+
65
+ # v5.2.1
66
+ ## (2020-10-07)
67
+
68
+ * Update deps and fix main entry [Pagan Gazzard]
69
+
70
+ # v5.2.0
71
+ ## (2020-08-24)
72
+
73
+ * Update dependencies, ensuring typescript 4.0 support [Pagan Gazzard]
74
+
75
+ # v5.1.0
76
+ ## (2020-05-14)
77
+
78
+ * Enforce curly braces for if statements [Pagan Gazzard]
79
+
80
+ # v5.0.6
81
+ ## (2020-05-14)
82
+
83
+ * Fix overwriting tslint fixes when also applying prettier fixes [Pagan Gazzard]
84
+
85
+ # v5.0.5
86
+ ## (2020-05-14)
87
+
88
+ * Update dependencies [Pagan Gazzard]
89
+
90
+ # v5.0.4
91
+ ## (2020-04-20)
92
+
93
+ * Fix error when only one extension argument is provided [Pagan Gazzard]
94
+
95
+ # v5.0.3
96
+ ## (2020-04-17)
97
+
98
+ * Update dependencies [Pagan Gazzard]
99
+
100
+ # v5.0.2
101
+ ## (2020-03-25)
102
+
103
+ * Remove @types/depcheck stub types [Pagan Gazzard]
104
+ * Switch to fs.promises since we've dropped node 8 support [Pagan Gazzard]
105
+
106
+ # v5.0.1
107
+ ## (2020-03-25)
108
+
109
+ * Revert unintended change to `array-type` linting [Pagan Gazzard]
110
+
111
+ # v5.0.0
112
+ ## (2020-03-24)
113
+
114
+ * prettier: update to 2.0 [Will Boyce]
115
+
116
+ # v4.1.1
117
+ ## (2020-03-24)
118
+
119
+ * Remove circleci publishing in favour of balenaCI [Pagan Gazzard]
120
+
121
+ # v4.1.0
122
+ ## (2020-03-23)
123
+
124
+ * Add support for linting javascript by specifying extensions [Pagan Gazzard]
125
+
126
+ ## 4.0.1 - 2020-03-18
127
+
128
+ * Fix balena-lint bin command [Lucian Buzzo]
129
+
130
+ ## 4.0.0 - 2020-03-17
131
+
132
+ * Rename to balena-lint [Lucian Buzzo]
133
+
134
+ ## 3.3.1 - 2020-02-24
135
+
136
+ * Fix exit code for non-prettified files [Pagan Gazzard]
137
+
138
+ ## 3.3.0 - 2020-02-10
139
+
140
+ * Use fs.access instead of the deprecated fs.exists [Pagan Gazzard]
141
+ * Allow globbing in parallel [Pagan Gazzard]
142
+ * Parallelize file reading/linting where possible [Pagan Gazzard]
143
+ * Switch to async fs calls [Pagan Gazzard]
144
+ * Avoid unnecessary toString calls from fs operations [Pagan Gazzard]
145
+
146
+ ## 3.2.4 - 2020-02-05
147
+
148
+ * Remove node 6 from the test matrix [Pagan Gazzard]
149
+ * Add automatic linting on commit [Pagan Gazzard]
150
+ * Use an npmrc to disable package lock creation [Pagan Gazzard]
151
+ * Remove unnecessary coffeescript linting of lib [Pagan Gazzard]
152
+ * Ignore all js/map files in lib [Pagan Gazzard]
153
+ * Add node 12 to the test matrix [Pagan Gazzard]
154
+
155
+ ## 3.2.3 - 2020-02-04
156
+
157
+ * Only run the prettier check if we did not automatically prettify it [Pagan Gazzard]
158
+ * Run prettier after tslint so that we can also prettify any autofixes [Pagan Gazzard]
159
+
160
+ ## 3.2.2 - 2020-02-04
161
+
162
+ * Remove bluebird dependency [Pagan Gazzard]
163
+ * Convert to async/await [Pagan Gazzard]
164
+
165
+ ## 3.2.1 - 2020-02-04
166
+
167
+ * Lazy load lodash [Pagan Gazzard]
168
+ * Lazy load mocha-tests-lint [Pagan Gazzard]
169
+ * Lazy load depcheck [Pagan Gazzard]
170
+ * Lazy load prettier [Pagan Gazzard]
171
+ * Lazy load coffeelint [Pagan Gazzard]
172
+
173
+ ## 3.2.0 - 2020-01-27
174
+
175
+ * Add support for automatically fixing linting errors with `--fix` [Pagan Gazzard]
176
+
177
+ ## 3.1.1 - 2019-11-09
178
+
179
+ * Upgrade prettier to support typescript 3.7 syntax [Theodor Gherzan]
180
+
181
+ ## 3.1.0 - 2019-07-04
182
+
183
+ * Add mocha tests linting [Roman Mazur]
184
+
185
+ ## 3.0.4 - 2019-05-13
186
+
187
+ * Moved chai exception from last release into proper tslint.json [dt-rush]
188
+
189
+ ## 3.0.3 - 2019-05-11
190
+
191
+ * Add exception for 'no unused expression' for chai test syntax [dt-rush]
192
+
193
+ ## 3.0.2 - 2019-04-12
194
+
195
+ * Handle failures more gracefully than an `UnhandledPromiseRejection` [Pagan Gazzard]
196
+
197
+ ## 3.0.1 - 2019-02-27
198
+
199
+ * Remove member-ordering flag [Cameron Diver]
200
+
201
+ ## 3.0.0 - 2019-02-19
202
+
203
+ * Chore: remove node-4 CI tests [Jakub Mikulas]
204
+ * Docs: update usage readme [Jakub Mikulas]
205
+ * Style: formatting [Jakub Mikulas]
206
+ * Fix: tslint extending [Jakub Mikulas]
207
+ * Feat: add linting rules for the library [Jakub Mikulas]
208
+ * Feat: sync tslint with balena/process [Jakub Mikulas]
209
+
210
+ ## v2.0.1 - 2018-09-14
211
+
212
+ * Fix --no-prettier arg [Thodoris Greasidis]
213
+
214
+ ## v2.0.0 - 2018-08-31
215
+
216
+ * Run prettier on the repo source as part of the lint step [Thodoris Greasidis]
217
+ * Add support for prettier code format checks [Thodoris Greasidis]
218
+
219
+ ## v1.5.7 - 2018-05-01
220
+
221
+ * Readd node 4 compatibility #23 [Pagan Gazzard]
222
+
223
+ ## v1.5.6 - 2018-05-01
224
+
225
+ * Move typescript to dependencies as tslint requires it but does not install itself #22 [Pagan Gazzard]
226
+
227
+ ## v1.5.5 - 2018-05-01
228
+
229
+ * Fix typescript types and compile on publish rather than at runtime. #21 [Pagan Gazzard]
230
+
231
+ ## v1.5.4 - 2018-05-01
232
+
233
+ * Restore compatibility with previously support node versions. #20 [Pagan Gazzard]
234
+
235
+ ## v1.5.3 - 2018-05-01
236
+
237
+ * Add circleci tests and auto-publishing #19 [Pagan Gazzard]
238
+
239
+ ## v1.5.2 - 2018-02-17
240
+
241
+ * Fix the `--typescript` option swallowing the first input after it #17 [Pagan Gazzard]
242
+
243
+ ## v1.5.1 - 2018-01-05
244
+
245
+ * Convert project to TypeScript #15 [Lucian Buzzo]
246
+
247
+ ## v1.5.0 - 2017-12-22
248
+
249
+ * Add support for linting .ts and .tsx files #7 [Lucian Buzzo]
250
+ * Add depcheck to find unused dependencies at lint-time #7 [Cameron Diver]
251
+
252
+ ## v1.4.2 - 2017-12-22
253
+
254
+ * Add depcheck to linter, used with -u flag
255
+ * Bump coffeescope2
256
+
257
+ ## v1.4.1
258
+
259
+ * Migrate from https://github.com/resin-io/resin-lint to https://github.com/resin-io/node-resin-lint
260
+
261
+ ## v1.4.0
262
+
263
+ * Import AMD globals
264
+
265
+ ## v1.3.2
266
+
267
+ * Detect undefined variables
268
+
269
+ ## v1.3.1
270
+
271
+ * Remove the line ending rule
272
+
273
+ ## v1.3.0
274
+
275
+ * Integrate coffeescope2 and add unused variable reporting
276
+
277
+ ## v1.0.0
278
+
279
+ * Coffeelint wrapper for Resin.io-specific coffeelint.json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@balena/lint",
3
- "version": "6.2.1",
3
+ "version": "6.2.2",
4
4
  "description": "Balena.io tslint & prettier wrapper",
5
5
  "bin": {
6
6
  "balena-lint": "./bin/balena-lint"
@@ -45,7 +45,7 @@
45
45
  "tslint": "^6.1.3",
46
46
  "tslint-config-prettier": "^1.18.0",
47
47
  "tslint-no-unused-expression-chai": "^0.1.4",
48
- "typescript": "^4.2.4",
48
+ "typescript": "^5.0.2",
49
49
  "yargs": "^16.2.0"
50
50
  },
51
51
  "devDependencies": {
@@ -60,7 +60,7 @@
60
60
  }
61
61
  },
62
62
  "versionist": {
63
- "publishedAt": "2022-11-07T14:41:34.894Z"
63
+ "publishedAt": "2023-03-17T10:17:17.920Z"
64
64
  },
65
65
  "engines": {
66
66
  "node": ">=12.0.0",