eslint-plugin-th-rules 2.7.0 → 2.8.0

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 (74) hide show
  1. package/README.md +171 -11
  2. package/dist/configs/bundles/recommended-react.d.ts +199 -0
  3. package/dist/configs/bundles/recommended-react.js +11 -0
  4. package/dist/configs/bundles/recommended-typescript.d.ts +190 -0
  5. package/dist/configs/bundles/recommended-typescript.js +6 -0
  6. package/dist/configs/bundles/recommended.d.ts +190 -0
  7. package/dist/configs/bundles/recommended.js +8 -0
  8. package/dist/configs/core/base.d.ts +170 -0
  9. package/dist/configs/core/base.js +23 -0
  10. package/dist/configs/core/react.d.ts +6 -0
  11. package/dist/configs/core/react.js +8 -0
  12. package/dist/configs/core/typescript.d.ts +2 -0
  13. package/dist/configs/core/typescript.js +19 -0
  14. package/dist/configs/externals/base.d.ts +15 -0
  15. package/dist/configs/externals/base.js +16 -0
  16. package/dist/configs/externals/opinionated.d.ts +10 -0
  17. package/dist/configs/externals/opinionated.js +12 -0
  18. package/dist/index.d.ts +1170 -0
  19. package/dist/index.js +21 -0
  20. package/dist/plugin.d.ts +5 -0
  21. package/dist/plugin.js +14 -0
  22. package/dist/rules/no-boolean-coercion.d.ts +5 -0
  23. package/dist/rules/no-boolean-coercion.js +98 -0
  24. package/dist/rules/no-comments.d.ts +11 -0
  25. package/dist/rules/no-comments.js +83 -0
  26. package/dist/rules/no-default-export.d.ts +5 -0
  27. package/dist/rules/no-default-export.js +61 -0
  28. package/dist/rules/no-destructuring.d.ts +8 -0
  29. package/dist/rules/no-destructuring.js +121 -0
  30. package/dist/rules/prefer-is-empty.d.ts +5 -0
  31. package/dist/rules/prefer-is-empty.js +101 -0
  32. package/dist/rules/schemas-in-schemas-file.d.ts +9 -0
  33. package/dist/rules/schemas-in-schemas-file.js +141 -0
  34. package/dist/rules/top-level-functions.d.ts +5 -0
  35. package/dist/rules/top-level-functions.js +153 -0
  36. package/dist/rules/types-in-dts.d.ts +8 -0
  37. package/dist/rules/types-in-dts.js +76 -0
  38. package/package.json +25 -14
  39. package/.github/dependabot.yml +0 -15
  40. package/.github/workflows/codecov.yml +0 -26
  41. package/.github/workflows/codeql.yml +0 -82
  42. package/.github/workflows/dependency-review.yml +0 -20
  43. package/.github/workflows/main.yml +0 -43
  44. package/.github/workflows/scorecard.yml +0 -72
  45. package/.github/workflows/snyk-security.yml +0 -67
  46. package/.releaserc +0 -13
  47. package/.vscode/settings.json +0 -8
  48. package/.yarn/releases/yarn-4.12.0.cjs +0 -942
  49. package/.yarnrc.yml +0 -3
  50. package/CHANGELOG.md +0 -621
  51. package/SECURITY.md +0 -48
  52. package/docs/rules/no-boolean-coercion.md +0 -9
  53. package/docs/rules/no-comments.md +0 -50
  54. package/docs/rules/no-default-export.md +0 -26
  55. package/docs/rules/no-destructuring.md +0 -40
  56. package/docs/rules/prefer-is-empty.md +0 -9
  57. package/docs/rules/schemas-in-schemas-file.md +0 -170
  58. package/docs/rules/top-level-functions.md +0 -48
  59. package/docs/rules/types-in-dts.md +0 -112
  60. package/renovate.json +0 -3
  61. package/scripts/verify.mjs +0 -16
  62. package/src/index.js +0 -144
  63. package/src/rules/no-boolean-coercion.js +0 -125
  64. package/src/rules/no-comments.js +0 -94
  65. package/src/rules/no-default-export.js +0 -64
  66. package/src/rules/no-destructuring.js +0 -114
  67. package/src/rules/prefer-is-empty.js +0 -104
  68. package/src/rules/schemas-in-schemas-file.js +0 -191
  69. package/src/rules/top-level-functions.js +0 -200
  70. package/src/rules/types-in-dts.js +0 -94
  71. package/tests/no-boolean-coercion.test.ts +0 -83
  72. package/tests/prefer-is-empty.test.ts +0 -148
  73. package/tsconfig.json +0 -22
  74. package/xo.config.ts +0 -2
package/.yarnrc.yml DELETED
@@ -1,3 +0,0 @@
1
- nodeLinker: node-modules
2
-
3
- yarnPath: .yarn/releases/yarn-4.12.0.cjs
package/CHANGELOG.md DELETED
@@ -1,621 +0,0 @@
1
- # [2.7.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.6.1...v2.7.0) (2026-01-14)
2
-
3
-
4
- ### Features
5
-
6
- * remove prefer-explicit-nil-or-empty-check rule and associated tests ([2aded48](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/2aded48d6f7df8d205cf7817afe3c0fdca39601c))
7
-
8
- ## [2.6.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.6.0...v2.6.1) (2026-01-14)
9
-
10
-
11
- ### Bug Fixes
12
-
13
- * refactor prefer-explicit-nil-or-empty-check rule and add tests for implicit checks ([d153066](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/d1530664708cf31025d5ebf1b92f6b68401c5448))
14
-
15
- # [2.6.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.5.1...v2.6.0) (2026-01-14)
16
-
17
-
18
- ### Features
19
-
20
- * add prefer-explicit-nil-or-empty-check rule and update dependencies ([c8fb3da](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/c8fb3da5be98caf0c31a50fa72f16b07e410eff6))
21
-
22
- ## [2.5.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.5.0...v2.5.1) (2026-01-14)
23
-
24
-
25
- ### Bug Fixes
26
-
27
- * add prefer-is-empty rule to enforce _.isEmpty over length comparisons and update documentation ([06ee673](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/06ee673a0fde79b7cc2af1f72807d9716576310c))
28
-
29
- # [2.5.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.4.0...v2.5.0) (2026-01-14)
30
-
31
-
32
- ### Features
33
-
34
- * add prefer-is-empty rule to enforce _.isEmpty over length comparisons and update documentation ([5bc671f](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/5bc671f35599d69a5a1432d173df408082da2db6))
35
-
36
- # [2.4.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.3.0...v2.4.0) (2026-01-14)
37
-
38
-
39
- ### Features
40
-
41
- * fixed git tags ([822f503](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/822f5033769f89fabbd6cf7177ccef74311ec2e5))
42
-
43
- # [2.2.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.1.1...v2.2.0) (2026-01-14)
44
-
45
-
46
- ### Bug Fixes
47
-
48
- * enhance no-boolean-coercion rule with detailed messages and update tests ([c79ad92](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/c79ad921e2a6c4dabe0f0e74b80393b01525c3d7))
49
- * enhance no-boolean-coercion rule with detailed messages and update tests ([686d620](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/686d6204bd46f757a4490656521b1094f3e3237e))
50
-
51
-
52
- ### Features
53
-
54
- * created new rule no-boolean-coercion ([f9b0803](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/f9b08039f6275e363da10e8e3ca49fb75ad2e48a))
55
-
56
- # [2.2.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.1.1...v2.2.0) (2026-01-14)
57
-
58
-
59
- ### Bug Fixes
60
-
61
- * enhance no-boolean-coercion rule with detailed messages and update tests ([686d620](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/686d6204bd46f757a4490656521b1094f3e3237e))
62
-
63
-
64
- ### Features
65
-
66
- * created new rule no-boolean-coercion ([f9b0803](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/f9b08039f6275e363da10e8e3ca49fb75ad2e48a))
67
-
68
- ## [2.1.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.1.0...v2.1.1) (2026-01-10)
69
-
70
-
71
- ### Bug Fixes
72
-
73
- * update base recommended rules to disable specific TypeScript and lodash rules ([6b4c240](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/6b4c24062199bd8dda59407a844ae545903f8ddc))
74
-
75
- # [2.1.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.0.4...v2.1.0) (2026-01-09)
76
-
77
-
78
- ### Features
79
-
80
- * migrate to ES module syntax and update dependencies; remove unused config ([b225e2c](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/b225e2c0260152009c011a5b445ed2c67f665ce5))
81
-
82
- ## [2.0.4](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.0.3...v2.0.4) (2026-01-08)
83
-
84
-
85
- ### Bug Fixes
86
-
87
- * disable 'security/detect-unsafe-regex' rule in base recommended configuration ([9e8489c](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/9e8489cc627fb6de8884f5c95375165a0416e1c1))
88
-
89
- ## [2.0.3](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.0.2...v2.0.3) (2026-01-08)
90
-
91
-
92
- ### Bug Fixes
93
-
94
- * update dependencies for improved compatibility ([9415af9](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/9415af9ac3ad24fcd606b7ed5455bf307c55fb69))
95
-
96
- ## [2.0.2](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.0.1...v2.0.2) (2026-01-07)
97
-
98
-
99
- ### Bug Fixes
100
-
101
- * update 'recommended-react' config to use 'plugin:react/jsx-runtime' ([25a1ef1](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/25a1ef18ce70104e8bb4521f265157270db79896))
102
-
103
- ## [2.0.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v2.0.0...v2.0.1) (2026-01-07)
104
-
105
-
106
- ### Bug Fixes
107
-
108
- * modify 'lodash/import-scope' rule in base recommended configuration ([4add1ee](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/4add1ee31f966875bc8c848328676819548a21fe))
109
-
110
- # [2.0.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.21.0...v2.0.0) (2026-01-07)
111
-
112
-
113
- ### Features
114
-
115
- * moved to flat ESLint config ([4b8df27](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/4b8df27d291afad906e2527c96b707c2703c64a3))
116
-
117
-
118
- ### BREAKING CHANGES
119
-
120
- * moved to flat ESLint config
121
-
122
- # [1.21.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.20.6...v1.21.0) (2026-01-07)
123
-
124
-
125
- ### Features
126
-
127
- * add eslint-plugin-lodash as a dependency and integrate it into the configuration ([6d32f3d](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/6d32f3d3dde6dab55cfcd13a7c85146c61eaf522))
128
-
129
- ## [1.20.6](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.20.5...v1.20.6) (2026-01-06)
130
-
131
-
132
- ### Bug Fixes
133
-
134
- * remove unused eslint-disable comments and plugins from index.js ([9303787](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/930378752cdd44442eda4c020c1d325769aad562))
135
-
136
- ## [1.20.5](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.20.4...v1.20.5) (2026-01-06)
137
-
138
-
139
- ### Bug Fixes
140
-
141
- * update GitHub Actions workflow and add ESLint verification script ([9e3c40e](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/9e3c40ee1c5500589e5463d997c832165666e6f6))
142
-
143
- ## [1.20.4](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.20.3...v1.20.4) (2026-01-06)
144
-
145
-
146
- ### Bug Fixes
147
-
148
- * fixed xo error ([056e708](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/056e7083ac33a4727b8664ac28b6838d5070de3f))
149
-
150
- ## [1.20.3](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.20.2...v1.20.3) (2026-01-06)
151
-
152
-
153
- ### Bug Fixes
154
-
155
- * update dependencies in yarn.lock ([2059b35](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/2059b3503efb1515843d822f3d386d58666b1864))
156
-
157
- ## [1.20.2](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.20.1...v1.20.2) (2026-01-06)
158
-
159
-
160
- ### Bug Fixes
161
-
162
- * refactor config handling to use flatConfigs for better structure ([22d64f2](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/22d64f20a5d5b64ae0676d6afcd87e2790f5ef4f))
163
-
164
- ## [1.20.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.20.0...v1.20.1) (2026-01-06)
165
-
166
-
167
- ### Bug Fixes
168
-
169
- * fixed xo errors ([633d5e0](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/633d5e08a22feddaecf925bc685798bc23ea795c))
170
-
171
- # [1.20.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.19.3...v1.20.0) (2026-01-06)
172
-
173
-
174
- ### Features
175
-
176
- * **eslint:** :boom: migrated to ESLint flat configs ([0af8a5e](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/0af8a5e49026af3145924363949cdb2978886dbf))
177
-
178
- ## [1.19.3](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.19.2...v1.19.3) (2026-01-06)
179
-
180
-
181
- ### Bug Fixes
182
-
183
- * remove styles-in-styles-file rule and update configs ([e6779c2](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/e6779c2d6bf367fc9474c0ded5977b0a03ad159f))
184
-
185
- ## [1.19.2](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.19.1...v1.19.2) (2026-01-05)
186
-
187
-
188
- ### Bug Fixes
189
-
190
- * clean up JSDoc comments and improve code readability in no-destructuring rule ([f7c2547](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/f7c2547e71d41d19c874b1713c62bed25018803c))
191
-
192
- ## [1.19.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.19.0...v1.19.1) (2026-01-05)
193
-
194
-
195
- ### Bug Fixes
196
-
197
- * remove jsdoc plugin from recommended configs and clean up extends ([de220ac](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/de220acd3d0c80340c7ee9b5bc2bfe2967c1c4c5))
198
-
199
- # [1.19.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.18.0...v1.19.0) (2026-01-05)
200
-
201
-
202
- ### Features
203
-
204
- * Added force for jsdoc in recommended configs ([6729b7a](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/6729b7a4804f8a63356aff9e2ceef57119b7075d))
205
-
206
- # [1.18.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.17.1...v1.18.0) (2026-01-05)
207
-
208
-
209
- ### Features
210
-
211
- * add 'schemas-in-schemas-file' rule to enforce Zod schema declarations in dedicated files ([92b54a0](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/92b54a0b9ca4197c4e92c268d7d0cf0f8efc83cf))
212
-
213
- ## [1.17.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.17.0...v1.17.1) (2026-01-05)
214
-
215
-
216
- ### Bug Fixes
217
-
218
- * improve style file validation messages and simplify code structure ([5c165b4](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/5c165b4fcbc103df752e7c56f988c725dae6a62c))
219
-
220
- # [1.17.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.16.0...v1.17.0) (2026-01-05)
221
-
222
-
223
- ### Features
224
-
225
- * add 'styles-in-styles-file' rule to enforce React-Native styles in dedicated files ([eca8af0](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/eca8af0850aa197a35fb47cf08a9f04839a6a3cb))
226
-
227
- # [1.16.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.15.6...v1.16.0) (2026-01-05)
228
-
229
-
230
- ### Features
231
-
232
- * add new rule 'types-in-dts' to enforce TypeScript type declarations in .d.ts files ([00c4769](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/00c4769f9a025642f7c72023df1dea82dbf33e72))
233
-
234
- ## [1.15.6](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.15.5...v1.15.6) (2024-12-30)
235
-
236
-
237
- ### Bug Fixes
238
-
239
- * enhance top-level functions rule to support async and export keywords ([cca9ceb](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/cca9cebe77fa01820048a55c444e55bd297b883c))
240
-
241
- ## [1.15.5](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.15.4...v1.15.5) (2024-12-30)
242
-
243
-
244
- ### Bug Fixes
245
-
246
- * enforce naming conventions for top-level functions and improve error messages ([c50194d](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/c50194d3ad4c2ef98387d3bbee8d06a30e2aa458))
247
-
248
- ## [1.15.4](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.15.3...v1.15.4) (2024-12-30)
249
-
250
-
251
- ### Bug Fixes
252
-
253
- * improve top-level functions rule to support single-expression functions ([da75c58](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/da75c5823445b54eac9ab6cc7717e007e8a797a6))
254
-
255
- ## [1.15.3](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.15.2...v1.15.3) (2024-12-30)
256
-
257
-
258
- ### Bug Fixes
259
-
260
- * enhance top-level functions rule to handle arrow and function expressions ([0bdcc2c](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/0bdcc2cbe2bd9e790ca2965001c786e3a8518a60))
261
-
262
- ## [1.15.2](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.15.1...v1.15.2) (2024-12-30)
263
-
264
-
265
- ### Bug Fixes
266
-
267
- * implement top-level functions rule with tests for ESLint ([c19c451](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/c19c4515b66b314cc327ef84c674a1324ad7d204))
268
-
269
- ## [1.15.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.15.0...v1.15.1) (2024-12-30)
270
-
271
-
272
- ### Bug Fixes
273
-
274
- * enable top-level functions rule in ESLint configuration ([ce694ad](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/ce694ad302388f13e04af8e3d951c8cf00c0603f))
275
-
276
- # [1.15.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.14.1...v1.15.0) (2024-12-30)
277
-
278
-
279
- ### Features
280
-
281
- * add top-level functions rule and update ESLint configuration ([49e5ebb](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/49e5ebbf597615e508a8b0067d8ca263d73f0469))
282
-
283
- ## [1.14.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.14.0...v1.14.1) (2024-12-30)
284
-
285
-
286
- ### Bug Fixes
287
-
288
- * update dependencies and disable specific ESLint rules ([9cb636b](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/9cb636b127add46aaa8926a73fdbd0e49f897c0e))
289
-
290
- # [1.14.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.13.4...v1.14.0) (2024-09-11)
291
-
292
-
293
- ### Features
294
-
295
- * Added `recommended-react` config ([2238f59](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/2238f59649a1a3ad7368aa6a2feaca0e98391d2f))
296
-
297
- ## [1.13.4](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.13.3...v1.13.4) (2024-08-22)
298
-
299
-
300
- ### Bug Fixes
301
-
302
- * Remove no-comments from plugins list ([e3df83f](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/e3df83ff4e6a0497058b4080bb884d340f58fc13))
303
-
304
- ## [1.13.3](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.13.2...v1.13.3) (2024-08-21)
305
-
306
-
307
- ### Bug Fixes
308
-
309
- * removed named functions ([a1c87b0](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/a1c87b02dbb478d953f972bc95df3a2888b5e28b))
310
-
311
- ## [1.13.2](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.13.1...v1.13.2) (2024-08-19)
312
-
313
-
314
- ### Bug Fixes
315
-
316
- * Remove named-functions rule and related files ([9d0f23d](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/9d0f23d1f705eb3ddbe41e9def152e182729e1d4))
317
-
318
- ## [1.13.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.13.0...v1.13.1) (2024-08-19)
319
-
320
-
321
- ### Bug Fixes
322
-
323
- * Update named-functions rule to enforce named function declarations ([e2c9b5d](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/e2c9b5d5f96030278b2900adbf940363c4648bdd))
324
-
325
- # [1.13.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.12.0...v1.13.0) (2024-08-19)
326
-
327
-
328
- ### Features
329
-
330
- * Add named-functions rule to recommended and recommended-typescript configs ([3f88f76](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/3f88f76460d7bce934f83da68c555c9795fdfe92))
331
-
332
- # [1.12.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.11.4...v1.12.0) (2024-08-19)
333
-
334
-
335
- ### Features
336
-
337
- * created no-comments rule ([82dda49](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/82dda49f7f4708b68b8a4bd81e5af3ca84519a43))
338
-
339
- ## [1.11.4](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.11.3...v1.11.4) (2024-08-19)
340
-
341
-
342
- ### Bug Fixes
343
-
344
- * Update regex pattern for disallowed comments ([11d9e1b](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/11d9e1bde0382460defb252701c20769f30e67e6))
345
-
346
- ## [1.11.3](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.11.2...v1.11.3) (2024-08-19)
347
-
348
-
349
- ### Bug Fixes
350
-
351
- * Update regex pattern for disallowed comments ([afa6799](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/afa679935417a2df008b111b06c8f4ebff7a1691))
352
-
353
- ## [1.11.2](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.11.1...v1.11.2) (2024-08-19)
354
-
355
-
356
- ### Bug Fixes
357
-
358
- * allow eslint ([20f37ab](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/20f37abb18100b6bf71a2631da7f02bead187a4c))
359
-
360
- ## [1.11.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.11.0...v1.11.1) (2024-08-19)
361
-
362
-
363
- ### Bug Fixes
364
-
365
- * allow eslint-disable comments ([e210edd](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/e210edd0510a9b4575953d3ee039f8d70ec3ef89))
366
-
367
- # [1.11.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.10.0...v1.11.0) (2024-08-19)
368
-
369
-
370
- ### Features
371
-
372
- * added no comments ([8fcc0b7](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/8fcc0b7f7d0e0866584d478093aa835cf55acef1))
373
-
374
- # [1.10.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.9.0...v1.10.0) (2024-08-02)
375
-
376
-
377
- ### Features
378
-
379
- * Added eslint-plugin-security ([37ec7d1](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/37ec7d1267c18452199fa9a4c5810f1eb1246201))
380
-
381
- # [1.9.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.8.1...v1.9.0) (2024-06-15)
382
-
383
-
384
- ### Features
385
-
386
- * created separate configs for typescript and non-typescript configs ([13f17df](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/13f17dfad0182c9437e38a51adb37c1b15153d71))
387
-
388
- ## [1.8.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.8.0...v1.8.1) (2024-06-15)
389
-
390
-
391
- ### Bug Fixes
392
-
393
- * Disable TypeScript ESLint strict rules and unsafe checks ([bf186fb](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/bf186fbc8216a520b59e24e7861c47ee0f281680))
394
-
395
- # [1.8.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.7.0...v1.8.0) (2024-06-15)
396
-
397
-
398
- ### Bug Fixes
399
-
400
- * Remove eslint-plugin-github from recommended config ([989a59f](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/989a59f47ff67864499a8ee7f34354feccae71a9))
401
-
402
-
403
- ### Features
404
-
405
- * Added typescript-eslint strict rules ([be91f38](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/be91f38d1f2a1f452d0b92755d58ce728b544066))
406
-
407
- # [1.7.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.6.1...v1.7.0) (2024-06-15)
408
-
409
-
410
- ### Features
411
-
412
- * Add eslint-plugin-github to recommended config ([f502310](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/f50231096d48d007f24e069c89495cc2b6de8222))
413
-
414
- ## [1.6.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.6.0...v1.6.1) (2024-06-14)
415
-
416
-
417
- ### Bug Fixes
418
-
419
- * Update eslint-plugin-sonarjs to latest version ([84e41be](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/84e41be6dc48062c64c2a2051dbc7e99865b7d94))
420
-
421
- # [1.6.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.5.5...v1.6.0) (2024-06-14)
422
-
423
-
424
- ### Features
425
-
426
- * Added eslint-plugin-sonarjs to recommended config ([13176f3](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/13176f3ededa543f3b5f05789a5deed6f0f5cdb1))
427
-
428
- ## [1.5.5](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.5.4...v1.5.5) (2024-06-14)
429
-
430
-
431
- ### Bug Fixes
432
-
433
- * fixed CI ([36f1e36](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/36f1e36c95debb7360455bf0d00cdbffd07be77b))
434
-
435
- ## [1.5.4](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.5.3...v1.5.4) (2024-06-14)
436
-
437
-
438
- ### Bug Fixes
439
-
440
- * removed unused configs ([cbac1d8](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/cbac1d8bb207c612d93f9cd895829fe12368a77d))
441
- * Update eslint and related dependencies to latest versions ([a39e785](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/a39e78548b32ee6edd344166cc406e2139a6dcfd))
442
- * Update eslint and related dependencies, disable specific rules, and fix linting issues ([69d2814](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/69d281416b8366c670ef9cd9051e39edf49f0731))
443
-
444
- ## [1.5.3](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.5.2...v1.5.3) (2024-02-26)
445
-
446
-
447
- ### Bug Fixes
448
-
449
- * Update devDependencies and peerDependencies in package.json ([5fd3210](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/5fd3210ea359915312fced3f65b57ae3f2a8d2c8))
450
-
451
- ## [1.5.2](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.5.1...v1.5.2) (2024-02-26)
452
-
453
-
454
- ### Bug Fixes
455
-
456
- * Update environment configuration in index.js ([277871c](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/277871cc4ff71659fa1e476fd463c39893878797))
457
-
458
- ## [1.5.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.5.0...v1.5.1) (2024-02-26)
459
-
460
-
461
- ### Bug Fixes
462
-
463
- * fixed ([9730e96](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/9730e96ff296ccd4afbc278fefd176f2684b89cb))
464
-
465
- # [1.5.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.4.2...v1.5.0) (2024-02-26)
466
-
467
-
468
- ### Bug Fixes
469
-
470
- * Add ESLint configurations for JSDoc and React ([45b6297](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/45b62978da758e4ebbf62780e74595393c38800b))
471
-
472
-
473
- ### Features
474
-
475
- * adding basic, recommended and all, also planning to add a recommended-react and recommended-react-native variants in the future ([85e54dd](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/85e54ddabe928aafadb83c4118ff5da390654260))
476
-
477
- ## [1.4.2](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.4.1...v1.4.2) (2024-02-26)
478
-
479
-
480
- ### Bug Fixes
481
-
482
- * fixed name of no-destructuring rule ([30ab24a](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/30ab24aec8b84cda665c7fc43920f2625a2f8d83))
483
-
484
- ## [1.4.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.4.0...v1.4.1) (2024-02-26)
485
-
486
-
487
- ### Bug Fixes
488
-
489
- * fixed a bug with the no-default-export auto fix ([fabd4bd](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/fabd4bdc51d7290baf6807e8255acdfd90e81f03))
490
-
491
- # [1.4.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.3.2...v1.4.0) (2024-02-23)
492
-
493
-
494
- ### Features
495
-
496
- * Update package name and plugin references ([2fd90bd](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/2fd90bd5873e541ea0e4ce05c7872732636753ec))
497
-
498
- ## [1.3.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.3.0...v1.3.1) (2024-02-23)
499
-
500
-
501
- ### Bug Fixes
502
-
503
- * fixed package name ([4e006ab](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/4e006ab95cb8daa4310c43adbdd24c3be82b34b4))
504
-
505
- # [1.3.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.2.0...v1.3.0) (2024-02-23)
506
-
507
-
508
- ### Bug Fixes
509
-
510
- * renamed recommended configuration to all ([f11d297](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/f11d297861da5b9234ddebf18c1ea4f52099b7b6))
511
- * Update plugin and rule names in configs ([476b081](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/476b0813aaecfe717291ac44fdd9c661a4356693))
512
-
513
-
514
- ### Features
515
-
516
- * updated readme ([3903d35](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/3903d354c2d4ba367258aa0cd80501db080cf595))
517
-
518
- # [1.2.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.1.4...v1.2.0) (2024-02-23)
519
-
520
-
521
- ### Features
522
-
523
- * :sparkles: Created a recommended configuration ([4c81e02](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/4c81e027ef00ab06a4c69ef32857093fcb06fb3b))
524
-
525
- ## [1.1.4](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.1.3...v1.1.4) (2024-02-23)
526
-
527
-
528
- ### Bug Fixes
529
-
530
- * Update lib/index.js to import all rules in lib/rules ([d4f3183](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/d4f3183de27b530a7f62fc1670055915641d7533))
531
-
532
- ## [1.1.3](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.1.2...v1.1.3) (2024-02-23)
533
-
534
-
535
- ### Bug Fixes
536
-
537
- * Remove "type" field from package.json ([aadbbb0](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/aadbbb090a256e20e8437b5d9c7bf57cbfd0daf5))
538
-
539
- ## [1.1.2](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.1.1...v1.1.2) (2024-02-23)
540
-
541
-
542
- ### Bug Fixes
543
-
544
- * changed back to CommonJS ([07174fc](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/07174fce92e3a0b660fe76b4baa862fd0d33ee72))
545
-
546
- ## [1.1.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.1.0...v1.1.1) (2024-02-23)
547
-
548
-
549
- ### Bug Fixes
550
-
551
- * changed index.js to ES ([d55351e](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/d55351ed380ceeb2c15d89f4b9db7e85c5250937))
552
-
553
- # [1.1.0](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.0.7...v1.1.0) (2024-02-23)
554
-
555
-
556
- ### Bug Fixes
557
-
558
- * Remove redundant Docker configuration ([2b1be8f](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/2b1be8f41a1036c8237f689d2addf29beedaedea))
559
- * Remove Dockerfile and update eslint rule ([63d6d03](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/63d6d033a3614be9a0e132e25ff5eb94b7448505))
560
-
561
-
562
- ### Features
563
-
564
- * Added a rule to convert unnamed default exports to named default exports based on the file name ([cfda4c1](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/cfda4c16bbba11b281a45deca8ca8742ecab23e9))
565
-
566
- ## [1.0.7](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.0.6...v1.0.7) (2024-02-22)
567
-
568
-
569
- ### Bug Fixes
570
-
571
- * test ([99d8a4f](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/99d8a4f325faaa425bc0ea0842567562441dcf2e))
572
-
573
- ## [1.0.6](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.0.5...v1.0.6) (2024-02-22)
574
-
575
-
576
- ### Bug Fixes
577
-
578
- * 7 ([f397bee](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/f397bee5676832b8b11e95dc52e0b8e83c5e5940))
579
-
580
- ## [1.0.5](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.0.4...v1.0.5) (2024-02-22)
581
-
582
-
583
- ### Bug Fixes
584
-
585
- * 6 ([e4b80fd](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/e4b80fdea4d224b880c114e8ac5c433131f46e58))
586
-
587
- ## [1.0.4](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.0.3...v1.0.4) (2024-02-22)
588
-
589
-
590
- ### Bug Fixes
591
-
592
- * 3 ([de1546e](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/de1546eff2921718c6cfd6d6c4e8d6f82b178847))
593
- * 5 ([8d1b80d](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/8d1b80d22129d1a5baaa7330f76645ef6e9f2cc9))
594
-
595
- ## [1.0.3](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.0.2...v1.0.3) (2024-02-22)
596
-
597
-
598
- ### Bug Fixes
599
-
600
- * number 3 ([ac78e66](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/ac78e6685fcda4551a18f93afc0e05ecb232185c))
601
-
602
- ## [1.0.2](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.0.1...v1.0.2) (2024-02-22)
603
-
604
-
605
- ### Bug Fixes
606
-
607
- * Update package.json version to 1.0.6 ([1c5409c](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/1c5409ce77ccc5fc4e35a975ffa328f59766c1d7))
608
-
609
- ## [1.0.1](https://github.com/tomerh2001/eslint-plugin-th-rules/compare/v1.0.0...v1.0.1) (2024-02-22)
610
-
611
-
612
- ### Bug Fixes
613
-
614
- * semantic ([1e08f3d](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/1e08f3ddb5f1432307ce7a1e50863c9325ddbbfc))
615
-
616
- # 1.0.0 (2024-02-22)
617
-
618
-
619
- ### Bug Fixes
620
-
621
- * Add ESLint configuration and rules ([0197c62](https://github.com/tomerh2001/eslint-plugin-th-rules/commit/0197c62d8d4be2f8fd5ae67ad4c3a83370d5d678))
package/SECURITY.md DELETED
@@ -1,48 +0,0 @@
1
- # Security Policy
2
-
3
- ## 1. Purpose
4
-
5
- This document provides guidelines and procedures for maintaining the security and integrity of the repository.
6
-
7
- ## 2. Scope
8
-
9
- This policy applies to all contributors, maintainers, and users of the repository.
10
-
11
- ## 3. Repository Security
12
-
13
- ### 3.1. Access Control
14
-
15
- - Access to the repository is restricted to authorized personnel only. All contributors must have a valid and active GitHub account.
16
- - External collaborators should be granted access on a need-to-know basis and should be reviewed periodically.
17
-
18
- ### 3.2. Encryption
19
-
20
- - All sensitive data stored in this repo must be encrypted using `git-crypt`.
21
- - Authorized users will be provided with decryption keys. These keys must not be shared, stored publicly, or embedded in code.
22
-
23
- ### 3.3. Code Review
24
-
25
- - All pull requests (PRs) must undergo a code review by at least one other member before being merged.
26
- - PRs with changes to cryptographic routines or handling of encrypted data must be reviewed by a security expert.
27
-
28
- ## 4. Reporting Security Issues
29
-
30
- - If you discover a vulnerability or security issue, please create an issue on the GitHub repository. Label it as `security` for easy identification.
31
- - Do not disclose details of the vulnerability in public forums, chats, or other public channels.
32
-
33
- ## 5. Patch Management
34
-
35
- - All contributors are encouraged to regularly fetch updates from the main branch and ensure their local copy is updated to benefit from security patches.
36
-
37
- ## 6. Compliance
38
-
39
- - Contributors found to be in violation of this policy may have their access revoked.
40
- - Users and maintainers are encouraged to report any non-compliance to this policy.
41
-
42
- ## 7. Review and Updates
43
-
44
- This policy will be reviewed annually or after any significant incident.
45
-
46
- ## 8. Contact
47
-
48
- For any queries or concerns regarding this security policy, eat a biscuit. (tomerh2001@gmail.com)