@coko/lint 3.0.0-alpha.6 → 3.0.0-alpha.8
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 +13 -6
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.8](https://gitlab.coko.foundation/cokoapps/lint/compare/v3.0.0-alpha.7...v3.0.0-alpha.8) (2025-11-18)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **eslint:** allow unused vars if they start with _ ([3f2fca0](https://gitlab.coko.foundation/cokoapps/lint/commit/3f2fca094ea69f9b5560f07851083bea637bd3ed))
|
|
11
|
+
|
|
12
|
+
## [3.0.0-alpha.7](https://gitlab.coko.foundation/cokoapps/lint/compare/v3.0.0-alpha.6...v3.0.0-alpha.7) (2025-11-06)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **eslint:** disable vitest typecheck ([3184e6e](https://gitlab.coko.foundation/cokoapps/lint/commit/3184e6ec614639584c5e31c45a039931accf36fa))
|
|
18
|
+
|
|
5
19
|
## [3.0.0-alpha.6](https://gitlab.coko.foundation/cokoapps/lint/compare/v3.0.0-alpha.5...v3.0.0-alpha.6) (2025-11-06)
|
|
6
20
|
|
|
7
21
|
|
package/package.json
CHANGED
package/src/eslint.mjs
CHANGED
|
@@ -252,7 +252,14 @@ const server = [
|
|
|
252
252
|
'@typescript-eslint/no-redeclare': 'error',
|
|
253
253
|
|
|
254
254
|
'no-unused-vars': 'off',
|
|
255
|
-
'@typescript-eslint/no-unused-vars':
|
|
255
|
+
'@typescript-eslint/no-unused-vars': [
|
|
256
|
+
'error',
|
|
257
|
+
{
|
|
258
|
+
argsIgnorePattern: '^_',
|
|
259
|
+
varsIgnorePattern: '^_',
|
|
260
|
+
caughtErrorsIgnorePattern: '^_',
|
|
261
|
+
},
|
|
262
|
+
],
|
|
256
263
|
},
|
|
257
264
|
},
|
|
258
265
|
|
|
@@ -261,11 +268,11 @@ const server = [
|
|
|
261
268
|
plugins: {
|
|
262
269
|
vitest,
|
|
263
270
|
},
|
|
264
|
-
settings: {
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
},
|
|
271
|
+
// settings: {
|
|
272
|
+
// vitest: {
|
|
273
|
+
// typecheck: true,
|
|
274
|
+
// },
|
|
275
|
+
// },
|
|
269
276
|
rules: {
|
|
270
277
|
...vitest.configs.recommended.rules,
|
|
271
278
|
},
|