@vinicunca/eslint-config 3.19.0 → 3.21.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +23 -2
  2. package/package.json +9 -9
package/dist/index.d.ts CHANGED
@@ -7817,7 +7817,7 @@ interface RuleOptions {
7817
7817
  * Order of UnoCSS utilities in class attribute
7818
7818
  * @see https://unocss.dev/integrations/eslint#rules
7819
7819
  */
7820
- 'unocss/order'?: Linter.RuleEntry<[]>;
7820
+ 'unocss/order'?: Linter.RuleEntry<UnocssOrder>;
7821
7821
  /**
7822
7822
  * Order of UnoCSS attributes
7823
7823
  * @see https://unocss.dev/integrations/eslint#rules
@@ -8383,6 +8383,16 @@ interface RuleOptions {
8383
8383
  * @see https://eslint.vuejs.org/rules/no-mutating-props.html
8384
8384
  */
8385
8385
  'vue/no-mutating-props'?: Linter.RuleEntry<VueNoMutatingProps>;
8386
+ /**
8387
+ * Disallow negated conditions in `<template>`
8388
+ * @see https://eslint.vuejs.org/rules/no-negated-condition.html
8389
+ */
8390
+ 'vue/no-negated-condition'?: Linter.RuleEntry<[]>;
8391
+ /**
8392
+ * disallow negated conditions in v-if/v-else
8393
+ * @see https://eslint.vuejs.org/rules/no-negated-v-if-condition.html
8394
+ */
8395
+ 'vue/no-negated-v-if-condition'?: Linter.RuleEntry<[]>;
8386
8396
  /**
8387
8397
  * disallow parsing errors in `<template>`
8388
8398
  * @see https://eslint.vuejs.org/rules/no-parsing-error.html
@@ -9248,6 +9258,7 @@ type AccessorPairs = [] | [{
9248
9258
  getWithoutSet?: boolean;
9249
9259
  setWithoutGet?: boolean;
9250
9260
  enforceForClassMembers?: boolean;
9261
+ enforceForTSTypes?: boolean;
9251
9262
  }];
9252
9263
  // ----- antfu/consistent-chaining -----
9253
9264
  type AntfuConsistentChaining = [] | [{
@@ -9513,7 +9524,9 @@ type GetterReturn = [] | [{
9513
9524
  allowImplicit?: boolean;
9514
9525
  }];
9515
9526
  // ----- grouped-accessor-pairs -----
9516
- type GroupedAccessorPairs = [] | [("anyOrder" | "getBeforeSet" | "setBeforeGet")];
9527
+ type GroupedAccessorPairs = [] | [("anyOrder" | "getBeforeSet" | "setBeforeGet")] | [("anyOrder" | "getBeforeSet" | "setBeforeGet"), {
9528
+ enforceForTSTypes?: boolean;
9529
+ }];
9517
9530
  // ----- handle-callback-err -----
9518
9531
  type HandleCallbackErr = [] | [string];
9519
9532
  // ----- id-blacklist -----
@@ -11245,6 +11258,7 @@ type NoUnusedVars = [] | [(("all" | "local") | {
11245
11258
  caughtErrorsIgnorePattern?: string;
11246
11259
  destructuredArrayIgnorePattern?: string;
11247
11260
  ignoreClassWithStaticInitBlock?: boolean;
11261
+ ignoreUsingDeclarations?: boolean;
11248
11262
  reportUsedIgnorePattern?: boolean;
11249
11263
  })];
11250
11264
  // ----- no-use-before-define -----
@@ -16701,6 +16715,12 @@ type UnocssEnforceClassCompile = [] | [{
16701
16715
  prefix?: string;
16702
16716
  enableFix?: boolean;
16703
16717
  }];
16718
+ // ----- unocss/order -----
16719
+ type UnocssOrder = [] | [{
16720
+ unoFunctions?: string[];
16721
+ unoVariables?: string[];
16722
+ [k: string]: unknown | undefined;
16723
+ }];
16704
16724
  // ----- unused-imports/no-unused-imports -----
16705
16725
  type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
16706
16726
  args?: ("all" | "after-used" | "none");
@@ -17453,6 +17473,7 @@ type VueNoDeprecatedRouterLinkTagProp = [] | [{
17453
17473
  // ----- vue/no-deprecated-slot-attribute -----
17454
17474
  type VueNoDeprecatedSlotAttribute = [] | [{
17455
17475
  ignore?: string[];
17476
+ ignoreParents?: string[];
17456
17477
  }];
17457
17478
  // ----- vue/no-dupe-keys -----
17458
17479
  type VueNoDupeKeys = [] | [{
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vinicunca/eslint-config",
3
3
  "type": "module",
4
- "version": "3.19.0",
4
+ "version": "3.21.0",
5
5
  "description": "Vinicunca ESLint config",
6
6
  "author": {
7
7
  "name": "praburangki",
@@ -114,29 +114,29 @@
114
114
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
115
115
  "@eslint/markdown": "^7.1.0",
116
116
  "@stylistic/eslint-plugin": "^5.2.2",
117
- "@typescript-eslint/eslint-plugin": "^8.38.0",
118
- "@typescript-eslint/parser": "^8.38.0",
119
- "@unocss/eslint-plugin": "^66.3.3",
117
+ "@typescript-eslint/eslint-plugin": "^8.39.0",
118
+ "@typescript-eslint/parser": "^8.39.0",
119
+ "@unocss/eslint-plugin": "^66.4.1",
120
120
  "@vitest/eslint-plugin": "^1.2.7",
121
121
  "eslint-config-flat-gitignore": "^2.1.0",
122
- "eslint-flat-config-utils": "^2.0.1",
122
+ "eslint-flat-config-utils": "^2.1.1",
123
123
  "eslint-merge-processors": "^2.0.0",
124
124
  "eslint-plugin-antfu": "^3.1.1",
125
125
  "eslint-plugin-command": "^3.2.1",
126
126
  "eslint-plugin-format": "^1.0.1",
127
127
  "eslint-plugin-import-lite": "^0.3.0",
128
- "eslint-plugin-jsdoc": "^51.4.1",
128
+ "eslint-plugin-jsdoc": "^52.0.3",
129
129
  "eslint-plugin-jsonc": "^2.20.1",
130
- "eslint-plugin-n": "^17.21.0",
130
+ "eslint-plugin-n": "^17.21.3",
131
131
  "eslint-plugin-no-only-tests": "^3.3.0",
132
132
  "eslint-plugin-perfectionist": "^4.15.0",
133
133
  "eslint-plugin-pnpm": "^1.1.0",
134
- "eslint-plugin-regexp": "^2.9.0",
134
+ "eslint-plugin-regexp": "^2.9.1",
135
135
  "eslint-plugin-sonarjs": "^3.0.2",
136
136
  "eslint-plugin-toml": "^0.12.0",
137
137
  "eslint-plugin-unicorn": "^60.0.0",
138
138
  "eslint-plugin-unused-imports": "^4.1.4",
139
- "eslint-plugin-vue": "^10.3.0",
139
+ "eslint-plugin-vue": "^10.4.0",
140
140
  "eslint-plugin-yml": "^1.18.0",
141
141
  "eslint-processor-vue-blocks": "^2.0.0",
142
142
  "globals": "^16.2.0",