@coko/lint 3.0.0-alpha.32 → 3.0.0-alpha.34
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 +14 -0
- package/package.json +1 -1
- package/src/eslint.mjs +35 -3
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [3.0.0-alpha.34](https://gitlab.coko.foundation/cokoapps/lint/compare/v3.0.0-alpha.33...v3.0.0-alpha.34) (2026-05-04)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **eslint:** allow import/export in cypress files ([2fee5a0](https://gitlab.coko.foundation/cokoapps/lint/commit/2fee5a082394780076460ed5d8a68bfab9cd326a))
|
|
11
|
+
|
|
12
|
+
## [3.0.0-alpha.33](https://gitlab.coko.foundation/cokoapps/lint/compare/v3.0.0-alpha.32...v3.0.0-alpha.33) (2026-05-04)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **eslint:** make sure server rules do not bleed into client ([2291bcd](https://gitlab.coko.foundation/cokoapps/lint/commit/2291bcd5073b1e5f3bad9efd08a15f1f1c9f098e))
|
|
18
|
+
|
|
5
19
|
## [3.0.0-alpha.32](https://gitlab.coko.foundation/cokoapps/lint/compare/v3.0.0-alpha.31...v3.0.0-alpha.32) (2026-05-04)
|
|
6
20
|
|
|
7
21
|
|
package/package.json
CHANGED
package/src/eslint.mjs
CHANGED
|
@@ -308,20 +308,48 @@ const client = [
|
|
|
308
308
|
]
|
|
309
309
|
|
|
310
310
|
const root = [
|
|
311
|
+
/**
|
|
312
|
+
* COMMON 1
|
|
313
|
+
*/
|
|
311
314
|
js.configs.recommended,
|
|
312
315
|
importPlugin.flatConfigs.recommended,
|
|
313
316
|
pluginPromise.configs['flat/recommended'],
|
|
314
317
|
workspacesConfig,
|
|
315
318
|
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
+
/**
|
|
320
|
+
* SERVER
|
|
321
|
+
*/
|
|
322
|
+
{
|
|
323
|
+
...serverFiles,
|
|
324
|
+
ignores: ['packages/client/**'],
|
|
325
|
+
},
|
|
326
|
+
|
|
327
|
+
{
|
|
328
|
+
...serverCommonjs,
|
|
329
|
+
ignores: ['packages/client/**'],
|
|
330
|
+
},
|
|
331
|
+
|
|
332
|
+
{
|
|
333
|
+
...serverMjs,
|
|
334
|
+
ignores: ['packages/client/**'],
|
|
335
|
+
},
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* CYPRESS
|
|
339
|
+
*/
|
|
319
340
|
|
|
320
341
|
{
|
|
321
342
|
files: ['cypress/**/*.{js,mjs,ts}'],
|
|
322
343
|
extends: [pluginCypress.configs.recommended],
|
|
344
|
+
languageOptions: {
|
|
345
|
+
sourceType: 'module',
|
|
346
|
+
},
|
|
323
347
|
},
|
|
324
348
|
|
|
349
|
+
/**
|
|
350
|
+
* CLIENT
|
|
351
|
+
*/
|
|
352
|
+
|
|
325
353
|
{
|
|
326
354
|
...react.configs.flat.recommended,
|
|
327
355
|
files: ['packages/client/**/*.{js,jsx,mjs,cjs,ts,tsx}'],
|
|
@@ -352,6 +380,10 @@ const root = [
|
|
|
352
380
|
files: ['packages/client/**/*.cjs'],
|
|
353
381
|
},
|
|
354
382
|
|
|
383
|
+
/**
|
|
384
|
+
* COMMON 2
|
|
385
|
+
*/
|
|
386
|
+
|
|
355
387
|
typescriptConfig,
|
|
356
388
|
viteConfig,
|
|
357
389
|
globalIgnores(globalIgnoreList),
|