@ncontiero/eslint-config 6.5.0 → 6.5.1
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/dist/index.d.ts +22 -0
- package/package.json +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -487,6 +487,11 @@ interface RuleOptions {
|
|
|
487
487
|
* @see https://typescript-eslint.io/rules/no-unused-expressions
|
|
488
488
|
*/
|
|
489
489
|
'@typescript-eslint/no-unused-expressions'?: Linter.RuleEntry<TypescriptEslintNoUnusedExpressions>
|
|
490
|
+
/**
|
|
491
|
+
* Disallow unused private class members
|
|
492
|
+
* @see https://typescript-eslint.io/rules/no-unused-private-class-members
|
|
493
|
+
*/
|
|
494
|
+
'@typescript-eslint/no-unused-private-class-members'?: Linter.RuleEntry<[]>
|
|
490
495
|
/**
|
|
491
496
|
* Disallow unused variables
|
|
492
497
|
* @see https://typescript-eslint.io/rules/no-unused-vars
|
|
@@ -1869,6 +1874,11 @@ interface RuleOptions {
|
|
|
1869
1874
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-property-type.md#repos-sticky-header
|
|
1870
1875
|
*/
|
|
1871
1876
|
'jsdoc/require-property-type'?: Linter.RuleEntry<[]>
|
|
1877
|
+
/**
|
|
1878
|
+
* Requires that Promise rejections are documented with `@rejects` tags.
|
|
1879
|
+
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-rejects.md#repos-sticky-header
|
|
1880
|
+
*/
|
|
1881
|
+
'jsdoc/require-rejects'?: Linter.RuleEntry<JsdocRequireRejects>
|
|
1872
1882
|
/**
|
|
1873
1883
|
* Requires that returns are documented with `@returns`.
|
|
1874
1884
|
* @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/require-returns.md#repos-sticky-header
|
|
@@ -8281,6 +8291,8 @@ type JsdocCheckExamples = []|[{
|
|
|
8281
8291
|
// ----- jsdoc/check-indentation -----
|
|
8282
8292
|
type JsdocCheckIndentation = []|[{
|
|
8283
8293
|
|
|
8294
|
+
allowIndentedSections?: boolean
|
|
8295
|
+
|
|
8284
8296
|
excludeTags?: string[]
|
|
8285
8297
|
}]
|
|
8286
8298
|
// ----- jsdoc/check-line-alignment -----
|
|
@@ -8786,6 +8798,16 @@ type JsdocRequireParamType = []|[{
|
|
|
8786
8798
|
|
|
8787
8799
|
setDefaultDestructuredRootType?: boolean
|
|
8788
8800
|
}]
|
|
8801
|
+
// ----- jsdoc/require-rejects -----
|
|
8802
|
+
type JsdocRequireRejects = []|[{
|
|
8803
|
+
|
|
8804
|
+
contexts?: (string | {
|
|
8805
|
+
comment?: string
|
|
8806
|
+
context?: string
|
|
8807
|
+
})[]
|
|
8808
|
+
|
|
8809
|
+
exemptedBy?: string[]
|
|
8810
|
+
}]
|
|
8789
8811
|
// ----- jsdoc/require-returns -----
|
|
8790
8812
|
type JsdocRequireReturns = []|[{
|
|
8791
8813
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ncontiero/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "6.5.
|
|
4
|
+
"version": "6.5.1",
|
|
5
5
|
"description": "Nicolas's ESLint config.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Nicolas Contiero",
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
41
41
|
"@eslint/markdown": "^7.5.1",
|
|
42
|
-
"@html-eslint/eslint-plugin": "^0.
|
|
43
|
-
"@html-eslint/parser": "^0.
|
|
42
|
+
"@html-eslint/eslint-plugin": "^0.49.0",
|
|
43
|
+
"@html-eslint/parser": "^0.49.0",
|
|
44
44
|
"@next/eslint-plugin-next": "^16.0.3",
|
|
45
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
46
|
-
"@typescript-eslint/parser": "^8.
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "^8.47.0",
|
|
46
|
+
"@typescript-eslint/parser": "^8.47.0",
|
|
47
47
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
48
48
|
"eslint-merge-processors": "^2.0.0",
|
|
49
49
|
"eslint-plugin-antfu": "^3.1.1",
|
|
50
|
-
"eslint-plugin-better-tailwindcss": "4.0.0-beta.
|
|
50
|
+
"eslint-plugin-better-tailwindcss": "4.0.0-beta.4",
|
|
51
51
|
"eslint-plugin-command": "^3.3.1",
|
|
52
52
|
"eslint-plugin-de-morgan": "^2.0.0",
|
|
53
53
|
"eslint-plugin-import-x": "^4.16.1",
|
|
54
|
-
"eslint-plugin-jsdoc": "^61.
|
|
54
|
+
"eslint-plugin-jsdoc": "^61.4.0",
|
|
55
55
|
"eslint-plugin-jsonc": "^2.21.0",
|
|
56
56
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
57
57
|
"eslint-plugin-n": "^17.23.1",
|
|
@@ -86,12 +86,12 @@
|
|
|
86
86
|
"eslint-typegen": "^2.3.0",
|
|
87
87
|
"execa": "^9.6.0",
|
|
88
88
|
"husky": "^9.1.7",
|
|
89
|
-
"lint-staged": "^16.2.
|
|
89
|
+
"lint-staged": "^16.2.7",
|
|
90
90
|
"tinyglobby": "^0.2.15",
|
|
91
91
|
"tsup": "^8.5.1",
|
|
92
92
|
"tsx": "^4.20.6",
|
|
93
93
|
"typescript": "^5.9.3",
|
|
94
|
-
"vitest": "^4.0.
|
|
94
|
+
"vitest": "^4.0.13"
|
|
95
95
|
},
|
|
96
96
|
"engines": {
|
|
97
97
|
"node": ">=20.11.0"
|