@breadstone-infrastructure/eslint-rules 0.0.66 → 0.0.67
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 +402 -0
- package/README.md +128 -0
- package/package.json +3 -3
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,402 @@
|
|
|
1
|
+
## 0.0.66 (2025-06-25)
|
|
2
|
+
|
|
3
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
4
|
+
|
|
5
|
+
## 0.0.65 (2025-06-25)
|
|
6
|
+
|
|
7
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
8
|
+
|
|
9
|
+
## 0.0.64 (2025-06-25)
|
|
10
|
+
|
|
11
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
12
|
+
|
|
13
|
+
## 0.0.63 (2025-06-24)
|
|
14
|
+
|
|
15
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
16
|
+
|
|
17
|
+
## 0.0.62 (2025-06-24)
|
|
18
|
+
|
|
19
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
20
|
+
|
|
21
|
+
## 0.0.61 (2025-06-24)
|
|
22
|
+
|
|
23
|
+
### 🚀 Features
|
|
24
|
+
|
|
25
|
+
- Add formatter property to Jumbotron components and update related files ([9ae59c7ff9](https://github.com/RueDeRennes/mosaik/commit/9ae59c7ff9))
|
|
26
|
+
|
|
27
|
+
## 0.0.60 (2025-06-23)
|
|
28
|
+
|
|
29
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
30
|
+
|
|
31
|
+
## 0.0.59 (2025-06-23)
|
|
32
|
+
|
|
33
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
34
|
+
|
|
35
|
+
## 0.0.58 (2025-06-23)
|
|
36
|
+
|
|
37
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
38
|
+
|
|
39
|
+
## 0.0.57 (2025-06-23)
|
|
40
|
+
|
|
41
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
42
|
+
|
|
43
|
+
## 0.0.56 (2025-06-23)
|
|
44
|
+
|
|
45
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
46
|
+
|
|
47
|
+
## 0.0.55 (2025-06-23)
|
|
48
|
+
|
|
49
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
50
|
+
|
|
51
|
+
## 0.0.54 (2025-06-23)
|
|
52
|
+
|
|
53
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
54
|
+
|
|
55
|
+
## 0.0.53 (2025-06-23)
|
|
56
|
+
|
|
57
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
58
|
+
|
|
59
|
+
## 0.0.52 (2025-06-23)
|
|
60
|
+
|
|
61
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
62
|
+
|
|
63
|
+
## 0.0.51 (2025-06-23)
|
|
64
|
+
|
|
65
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
66
|
+
|
|
67
|
+
## 0.0.50 (2025-06-23)
|
|
68
|
+
|
|
69
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
70
|
+
|
|
71
|
+
## 0.0.49 (2025-06-22)
|
|
72
|
+
|
|
73
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
74
|
+
|
|
75
|
+
## 0.0.48 (2025-06-22)
|
|
76
|
+
|
|
77
|
+
### 🚀 Features
|
|
78
|
+
|
|
79
|
+
- Introduce Indicator component across multiple frameworks ([7ef850c39d](https://github.com/RueDeRennes/mosaik/commit/7ef850c39d))
|
|
80
|
+
|
|
81
|
+
## 0.0.47 (2025-06-22)
|
|
82
|
+
|
|
83
|
+
### 🩹 Fixes
|
|
84
|
+
|
|
85
|
+
- update release version to 0.0.47 in package.json ([5a277d2d1d](https://github.com/RueDeRennes/mosaik/commit/5a277d2d1d))
|
|
86
|
+
- correct spelling of 'HTML' in keywords and add new article on `part` attributes ([cd5b688a5c](https://github.com/RueDeRennes/mosaik/commit/cd5b688a5c))
|
|
87
|
+
- correct quotation marks in attribute selector examples for consistency ([078a6c9289](https://github.com/RueDeRennes/mosaik/commit/078a6c9289))
|
|
88
|
+
- correct quotation marks in markdown article and improve blockquote rendering in MarkdownRenderer ([09442e4509](https://github.com/RueDeRennes/mosaik/commit/09442e4509))
|
|
89
|
+
|
|
90
|
+
## 0.0.46 (2025-06-20)
|
|
91
|
+
|
|
92
|
+
### 🚀 Features
|
|
93
|
+
|
|
94
|
+
- implement animation directive and provider with presets ([09550b6633](https://github.com/RueDeRennes/mosaik/commit/09550b6633))
|
|
95
|
+
|
|
96
|
+
## 0.0.45 (2025-06-20)
|
|
97
|
+
|
|
98
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
99
|
+
|
|
100
|
+
## 0.0.44 (2025-06-20)
|
|
101
|
+
|
|
102
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
103
|
+
|
|
104
|
+
## 0.0.43 (2025-06-20)
|
|
105
|
+
|
|
106
|
+
### 🚀 Features
|
|
107
|
+
|
|
108
|
+
- Add Svelte support with SvelteCodeGenerator and update build scripts ([955cb75cb6](https://github.com/RueDeRennes/mosaik/commit/955cb75cb6))
|
|
109
|
+
- Add new Svelte components for menu, segment, tab, table, tree, wizard, and shell ([e6de8f0553](https://github.com/RueDeRennes/mosaik/commit/e6de8f0553))
|
|
110
|
+
|
|
111
|
+
## 0.0.42 (2025-06-20)
|
|
112
|
+
|
|
113
|
+
### 🩹 Fixes
|
|
114
|
+
|
|
115
|
+
- update release script to version 0.0.41 ([88efd1b9ca](https://github.com/RueDeRennes/mosaik/commit/88efd1b9ca))
|
|
116
|
+
|
|
117
|
+
## 0.0.41 (2025-06-19)
|
|
118
|
+
|
|
119
|
+
### 🚀 Features
|
|
120
|
+
|
|
121
|
+
- add comprehensive article on using const vs enums in TypeScript with Angular templates ([8db46644e3](https://github.com/RueDeRennes/mosaik/commit/8db46644e3))
|
|
122
|
+
|
|
123
|
+
### 🩹 Fixes
|
|
124
|
+
|
|
125
|
+
- update const vs enum article to use string literals for WorkType values ([3eb355434e](https://github.com/RueDeRennes/mosaik/commit/3eb355434e))
|
|
126
|
+
- correct quotation marks in best practices section of const vs enum article ([df4187ec19](https://github.com/RueDeRennes/mosaik/commit/df4187ec19))
|
|
127
|
+
- update backdrop image URLs in const vs enum article ([e05a779a0a](https://github.com/RueDeRennes/mosaik/commit/e05a779a0a))
|
|
128
|
+
|
|
129
|
+
## 0.0.40 (2025-06-18)
|
|
130
|
+
|
|
131
|
+
### 🚀 Features
|
|
132
|
+
|
|
133
|
+
- add localizator-core dependency and update build dependencies in project configuration ([077a2cd1d9](https://github.com/RueDeRennes/mosaik/commit/077a2cd1d9))
|
|
134
|
+
|
|
135
|
+
## 0.0.39 (2025-06-17)
|
|
136
|
+
|
|
137
|
+
### 🩹 Fixes
|
|
138
|
+
|
|
139
|
+
- update release version to 0.0.38 in package.json and improve description formatting in Meta.g.json ([edbd04421c](https://github.com/RueDeRennes/mosaik/commit/edbd04421c))
|
|
140
|
+
|
|
141
|
+
## 0.0.38 (2025-06-17)
|
|
142
|
+
|
|
143
|
+
### 🚀 Features
|
|
144
|
+
|
|
145
|
+
- add comprehensive guide on the power of regions in TypeScript for improved code organization ([564b600288](https://github.com/RueDeRennes/mosaik/commit/564b600288))
|
|
146
|
+
|
|
147
|
+
### 🩹 Fixes
|
|
148
|
+
|
|
149
|
+
- correct formatting of region comments and quote attribution for clarity ([952d90f14b](https://github.com/RueDeRennes/mosaik/commit/952d90f14b))
|
|
150
|
+
- update provideTheme function to simplify overrides and adjust merge function ([0359c488be](https://github.com/RueDeRennes/mosaik/commit/0359c488be))
|
|
151
|
+
|
|
152
|
+
## 0.0.37 (2025-06-17)
|
|
153
|
+
|
|
154
|
+
### 🩹 Fixes
|
|
155
|
+
|
|
156
|
+
- update provideTheme to useValue for theme and mode signals ([5a7b509869](https://github.com/RueDeRennes/mosaik/commit/5a7b509869))
|
|
157
|
+
|
|
158
|
+
## 0.0.35 (2025-06-17)
|
|
159
|
+
|
|
160
|
+
### 🚀 Features
|
|
161
|
+
|
|
162
|
+
- add theme provider for angular ([04568d1528](https://github.com/RueDeRennes/mosaik/commit/04568d1528))
|
|
163
|
+
|
|
164
|
+
## 0.0.34 (2025-06-17)
|
|
165
|
+
|
|
166
|
+
### 🩹 Fixes
|
|
167
|
+
|
|
168
|
+
- update release script to version 0.0.33 ([0954fadfa3](https://github.com/RueDeRennes/mosaik/commit/0954fadfa3))
|
|
169
|
+
|
|
170
|
+
## 0.0.33 (2025-06-16)
|
|
171
|
+
|
|
172
|
+
### 🚀 Features
|
|
173
|
+
|
|
174
|
+
- add 'Code' and 'TypeScript' keywords to various documentation files for improved discoverability ([7ac3c152dd](https://github.com/RueDeRennes/mosaik/commit/7ac3c152dd))
|
|
175
|
+
- add "The Dependency Forest" article on dependency management challenges in Angular ([d129b84490](https://github.com/RueDeRennes/mosaik/commit/d129b84490))
|
|
176
|
+
- add translation command and integrate translation functionality in BlogBaseElement ([7e166a6bea](https://github.com/RueDeRennes/mosaik/commit/7e166a6bea))
|
|
177
|
+
- enhance blog and translation features with interview type and language flags ([9aff64d29b](https://github.com/RueDeRennes/mosaik/commit/9aff64d29b))
|
|
178
|
+
- update interview content and add StickyController metadata in JSON ([c39d970be6](https://github.com/RueDeRennes/mosaik/commit/c39d970be6))
|
|
179
|
+
- add YouTube video rendering support in MarkdownRenderer ([723610d3c8](https://github.com/RueDeRennes/mosaik/commit/723610d3c8))
|
|
180
|
+
- Add new translation for "Open with" in code section ([e1b84033bc](https://github.com/RueDeRennes/mosaik/commit/e1b84033bc))
|
|
181
|
+
- create Playground components for testing Markdown features ([738f61002f](https://github.com/RueDeRennes/mosaik/commit/738f61002f))
|
|
182
|
+
- add PinchController for gesture recognition and enhance DiagramElement with centering functionality ([c3feb9a789](https://github.com/RueDeRennes/mosaik/commit/c3feb9a789))
|
|
183
|
+
- **docs:** Update documentation with new sections, descriptions, and examples for clarity and usability ([c32ff5f976](https://github.com/RueDeRennes/mosaik/commit/c32ff5f976))
|
|
184
|
+
- **docs:** Enhance MVP pattern documentation with detailed explanations and examples ([e3c97f1368](https://github.com/RueDeRennes/mosaik/commit/e3c97f1368))
|
|
185
|
+
- Implement sticky positioning directive and controller, enhance scrolling functionality in Scroller class ([148f07916e](https://github.com/RueDeRennes/mosaik/commit/148f07916e))
|
|
186
|
+
- Enhance MVP documentation and examples across multiple frameworks ([cfabea14a3](https://github.com/RueDeRennes/mosaik/commit/cfabea14a3))
|
|
187
|
+
- add backdrop images and enhance ArticlesView with documentation grouping ([af72ff74cd](https://github.com/RueDeRennes/mosaik/commit/af72ff74cd))
|
|
188
|
+
- add images and enhance Markdown documentation with improved layout and structure ([1eaac2125f](https://github.com/RueDeRennes/mosaik/commit/1eaac2125f))
|
|
189
|
+
- enhance Markdown components with improved styling and layout variables ([780d383b31](https://github.com/RueDeRennes/mosaik/commit/780d383b31))
|
|
190
|
+
- **markdowner:** enhance Markdown processing with new extension structure and build integration ([0c08852146](https://github.com/RueDeRennes/mosaik/commit/0c08852146))
|
|
191
|
+
- Enhance Markdown processing with new features and improvements ([534983c407](https://github.com/RueDeRennes/mosaik/commit/534983c407))
|
|
192
|
+
- refactor text overflow handling and enhance Markdown component styles ([62bb601fc7](https://github.com/RueDeRennes/mosaik/commit/62bb601fc7))
|
|
193
|
+
- update metadata structure in documentation and improve avatar and chip components ([007bd05bea](https://github.com/RueDeRennes/mosaik/commit/007bd05bea))
|
|
194
|
+
- update markdown files to use structured keywords and add author information ([d0df1b883f](https://github.com/RueDeRennes/mosaik/commit/d0df1b883f))
|
|
195
|
+
|
|
196
|
+
### 🩹 Fixes
|
|
197
|
+
|
|
198
|
+
- update markdowner-core dependency to use workspace reference for consistency ([518dffba42](https://github.com/RueDeRennes/mosaik/commit/518dffba42))
|
|
199
|
+
- change progress/ring/bar number properties to cssLength for simpler data binding ([d15e88f0c9](https://github.com/RueDeRennes/mosaik/commit/d15e88f0c9))
|
|
200
|
+
- update checkbox styles by removing unnecessary padding and border properties feat: add YouTube video embed and quote to interview markdown fix: adjust marker color in markdown styles for better visibility ([1284a2bcff](https://github.com/RueDeRennes/mosaik/commit/1284a2bcff))
|
|
201
|
+
- correct quotes in interview markdown and enhance closing statements ([8d0e7134ba](https://github.com/RueDeRennes/mosaik/commit/8d0e7134ba))
|
|
202
|
+
- correct formatting and update YouTube link in interview markdown ([2b430a99bc](https://github.com/RueDeRennes/mosaik/commit/2b430a99bc))
|
|
203
|
+
|
|
204
|
+
## 0.0.32 (2025-06-05)
|
|
205
|
+
|
|
206
|
+
### 🚀 Features
|
|
207
|
+
|
|
208
|
+
- **rules:** enhance ESLint rules with improved type definitions and refactor for consistency ([a298924f78](https://github.com/RueDeRennes/mosaik/commit/a298924f78))
|
|
209
|
+
- **docs): enhance keyword metadata across documentation files for improved searchability and context feat(Markdown): update MarkdownElement and MarkdownRenderer for better handling of text and code blocks fix(DocsService): refine getDocsTree method for improved documentation hierarchy and sorting fix(staticContent:** add meta information to static content registration for enhanced metadata handling ([789875e05d](https://github.com/RueDeRennes/mosaik/commit/789875e05d))
|
|
210
|
+
- **build:** add vite-plugins build step to deployment script; enhance MarkdownElement and DocsService for better handling of documentation and Markdown sources ([619a32e38b](https://github.com/RueDeRennes/mosaik/commit/619a32e38b))
|
|
211
|
+
- **router:** enhance routing components with role attributes and update templates for better accessibility; refactor RouterController and RouterLinkDirective for improved functionality ([63b32829f1](https://github.com/RueDeRennes/mosaik/commit/63b32829f1))
|
|
212
|
+
- **router:** add RouterLinkDirective for dynamic link generation ([ab2e98ed50](https://github.com/RueDeRennes/mosaik/commit/ab2e98ed50))
|
|
213
|
+
- enhance package service and controller to support history retrieval with optional limit; update translations and styles for package explorer ([71efae2557](https://github.com/RueDeRennes/mosaik/commit/71efae2557))
|
|
214
|
+
- implement ShieldElement with template, style, and props; enhance package metadata and history models ([de73abbc76](https://github.com/RueDeRennes/mosaik/commit/de73abbc76))
|
|
215
|
+
- enhance package service and models with metadata and history retrieval ([05c98c197d](https://github.com/RueDeRennes/mosaik/commit/05c98c197d))
|
|
216
|
+
- add package manager installation step in CI workflow ([d8453719df](https://github.com/RueDeRennes/mosaik/commit/d8453719df))
|
|
217
|
+
- add eslint config build step to the dev deployment workflow ([c831986474](https://github.com/RueDeRennes/mosaik/commit/c831986474))
|
|
218
|
+
|
|
219
|
+
### 🩹 Fixes
|
|
220
|
+
|
|
221
|
+
- **docs:** update route in command-pattern-vue.md for correct path; remove outdated mvp.requirements.md file; add comprehensive requirements documentation ([12dd351358](https://github.com/RueDeRennes/mosaik/commit/12dd351358))
|
|
222
|
+
- **build:** reorder build steps in deployment script for clarity and consistency ([4e746f0b36](https://github.com/RueDeRennes/mosaik/commit/4e746f0b36))
|
|
223
|
+
- update build commands in CI workflows to use 'yarn nx run' syntax ([a38e725929](https://github.com/RueDeRennes/mosaik/commit/a38e725929))
|
|
224
|
+
- update description of mosaik-api in README.md for clarity ([478b4c5177](https://github.com/RueDeRennes/mosaik/commit/478b4c5177))
|
|
225
|
+
- remove verbose flag from mosaik app build command ([f8f2b53714](https://github.com/RueDeRennes/mosaik/commit/f8f2b53714))
|
|
226
|
+
|
|
227
|
+
## 0.0.31 (2025-05-28)
|
|
228
|
+
|
|
229
|
+
### 🚀 Features
|
|
230
|
+
|
|
231
|
+
- add component selector to various sample elements for better integration ([3eb465fed5](https://github.com/RueDeRennes/mosaik/commit/3eb465fed5))
|
|
232
|
+
- Enhance sandbox functionality and UI improvements ([c45d7ca09b](https://github.com/RueDeRennes/mosaik/commit/c45d7ca09b))
|
|
233
|
+
- Implement ProjectionController for managing projected content in portals ([1bc46717b5](https://github.com/RueDeRennes/mosaik/commit/1bc46717b5))
|
|
234
|
+
- add TableFooter component and related styles ([85d9e96af5](https://github.com/RueDeRennes/mosaik/commit/85d9e96af5))
|
|
235
|
+
- Refactor CheckBoxGroupSample and TextBoxSample components for improved property formatting ([b0fcc7502e](https://github.com/RueDeRennes/mosaik/commit/b0fcc7502e))
|
|
236
|
+
|
|
237
|
+
### 🩹 Fixes
|
|
238
|
+
|
|
239
|
+
- add missing newline at end of package.json ([713cb1f983](https://github.com/RueDeRennes/mosaik/commit/713cb1f983))
|
|
240
|
+
|
|
241
|
+
## 0.0.30 (2025-05-20)
|
|
242
|
+
|
|
243
|
+
### 🩹 Fixes
|
|
244
|
+
|
|
245
|
+
- simplify condition checks and remove unnecessary styles in various components ([41e6b5d8a9](https://github.com/RueDeRennes/mosaik/commit/41e6b5d8a9))
|
|
246
|
+
|
|
247
|
+
## 0.0.29 (2025-05-20)
|
|
248
|
+
|
|
249
|
+
### 🩹 Fixes
|
|
250
|
+
|
|
251
|
+
- update release script to version 0.0.28 ([baaef44d1d](https://github.com/RueDeRennes/mosaik/commit/baaef44d1d))
|
|
252
|
+
|
|
253
|
+
## 0.0.28 (2025-05-20)
|
|
254
|
+
|
|
255
|
+
### 🩹 Fixes
|
|
256
|
+
|
|
257
|
+
- add missing newline at end of package.json ([39f2f1c578](https://github.com/RueDeRennes/mosaik/commit/39f2f1c578))
|
|
258
|
+
|
|
259
|
+
## 0.0.27 (2025-05-20)
|
|
260
|
+
|
|
261
|
+
### 🚀 Features
|
|
262
|
+
|
|
263
|
+
- add default values for boolean attributes across various components ([899d593ba5](https://github.com/RueDeRennes/mosaik/commit/899d593ba5))
|
|
264
|
+
- update release script to version 0.0.26 ([11e2fdbc4f](https://github.com/RueDeRennes/mosaik/commit/11e2fdbc4f))
|
|
265
|
+
|
|
266
|
+
### 🩹 Fixes
|
|
267
|
+
|
|
268
|
+
- update TabStrip and TreeItem styles to handle disabled state correctly ([ecb60798db](https://github.com/RueDeRennes/mosaik/commit/ecb60798db))
|
|
269
|
+
|
|
270
|
+
## 0.0.26 (2025-05-19)
|
|
271
|
+
|
|
272
|
+
### 🚀 Features
|
|
273
|
+
|
|
274
|
+
- update release script to version 0.0.25 ([930ba60eb4](https://github.com/RueDeRennes/mosaik/commit/930ba60eb4))
|
|
275
|
+
|
|
276
|
+
## 0.0.25 (2025-05-19)
|
|
277
|
+
|
|
278
|
+
### 🚀 Features
|
|
279
|
+
|
|
280
|
+
- update version to 0.0.24 and remove prefix/suffix styles from various components ([d061c7f8cd](https://github.com/RueDeRennes/mosaik/commit/d061c7f8cd))
|
|
281
|
+
|
|
282
|
+
## 0.0.24 (2025-05-19)
|
|
283
|
+
|
|
284
|
+
### 🚀 Features
|
|
285
|
+
|
|
286
|
+
- update appearance of input components and add textAlign property ([5f7321b7a8](https://github.com/RueDeRennes/mosaik/commit/5f7321b7a8))
|
|
287
|
+
|
|
288
|
+
## 0.0.23 (2025-05-19)
|
|
289
|
+
|
|
290
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
291
|
+
|
|
292
|
+
## 0.0.22 (2025-05-18)
|
|
293
|
+
|
|
294
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
295
|
+
|
|
296
|
+
## 0.0.21 (2025-05-18)
|
|
297
|
+
|
|
298
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
299
|
+
|
|
300
|
+
## 0.0.20 (2025-05-18)
|
|
301
|
+
|
|
302
|
+
### 🩹 Fixes
|
|
303
|
+
|
|
304
|
+
- update release version to 0.0.19 in package.json ([acccb56f76](https://github.com/RueDeRennes/mosaik/commit/acccb56f76))
|
|
305
|
+
|
|
306
|
+
## 0.0.19 (2025-05-18)
|
|
307
|
+
|
|
308
|
+
### 🩹 Fixes
|
|
309
|
+
|
|
310
|
+
- add missing newline at end of package.json ([43ce0e6a3b](https://github.com/RueDeRennes/mosaik/commit/43ce0e6a3b))
|
|
311
|
+
|
|
312
|
+
## 0.0.18 (2025-05-18)
|
|
313
|
+
|
|
314
|
+
### 🩹 Fixes
|
|
315
|
+
|
|
316
|
+
- correct spelling of 'getScrollableElement' and remove unused method ([72e17ecc7a](https://github.com/RueDeRennes/mosaik/commit/72e17ecc7a))
|
|
317
|
+
|
|
318
|
+
## 0.0.17 (2025-05-18)
|
|
319
|
+
|
|
320
|
+
### 🚀 Features
|
|
321
|
+
|
|
322
|
+
- add Invalidable behavior and validity check to components ([893bb30b3b](https://github.com/RueDeRennes/mosaik/commit/893bb30b3b))
|
|
323
|
+
|
|
324
|
+
## 0.0.16 (2025-05-17)
|
|
325
|
+
|
|
326
|
+
### 🩹 Fixes
|
|
327
|
+
|
|
328
|
+
- correct spelling of 'success' in logSummary parameter documentation chore: update release script version to 0.0.16 chore: add 'keyhandle' to cspell words ([1a9d5e8732](https://github.com/RueDeRennes/mosaik/commit/1a9d5e8732))
|
|
329
|
+
|
|
330
|
+
## 0.0.15 (2025-05-16)
|
|
331
|
+
|
|
332
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
333
|
+
|
|
334
|
+
## 0.0.14 (2025-05-16)
|
|
335
|
+
|
|
336
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
337
|
+
|
|
338
|
+
## 0.0.13 (2025-05-16)
|
|
339
|
+
|
|
340
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
341
|
+
|
|
342
|
+
## 0.0.12-beta.13 (2025-05-16)
|
|
343
|
+
|
|
344
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
345
|
+
|
|
346
|
+
## 0.0.12-beta.12 (2025-05-16)
|
|
347
|
+
|
|
348
|
+
This was a version bump only for eslint-rules to align it with other projects, there were no code changes.
|
|
349
|
+
|
|
350
|
+
## 0.0.12-beta.11 (2025-05-13)
|
|
351
|
+
|
|
352
|
+
### 🚀 Features
|
|
353
|
+
|
|
354
|
+
- **eslint:** add TypeScript ESLint configuration with comprehensive ruleset ([4d7a0d88b7](https://github.com/RueDeRennes/mosaik/commit/4d7a0d88b7))
|
|
355
|
+
- Add Insetable behavior and update BoxElement styles ([ca740ab5f2](https://github.com/RueDeRennes/mosaik/commit/ca740ab5f2))
|
|
356
|
+
|
|
357
|
+
### 🩹 Fixes
|
|
358
|
+
|
|
359
|
+
- correct spelling errors in README and update release version in package.json ([922364afec](https://github.com/RueDeRennes/mosaik/commit/922364afec))
|
|
360
|
+
- different themes and styles ([917e55212d](https://github.com/RueDeRennes/mosaik/commit/917e55212d))
|
|
361
|
+
- add missing words to cSpell configuration ([933dd56139](https://github.com/RueDeRennes/mosaik/commit/933dd56139))
|
|
362
|
+
- correct spelling errors and improve property names in interfaces and components ([e7edf69f3e](https://github.com/RueDeRennes/mosaik/commit/e7edf69f3e))
|
|
363
|
+
|
|
364
|
+
## 0.0.12-beta.9 (2025-05-07)
|
|
365
|
+
|
|
366
|
+
This was a version bump only for infra-eslint-rules to align it with other projects, there were no code changes.
|
|
367
|
+
|
|
368
|
+
## 0.0.12-beta.8 (2025-05-07)
|
|
369
|
+
|
|
370
|
+
This was a version bump only for infra-eslint-rules to align it with other projects, there were no code changes.
|
|
371
|
+
|
|
372
|
+
## 0.0.12-beta.7 (2025-05-07)
|
|
373
|
+
|
|
374
|
+
This was a version bump only for infra-eslint-rules to align it with other projects, there were no code changes.
|
|
375
|
+
|
|
376
|
+
## 0.0.12-beta.6 (2025-05-07)
|
|
377
|
+
|
|
378
|
+
This was a version bump only for infra-eslint-rules to align it with other projects, there were no code changes.
|
|
379
|
+
|
|
380
|
+
## 0.0.12-beta.5 (2025-05-07)
|
|
381
|
+
|
|
382
|
+
This was a version bump only for infra-eslint-rules to align it with other projects, there were no code changes.
|
|
383
|
+
|
|
384
|
+
## 0.0.12-beta.3 (2025-05-07)
|
|
385
|
+
|
|
386
|
+
This was a version bump only for infra-eslint-rules to align it with other projects, there were no code changes.
|
|
387
|
+
|
|
388
|
+
## 0.0.12-beta.1 (2025-05-07)
|
|
389
|
+
|
|
390
|
+
This was a version bump only for infra-eslint-rules to align it with other projects, there were no code changes.
|
|
391
|
+
|
|
392
|
+
## 0.0.12-beta.0 (2025-05-07)
|
|
393
|
+
|
|
394
|
+
### 🚀 Features
|
|
395
|
+
|
|
396
|
+
- enhance project configurations with inputs and outputs for build targets ([6f80d15bda](https://github.com/RueDeRennes/mosaik/commit/6f80d15bda))
|
|
397
|
+
|
|
398
|
+
## 0.0.2-beta.0 (2025-05-06)
|
|
399
|
+
|
|
400
|
+
### 🚀 Features
|
|
401
|
+
|
|
402
|
+
- enhance project configurations with inputs and outputs for build targets ([6f80d15bda](https://github.com/RueDeRennes/mosaik/commit/6f80d15bda))
|
package/README.md
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
# @breadstone-infrastructure/eslint-rules
|
|
2
|
+
|
|
3
|
+
**Custom ESLint rules for the Mosaik Nx workspace and Breadstone projects.**
|
|
4
|
+
|
|
5
|
+
This package provides a set of custom ESLint rules to enforce code style, consistency, and best practices across TypeScript/JavaScript projects, especially for localization and large-scale codebases.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Features
|
|
10
|
+
|
|
11
|
+
- **Region Enforcement**: Require `#region`/`#endregion` tags in classes and interfaces for better code organization.
|
|
12
|
+
- **Command Naming**: Enforce naming conventions for command objects and classes.
|
|
13
|
+
- **Translation Resource Checks**: Detect duplicate keys, empty values, missing translations, key consistency, unused keys, and more in localization resource files.
|
|
14
|
+
- **Class Layout**: Ensure `extends` and `implements` clauses are on separate lines.
|
|
15
|
+
- **Component Documentation**: (WIP) Enforce JSDoc comments for components.
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## Available Rules
|
|
20
|
+
|
|
21
|
+
| Rule Name | Description |
|
|
22
|
+
|----------------------------------|----------------------------------------------------------------------------------------------|
|
|
23
|
+
| `region-in-classes` | Require `#region`/`#endregion` tags for Fields, Ctor, Properties, Methods in classes |
|
|
24
|
+
| `region-in-interfaces` | Require `#region`/`#endregion` tags for Properties and Methods in interfaces |
|
|
25
|
+
| `command-naming` | Enforce `[verb][Object]Command` naming for commands |
|
|
26
|
+
| `duplicate-keys` | Detect duplicate translation keys in resource files |
|
|
27
|
+
| `empty-values` | Detect translation keys with empty values |
|
|
28
|
+
| `key-consistency` | Ensure translation keys are consistent across locales |
|
|
29
|
+
| `missing-translations` | Detect missing translations in resource files |
|
|
30
|
+
| `multiple-key-usage` | Detect inconsistent usage of translation keys |
|
|
31
|
+
| `unused-keys` | Detect unused translation keys in resource files |
|
|
32
|
+
| `class-extends-implements-newline` | Ensure `extends` and `implements` are on separate lines in class declarations |
|
|
33
|
+
| `_component-documentation` | (WIP) Enforce JSDoc comments for components |
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## Installation
|
|
38
|
+
|
|
39
|
+
```sh
|
|
40
|
+
yarn add -D @breadstone-infrastructure/eslint-rules
|
|
41
|
+
# or
|
|
42
|
+
npm install --save-dev @breadstone-infrastructure/eslint-rules
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Usage
|
|
48
|
+
|
|
49
|
+
Add the rules to your ESLint configuration:
|
|
50
|
+
|
|
51
|
+
```js
|
|
52
|
+
// .eslintrc.js
|
|
53
|
+
module.exports = {
|
|
54
|
+
extends: [
|
|
55
|
+
// ...other configs
|
|
56
|
+
],
|
|
57
|
+
plugins: [
|
|
58
|
+
'@breadstone-infrastructure/eslint-rules'
|
|
59
|
+
],
|
|
60
|
+
rules: {
|
|
61
|
+
'@breadstone-infrastructure/eslint-rules/region-in-classes': 'warn',
|
|
62
|
+
'@breadstone-infrastructure/eslint-rules/region-in-interfaces': 'warn',
|
|
63
|
+
'@breadstone-infrastructure/eslint-rules/command-naming': 'error',
|
|
64
|
+
'@breadstone-infrastructure/eslint-rules/duplicate-keys': 'error',
|
|
65
|
+
'@breadstone-infrastructure/eslint-rules/empty-values': 'error',
|
|
66
|
+
'@breadstone-infrastructure/eslint-rules/key-consistency': 'error',
|
|
67
|
+
'@breadstone-infrastructure/eslint-rules/missing-translations': 'error',
|
|
68
|
+
'@breadstone-infrastructure/eslint-rules/multiple-key-usage': 'error',
|
|
69
|
+
'@breadstone-infrastructure/eslint-rules/unused-keys': 'error',
|
|
70
|
+
'@breadstone-infrastructure/eslint-rules/class-extends-implements-newline': 'warn'
|
|
71
|
+
}
|
|
72
|
+
};
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Rule Documentation
|
|
78
|
+
|
|
79
|
+
- [region-in-classes](./src/Rules/RegionInClassesRule.md)
|
|
80
|
+
- [region-in-interfaces](./src/Rules/RegionInInterfacesRule.md)
|
|
81
|
+
- [command-naming](./src/Rules/CommandNamingRule.md)
|
|
82
|
+
- See source files in `src/Rules/Resources/` for translation resource rules.
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## Example
|
|
87
|
+
|
|
88
|
+
```typescript
|
|
89
|
+
// Good: region tags in class
|
|
90
|
+
export class MyClass {
|
|
91
|
+
// #region Fields
|
|
92
|
+
private _foo: string;
|
|
93
|
+
// #endregion
|
|
94
|
+
|
|
95
|
+
// #region Ctor
|
|
96
|
+
constructor() { this._foo = 'bar'; }
|
|
97
|
+
// #endregion
|
|
98
|
+
|
|
99
|
+
// #region Methods
|
|
100
|
+
doSomething() {}
|
|
101
|
+
// #endregion
|
|
102
|
+
}
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Nx Workspace
|
|
108
|
+
|
|
109
|
+
This package is part of the Mosaik Nx monorepo. Use Nx commands for building and testing:
|
|
110
|
+
|
|
111
|
+
```sh
|
|
112
|
+
npx nx run eslint-rules:build
|
|
113
|
+
npx nx run eslint-rules:test
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
## Contributing
|
|
119
|
+
|
|
120
|
+
Contributions are welcome! Please open issues or pull requests for new rules, bug fixes, or improvements.
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## License
|
|
125
|
+
|
|
126
|
+
MIT © Breadstone
|
|
127
|
+
|
|
128
|
+
---
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@breadstone-infrastructure/eslint-rules",
|
|
3
3
|
"description": "Custom eslint rules for mosaik projects",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.67",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "andre.wehlert <awehlert@breadstone.de> (https://www.breadstone.de)",
|
|
7
7
|
"repository": {
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"module": "./Index.js",
|
|
14
14
|
"types": "./Index.d.ts",
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@breadstone-infrastructure/utilities": "^0.0.
|
|
17
|
-
"@breadstone-tools/localizator-core": "^0.0.
|
|
16
|
+
"@breadstone-infrastructure/utilities": "^0.0.67",
|
|
17
|
+
"@breadstone-tools/localizator-core": "^0.0.67"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"eslint": "^9.26.0",
|