@coko/lint 3.0.0-alpha.7 → 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 +7 -0
- package/package.json +1 -1
- package/src/eslint.mjs +8 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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
|
+
|
|
5
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)
|
|
6
13
|
|
|
7
14
|
|
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
|
|