@vinicunca/eslint-config 3.20.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 +18 -1
  2. package/package.json +7 -7
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
@@ -16705,6 +16715,12 @@ type UnocssEnforceClassCompile = [] | [{
16705
16715
  prefix?: string;
16706
16716
  enableFix?: boolean;
16707
16717
  }];
16718
+ // ----- unocss/order -----
16719
+ type UnocssOrder = [] | [{
16720
+ unoFunctions?: string[];
16721
+ unoVariables?: string[];
16722
+ [k: string]: unknown | undefined;
16723
+ }];
16708
16724
  // ----- unused-imports/no-unused-imports -----
16709
16725
  type UnusedImportsNoUnusedImports = [] | [(("all" | "local") | {
16710
16726
  args?: ("all" | "after-used" | "none");
@@ -17457,6 +17473,7 @@ type VueNoDeprecatedRouterLinkTagProp = [] | [{
17457
17473
  // ----- vue/no-deprecated-slot-attribute -----
17458
17474
  type VueNoDeprecatedSlotAttribute = [] | [{
17459
17475
  ignore?: string[];
17476
+ ignoreParents?: string[];
17460
17477
  }];
17461
17478
  // ----- vue/no-dupe-keys -----
17462
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.20.0",
4
+ "version": "3.21.0",
5
5
  "description": "Vinicunca ESLint config",
6
6
  "author": {
7
7
  "name": "praburangki",
@@ -114,9 +114,9 @@
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
122
  "eslint-flat-config-utils": "^2.1.1",
@@ -125,18 +125,18 @@
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": "^52.0.0",
128
+ "eslint-plugin-jsdoc": "^52.0.3",
129
129
  "eslint-plugin-jsonc": "^2.20.1",
130
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",