UNPKG

15.2 kBMarkdownView Raw
1# Change Log - @fluentui/eslint-plugin
2
3This log was last generated on Fri, 27 May 2022 07:38:02 GMT and should not be manually modified.
4
5<!-- Start content -->
6
7## [1.9.1](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.9.1)
8
9Fri, 27 May 2022 07:38:02 GMT
10[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.9.0..@fluentui/eslint-plugin_v1.9.1)
11
12### Patches
13
14- fix(eslint-plugin): move ban-context to react config from base ([PR #23240](https://github.com/microsoft/fluentui/pull/23240) by martinhochel@microsoft.com)
15
16## [1.9.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.9.0)
17
18Wed, 18 May 2022 07:41:14 GMT
19[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.8.0..@fluentui/eslint-plugin_v1.9.0)
20
21### Minor changes
22
23- feat: create core base for react/node/legacy lint configs ([PR #22128](https://github.com/microsoft/fluentui/pull/22128) by martinhochel@microsoft.com)
24
25## [1.8.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.8.0)
26
27Fri, 13 May 2022 07:45:34 GMT
28[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.7.0..@fluentui/eslint-plugin_v1.8.0)
29
30### Minor changes
31
32- feat: add new rules covering usage of Griffel ([PR #22961](https://github.com/microsoft/fluentui/pull/22961) by olfedias@microsoft.com)
33
34## [1.7.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.7.0)
35
36Wed, 16 Mar 2022 07:38:50 GMT
37[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.6.3..@fluentui/eslint-plugin_v1.7.0)
38
39### Minor changes
40
41- feat(eslint-plugin): enable no-export-all:all for all packages public API ([PR #22073](https://github.com/microsoft/fluentui/pull/22073) by martinhochel@microsoft.com)
42
43## [1.6.3](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.6.3)
44
45Fri, 11 Mar 2022 07:34:40 GMT
46[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.6.2..@fluentui/eslint-plugin_v1.6.3)
47
48### Patches
49
50- fix(eslint-plugin): make import/no-extraneous-dependencies work for react config ([PR #21924](https://github.com/microsoft/fluentui/pull/21924) by martinhochel@microsoft.com)
51
52## [1.6.2](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.6.2)
53
54Mon, 14 Feb 2022 07:26:36 GMT
55[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.6.1..@fluentui/eslint-plugin_v1.6.2)
56
57### Patches
58
59- Add ./e2e to list of files allowing devDependencies ([PR #21678](https://github.com/microsoft/fluentui/pull/21678) by elcraig@microsoft.com)
60
61## [1.6.1](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.6.1)
62
63Tue, 25 Jan 2022 07:30:06 GMT
64[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.6.0..@fluentui/eslint-plugin_v1.6.1)
65
66### Patches
67
68- Add naming-convention exception to allow exported hooks with the _unstable suffix ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
69
70## [1.6.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.6.0)
71
72Thu, 13 Jan 2022 07:30:57 GMT
73[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.5.2..@fluentui/eslint-plugin_v1.6.0)
74
75### Minor changes
76
77- Expand ban-imports rule to also support exports, and support regular expressions for names ([PR #21196](https://github.com/microsoft/fluentui/pull/21196) by elcraig@microsoft.com)
78
79## [1.5.2](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.5.2)
80
81Wed, 15 Dec 2021 07:31:27 GMT
82[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.5.1..@fluentui/eslint-plugin_v1.5.2)
83
84### Patches
85
86- Classify .stories.tsx as examples not tests ([PR #20681](https://github.com/microsoft/fluentui/pull/20681) by elcraig@microsoft.com)
87- Re-enable `@rnx-kit/no-export-all` ([PR #21021](https://github.com/microsoft/fluentui/pull/21021) by lingfangao@hotmail.com)
88
89## [1.5.1](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.5.1)
90
91Mon, 29 Nov 2021 07:31:31 GMT
92[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.5.0..@fluentui/eslint-plugin_v1.5.1)
93
94### Patches
95
96- handle `common` directory as test files ([PR #20742](https://github.com/microsoft/fluentui/pull/20742) by olfedias@microsoft.com)
97
98## [1.5.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.5.0)
99
100Thu, 25 Nov 2021 14:54:13 GMT
101[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.4.2..@fluentui/eslint-plugin_v1.5.0)
102
103### Minor changes
104
105- Adding rnx-kit dependency and enabling the no-export-all rule for exporting library surfaces. ([PR #20665](https://github.com/microsoft/fluentui/pull/20665) by dzearing@microsoft.com)
106
107### Patches
108
109- Revert usage of @rnx-kit/eslint-plugin ([PR #20781](https://github.com/microsoft/fluentui/pull/20781) by andredias@microsoft.com)
110
111## [1.4.2](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.4.2)
112
113Mon, 22 Nov 2021 07:36:13 GMT
114[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.4.1..@fluentui/eslint-plugin_v1.4.2)
115
116### Patches
117
118- support excluded files from being linted ([PR #20466](https://github.com/microsoft/fluentui/pull/20466) by mgodbolt@microsoft.com)
119
120## [1.4.1](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.4.1)
121
122Tue, 24 Aug 2021 07:34:48 GMT
123[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.4.0..@fluentui/eslint-plugin_v1.4.1)
124
125### Patches
126
127- Updating eslint max-len rule exclusion for imports/exports. ([PR #19475](https://github.com/microsoft/fluentui/pull/19475) by dzearing@hotmail.com)
128
129## [1.4.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.4.0)
130
131Fri, 20 Aug 2021 07:37:28 GMT
132[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.3.3..@fluentui/eslint-plugin_v1.4.0)
133
134### Minor changes
135
136- Add eslint-plugin-jsdoc to check for jsdoc errors ([PR #19271](https://github.com/microsoft/fluentui/pull/19271) by behowell@microsoft.com)
137
138## [1.3.3](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.3.3)
139
140Tue, 03 Aug 2021 07:39:30 GMT
141[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.3.2..@fluentui/eslint-plugin_v1.3.3)
142
143### Patches
144
145- Enable exhaustive-deps rule for useIsomorphicLayoutEffect ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
146
147## [1.3.2](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.3.2)
148
149Fri, 09 Jul 2021 07:39:31 GMT
150[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.3.1..@fluentui/eslint-plugin_v1.3.2)
151
152### Patches
153
154- chore: migrate packages(mostly eslint related) to single version policy ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
155
156## [1.3.1](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.3.1)
157
158Mon, 07 Jun 2021 07:38:15 GMT
159[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.3.0..@fluentui/eslint-plugin_v1.3.1)
160
161### Patches
162
163- fix(eslint-plugin): properly resolve configs for projects that use solution kind of TS config ([PR #18437](https://github.com/microsoft/fluentui/pull/18437) by martinhochel@microsoft.com)
164
165## [1.3.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.3.0)
166
167Thu, 20 May 2021 07:41:54 GMT
168[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.2.0..@fluentui/eslint-plugin_v1.3.0)
169
170### Minor changes
171
172- Update dependencies, remove eslint@6 from peer deps, and remove usage of process.cwd() ([PR #18024](https://github.com/microsoft/fluentui/pull/18024) by elcraig@microsoft.com)
173
174### Patches
175
176- Update eslint-plugin-prettier and disable arrow-body-style rule ([PR #18041](https://github.com/microsoft/fluentui/pull/18041) by elcraig@microsoft.com)
177
178## [1.2.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.2.0)
179
180Fri, 30 Apr 2021 07:42:23 GMT
181[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.1.1..@fluentui/eslint-plugin_v1.2.0)
182
183### Minor changes
184
185- Upgrade to typescript 4.1.5 ([PR #17932](https://github.com/microsoft/fluentui/pull/17932) by joschect@microsoft.com)
186
187## [1.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.1.1)
188
189Fri, 23 Apr 2021 07:37:10 GMT
190[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.1.0..@fluentui/eslint-plugin_v1.1.1)
191
192### Patches
193
194- ban usage of React.useLayoutEffect as it produces warnings during SSR ([PR #17894](https://github.com/microsoft/fluentui/pull/17894) by olfedias@microsoft.com)
195
196## [1.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.1.0)
197
198Wed, 31 Mar 2021 00:53:43 GMT
199[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.0.1..@fluentui/eslint-plugin_v1.1.0)
200
201### Minor changes
202
203- Fix globs for config and script file linting, and disable no-console for those files ([PR #17568](https://github.com/microsoft/fluentui/pull/17568) by elcraig@microsoft.com)
204
205## [1.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.0.1)
206
207Fri, 26 Feb 2021 01:16:27 GMT
208[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.0.0-beta.2..@fluentui/eslint-plugin_v1.0.1)
209
210### Patches
211
212- Release major version ([PR #17169](https://github.com/microsoft/fluentui/pull/17169) by elcraig@microsoft.com)
213
214## [1.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.0.0-beta.2)
215
216Thu, 18 Feb 2021 12:27:34 GMT
217[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.0.0-beta.1..@fluentui/eslint-plugin_v1.0.0-beta.2)
218
219### Changes
220
221- Allow references to devDependencies defined in root package.json ([PR #16975](https://github.com/microsoft/fluentui/pull/16975) by elcraig@microsoft.com)
222
223## [1.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.0.0-beta.1)
224
225Thu, 28 Jan 2021 12:25:56 GMT
226[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v1.0.0-beta.0..@fluentui/eslint-plugin_v1.0.0-beta.1)
227
228### Changes
229
230- Tweaking max-len exclusion matching. ([PR #16447](https://github.com/microsoft/fluentui/pull/16447) by dzearing@microsoft.com)
231
232## [1.0.0-beta.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v1.0.0-beta.0)
233
234Fri, 23 Oct 2020 03:26:15 GMT
235[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v0.54.1..@fluentui/eslint-plugin_v1.0.0-beta.0)
236
237### Changes
238
239- Rename office-ui-fabric-react package and update references ([PR #15271](https://github.com/microsoft/fluentui/pull/15271) by elcraig@microsoft.com)
240
241## [0.54.1](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v0.54.1)
242
243Wed, 16 Sep 2020 12:27:22 GMT
244[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v0.54.0..@fluentui/eslint-plugin_v0.54.1)
245
246### Patches
247
248- Adding isConformant files to list of test files. ([PR #14853](https://github.com/microsoft/fluentui/pull/14853) by czearing@outlook.com)
249
250## [0.54.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v0.54.0)
251
252Thu, 20 Aug 2020 12:37:22 GMT
253[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v0.53.4..@fluentui/eslint-plugin_v0.54.0)
254
255### Minor changes
256
257- Add no-global-react rule ([PR #14613](https://github.com/microsoft/fluentui/pull/14613) by elcraig@microsoft.com)
258
259## [0.53.4](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v0.53.4)
260
261Thu, 13 Aug 2020 12:41:58 GMT
262[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v0.53.3..@fluentui/eslint-plugin_v0.53.4)
263
264### Patches
265
266- Add rule to prevent accidental references to globals ([PR #14478](https://github.com/microsoft/fluentui/pull/14478) by elcraig@microsoft.com)
267
268## [0.53.3](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v0.53.3)
269
270Mon, 10 Aug 2020 06:19:21 GMT
271[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v0.53.2..@fluentui/eslint-plugin_v0.53.3)
272
273### Patches
274
275- Lint: update jsx-no-bind settings to ignore native elements ([PR #14416](https://github.com/microsoft/fluentui/pull/14416) by elcraig@microsoft.com)
276
277## [0.53.2](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v0.53.2)
278
279Mon, 03 Aug 2020 12:45:42 GMT
280[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v0.53.1..@fluentui/eslint-plugin_v0.53.2)
281
282### Patches
283
284- Add testUtilities.{ts,tsx} to list of test files ([PR #14263](https://github.com/microsoft/fluentui/pull/14263) by elcraig@microsoft.com)
285
286## [0.53.1](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v0.53.1)
287
288Tue, 21 Jul 2020 12:43:08 GMT
289[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v0.53.0..@fluentui/eslint-plugin_v0.53.1)
290
291### Patches
292
293- Enable react-hooks lint rules ([PR #14097](https://github.com/microsoft/fluentui/pull/14097) by elcraig@microsoft.com)
294
295## [0.53.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v0.53.0)
296
297Wed, 15 Jul 2020 12:41:19 GMT
298[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v0.52.0..@fluentui/eslint-plugin_v0.53.0)
299
300### Minor changes
301
302- Add custom max-len rule ([PR #13994](https://github.com/microsoft/fluentui/pull/13994) by elcraig@microsoft.com)
303
304## [0.52.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v0.52.0)
305
306Mon, 13 Jul 2020 23:14:39 GMT
307[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v0.51.0..@fluentui/eslint-plugin_v0.52.0)
308
309### Minor changes
310
311- Add no-tslint-comments rule; bug fixes ([PR #13944](https://github.com/microsoft/fluentui/pull/13944) by elcraig@microsoft.com)
312
313### Patches
314
315- Update Fluent React Northstar ESLint config to disallow default exports ([PR #13934](https://github.com/microsoft/fluentui/pull/13934) by olfedias@microsoft.com)
316
317## [0.51.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v0.51.0)
318
319Fri, 26 Jun 2020 12:36:28 GMT
320[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/eslint-plugin_v0.50.0..@fluentui/eslint-plugin_v0.51.0)
321
322### Minor changes
323
324- Add custom configs and rules ([PR #13629](https://github.com/microsoft/fluentui/pull/13629) by elcraig@microsoft.com)
325
326## [0.50.0](https://github.com/microsoft/fluentui/tree/@fluentui/eslint-plugin_v0.50.0)
327
328Tue, 02 Jun 2020 12:36:30 GMT
329
330### Minor changes
331
332- Move eslint-plugin package and add keyboard event props rule ([PR #13406](https://github.com/microsoft/fluentui/pull/13406) by elcraig@microsoft.com)