@coko/lint 3.0.0-alpha.31 → 3.0.0-alpha.33
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 +15 -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.33](https://gitlab.coko.foundation/cokoapps/lint/compare/v3.0.0-alpha.32...v3.0.0-alpha.33) (2026-05-04)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **eslint:** make sure server rules do not bleed into client ([2291bcd](https://gitlab.coko.foundation/cokoapps/lint/commit/2291bcd5073b1e5f3bad9efd08a15f1f1c9f098e))
|
|
11
|
+
|
|
12
|
+
## [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)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **eslint:** add explicit sourcetype module for client js files ([c05d056](https://gitlab.coko.foundation/cokoapps/lint/commit/c05d0560a8fbfa2797eec257c1c06840b1f94641))
|
|
18
|
+
|
|
5
19
|
## [3.0.0-alpha.31](https://gitlab.coko.foundation/cokoapps/lint/compare/v3.0.0-alpha.30...v3.0.0-alpha.31) (2026-05-04)
|
|
6
20
|
|
|
7
21
|
|
package/package.json
CHANGED
package/src/eslint.mjs
CHANGED
|
@@ -242,6 +242,7 @@ const clientFiles = {
|
|
|
242
242
|
process: 'readonly',
|
|
243
243
|
},
|
|
244
244
|
ecmaVersion: 'latest',
|
|
245
|
+
sourceType: 'module',
|
|
245
246
|
parserOptions: {
|
|
246
247
|
ecmaFeatures: {
|
|
247
248
|
jsx: true,
|
|
@@ -312,9 +313,20 @@ const root = [
|
|
|
312
313
|
pluginPromise.configs['flat/recommended'],
|
|
313
314
|
workspacesConfig,
|
|
314
315
|
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
316
|
+
{
|
|
317
|
+
...serverFiles,
|
|
318
|
+
ignores: ['packages/client/**'],
|
|
319
|
+
},
|
|
320
|
+
|
|
321
|
+
{
|
|
322
|
+
...serverCommonjs,
|
|
323
|
+
ignores: ['packages/client/**'],
|
|
324
|
+
},
|
|
325
|
+
|
|
326
|
+
{
|
|
327
|
+
...serverMjs,
|
|
328
|
+
ignores: ['packages/client/**'],
|
|
329
|
+
},
|
|
318
330
|
|
|
319
331
|
{
|
|
320
332
|
files: ['cypress/**/*.{js,mjs,ts}'],
|