@vinicunca/eslint-config 2.11.8 → 2.11.10

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.cts CHANGED
@@ -1033,6 +1033,7 @@ interface RuleOptions {
1033
1033
  */
1034
1034
  'jsdoc/no-missing-syntax'?: Linter.RuleEntry<JsdocNoMissingSyntax>
1035
1035
  /**
1036
+ * Prevents use of multiple asterisks at the beginning of lines.
1036
1037
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-multi-asterisks.md#repos-sticky-header
1037
1038
  */
1038
1039
  'jsdoc/no-multi-asterisks'?: Linter.RuleEntry<JsdocNoMultiAsterisks>
@@ -1177,6 +1178,7 @@ interface RuleOptions {
1177
1178
  */
1178
1179
  'jsdoc/tag-lines'?: Linter.RuleEntry<JsdocTagLines>
1179
1180
  /**
1181
+ * Auto-escape certain characters that are input within block and tag descriptions.
1180
1182
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/text-escaping.md#repos-sticky-header
1181
1183
  */
1182
1184
  'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>
@@ -5331,7 +5333,7 @@ interface RuleOptions {
5331
5333
  */
5332
5334
  'ts/no-array-delete'?: Linter.RuleEntry<[]>
5333
5335
  /**
5334
- * Require `.toString()` to only be called on objects which provide useful information when stringified
5336
+ * Require `.toString()` and `.toLocaleString()` to only be called on objects which provide useful information when stringified
5335
5337
  * @see https://typescript-eslint.io/rules/no-base-to-string
5336
5338
  */
5337
5339
  'ts/no-base-to-string'?: Linter.RuleEntry<TsNoBaseToString>
@@ -12998,9 +13000,11 @@ type TsExplicitFunctionReturnType = []|[{
12998
13000
  }]
12999
13001
  // ----- ts/explicit-member-accessibility -----
13000
13002
  type TsExplicitMemberAccessibility = []|[{
13003
+
13001
13004
  accessibility?: ("explicit" | "no-public" | "off")
13002
13005
 
13003
13006
  ignoredMethodNames?: string[]
13007
+
13004
13008
  overrides?: {
13005
13009
  accessors?: ("explicit" | "no-public" | "off")
13006
13010
  constructors?: ("explicit" | "no-public" | "off")
@@ -13517,9 +13521,11 @@ type TsNoMeaninglessVoidOperator = []|[{
13517
13521
  }]
13518
13522
  // ----- ts/no-misused-promises -----
13519
13523
  type TsNoMisusedPromises = []|[{
13524
+
13520
13525
  checksConditionals?: boolean
13521
13526
 
13522
13527
  checksSpreads?: boolean
13528
+
13523
13529
  checksVoidReturn?: (boolean | {
13524
13530
 
13525
13531
  arguments?: boolean
@@ -13591,6 +13597,7 @@ type TsNoRestrictedImports = ((string | {
13591
13597
  }])
13592
13598
  // ----- ts/no-restricted-types -----
13593
13599
  type TsNoRestrictedTypes = []|[{
13600
+
13594
13601
  types?: {
13595
13602
  [k: string]: (true | string | {
13596
13603
 
@@ -13696,6 +13703,7 @@ type TsNoUnusedVars = []|[(("all" | "local") | {
13696
13703
  })]
13697
13704
  // ----- ts/no-use-before-define -----
13698
13705
  type TsNoUseBeforeDefine = []|[("nofunc" | {
13706
+
13699
13707
  allowNamedExports?: boolean
13700
13708
 
13701
13709
  classes?: boolean
@@ -13755,7 +13763,9 @@ type TsPreferDestructuring = []|[({
13755
13763
  array?: boolean
13756
13764
  object?: boolean
13757
13765
  }), {
13766
+
13758
13767
  enforceForDeclarationWithTypeAnnotation?: boolean
13768
+
13759
13769
  enforceForRenamedProperties?: boolean
13760
13770
  [k: string]: unknown | undefined
13761
13771
  }]
@@ -13774,9 +13784,13 @@ type TsPreferNullishCoalescing = []|[{
13774
13784
  ignoreMixedLogicalExpressions?: boolean
13775
13785
 
13776
13786
  ignorePrimitives?: ({
13787
+
13777
13788
  bigint?: boolean
13789
+
13778
13790
  boolean?: boolean
13791
+
13779
13792
  number?: boolean
13793
+
13780
13794
  string?: boolean
13781
13795
  [k: string]: unknown | undefined
13782
13796
  } | true)
@@ -13933,6 +13947,7 @@ type TsStrictBooleanExpressions = []|[{
13933
13947
  allowNullableString?: boolean
13934
13948
 
13935
13949
  allowNumber?: boolean
13950
+
13936
13951
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
13937
13952
 
13938
13953
  allowString?: boolean
package/dist/index.d.ts CHANGED
@@ -1033,6 +1033,7 @@ interface RuleOptions {
1033
1033
  */
1034
1034
  'jsdoc/no-missing-syntax'?: Linter.RuleEntry<JsdocNoMissingSyntax>
1035
1035
  /**
1036
+ * Prevents use of multiple asterisks at the beginning of lines.
1036
1037
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-multi-asterisks.md#repos-sticky-header
1037
1038
  */
1038
1039
  'jsdoc/no-multi-asterisks'?: Linter.RuleEntry<JsdocNoMultiAsterisks>
@@ -1177,6 +1178,7 @@ interface RuleOptions {
1177
1178
  */
1178
1179
  'jsdoc/tag-lines'?: Linter.RuleEntry<JsdocTagLines>
1179
1180
  /**
1181
+ * Auto-escape certain characters that are input within block and tag descriptions.
1180
1182
  * @see https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/text-escaping.md#repos-sticky-header
1181
1183
  */
1182
1184
  'jsdoc/text-escaping'?: Linter.RuleEntry<JsdocTextEscaping>
@@ -5331,7 +5333,7 @@ interface RuleOptions {
5331
5333
  */
5332
5334
  'ts/no-array-delete'?: Linter.RuleEntry<[]>
5333
5335
  /**
5334
- * Require `.toString()` to only be called on objects which provide useful information when stringified
5336
+ * Require `.toString()` and `.toLocaleString()` to only be called on objects which provide useful information when stringified
5335
5337
  * @see https://typescript-eslint.io/rules/no-base-to-string
5336
5338
  */
5337
5339
  'ts/no-base-to-string'?: Linter.RuleEntry<TsNoBaseToString>
@@ -12998,9 +13000,11 @@ type TsExplicitFunctionReturnType = []|[{
12998
13000
  }]
12999
13001
  // ----- ts/explicit-member-accessibility -----
13000
13002
  type TsExplicitMemberAccessibility = []|[{
13003
+
13001
13004
  accessibility?: ("explicit" | "no-public" | "off")
13002
13005
 
13003
13006
  ignoredMethodNames?: string[]
13007
+
13004
13008
  overrides?: {
13005
13009
  accessors?: ("explicit" | "no-public" | "off")
13006
13010
  constructors?: ("explicit" | "no-public" | "off")
@@ -13517,9 +13521,11 @@ type TsNoMeaninglessVoidOperator = []|[{
13517
13521
  }]
13518
13522
  // ----- ts/no-misused-promises -----
13519
13523
  type TsNoMisusedPromises = []|[{
13524
+
13520
13525
  checksConditionals?: boolean
13521
13526
 
13522
13527
  checksSpreads?: boolean
13528
+
13523
13529
  checksVoidReturn?: (boolean | {
13524
13530
 
13525
13531
  arguments?: boolean
@@ -13591,6 +13597,7 @@ type TsNoRestrictedImports = ((string | {
13591
13597
  }])
13592
13598
  // ----- ts/no-restricted-types -----
13593
13599
  type TsNoRestrictedTypes = []|[{
13600
+
13594
13601
  types?: {
13595
13602
  [k: string]: (true | string | {
13596
13603
 
@@ -13696,6 +13703,7 @@ type TsNoUnusedVars = []|[(("all" | "local") | {
13696
13703
  })]
13697
13704
  // ----- ts/no-use-before-define -----
13698
13705
  type TsNoUseBeforeDefine = []|[("nofunc" | {
13706
+
13699
13707
  allowNamedExports?: boolean
13700
13708
 
13701
13709
  classes?: boolean
@@ -13755,7 +13763,9 @@ type TsPreferDestructuring = []|[({
13755
13763
  array?: boolean
13756
13764
  object?: boolean
13757
13765
  }), {
13766
+
13758
13767
  enforceForDeclarationWithTypeAnnotation?: boolean
13768
+
13759
13769
  enforceForRenamedProperties?: boolean
13760
13770
  [k: string]: unknown | undefined
13761
13771
  }]
@@ -13774,9 +13784,13 @@ type TsPreferNullishCoalescing = []|[{
13774
13784
  ignoreMixedLogicalExpressions?: boolean
13775
13785
 
13776
13786
  ignorePrimitives?: ({
13787
+
13777
13788
  bigint?: boolean
13789
+
13778
13790
  boolean?: boolean
13791
+
13779
13792
  number?: boolean
13793
+
13780
13794
  string?: boolean
13781
13795
  [k: string]: unknown | undefined
13782
13796
  } | true)
@@ -13933,6 +13947,7 @@ type TsStrictBooleanExpressions = []|[{
13933
13947
  allowNullableString?: boolean
13934
13948
 
13935
13949
  allowNumber?: boolean
13950
+
13936
13951
  allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing?: boolean
13937
13952
 
13938
13953
  allowString?: boolean
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vinicunca/eslint-config",
3
3
  "type": "module",
4
- "version": "2.11.8",
4
+ "version": "2.11.10",
5
5
  "description": "Vinicunca ESLint config",
6
6
  "author": {
7
7
  "name": "praburangki",
@@ -106,12 +106,12 @@
106
106
  "dependencies": {
107
107
  "@antfu/install-pkg": "^0.4.1",
108
108
  "@clack/prompts": "^0.7.0",
109
- "@eslint-community/eslint-plugin-eslint-comments": "^4.4.0",
110
- "@eslint/markdown": "^6.2.0",
109
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
110
+ "@eslint/markdown": "^6.2.1",
111
111
  "@stylistic/eslint-plugin": "^2.9.0",
112
- "@typescript-eslint/eslint-plugin": "^8.9.0",
113
- "@typescript-eslint/parser": "^8.9.0",
114
- "@unocss/eslint-plugin": "^0.63.4",
112
+ "@typescript-eslint/eslint-plugin": "^8.11.0",
113
+ "@typescript-eslint/parser": "^8.11.0",
114
+ "@unocss/eslint-plugin": "^0.63.6",
115
115
  "@vitest/eslint-plugin": "^1.1.7",
116
116
  "eslint-config-flat-gitignore": "^0.3.0",
117
117
  "eslint-flat-config-utils": "^0.4.0",
@@ -120,17 +120,17 @@
120
120
  "eslint-plugin-command": "^0.2.6",
121
121
  "eslint-plugin-format": "^0.1.2",
122
122
  "eslint-plugin-import-x": "^4.3.1",
123
- "eslint-plugin-jsdoc": "^50.4.1",
123
+ "eslint-plugin-jsdoc": "^50.4.3",
124
124
  "eslint-plugin-jsonc": "^2.16.0",
125
125
  "eslint-plugin-n": "^17.11.1",
126
126
  "eslint-plugin-no-only-tests": "^3.3.0",
127
- "eslint-plugin-perfectionist": "^3.9.0",
127
+ "eslint-plugin-perfectionist": "^3.9.1",
128
128
  "eslint-plugin-regexp": "^2.6.0",
129
129
  "eslint-plugin-sonarjs": "^1.0.4",
130
130
  "eslint-plugin-toml": "^0.11.1",
131
131
  "eslint-plugin-unicorn": "^56.0.0",
132
132
  "eslint-plugin-unused-imports": "^4.1.4",
133
- "eslint-plugin-vue": "^9.29.0",
133
+ "eslint-plugin-vue": "^9.29.1",
134
134
  "eslint-plugin-yml": "^1.14.0",
135
135
  "eslint-processor-vue-blocks": "^0.1.2",
136
136
  "globals": "^15.11.0",
@@ -145,6 +145,7 @@
145
145
  "test": "vitest",
146
146
  "build": "pnpm run typegen && tsup --format esm,cjs --clean --dts",
147
147
  "stub": "tsup --format esm --clean",
148
- "typegen": "tsx scripts/typegen.ts"
148
+ "typegen": "tsx scripts/typegen.ts",
149
+ "publish:ci": "pnpm publish --access public --no-git-checks"
149
150
  }
150
151
  }