@vinicunca/eslint-config 3.21.0 → 3.22.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 (3) hide show
  1. package/dist/index.d.ts +257 -255
  2. package/dist/index.js +5 -4
  3. package/package.json +16 -16
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import globals from "globals";
15
15
  import { mergeProcessors, processorPassThrough } from "eslint-merge-processors";
16
16
  import { configs } from "eslint-plugin-regexp";
17
17
 
18
- //#region ../node_modules/.pnpm/@vinicunca+perkakas@1.5.0/node_modules/@vinicunca/perkakas/dist/chunk-6AFNPQW2.js
18
+ //#region ../node_modules/.pnpm/@vinicunca+perkakas@1.7.1/node_modules/@vinicunca/perkakas/dist/chunk-6AFNPQW2.js
19
19
  function r(o) {
20
20
  if (typeof o != "object" || o === null) return !1;
21
21
  let e$2 = Object.getPrototypeOf(o);
@@ -23,13 +23,13 @@ function r(o) {
23
23
  }
24
24
 
25
25
  //#endregion
26
- //#region ../node_modules/.pnpm/@vinicunca+perkakas@1.5.0/node_modules/@vinicunca/perkakas/dist/chunk-Q2HW4RVT.js
26
+ //#region ../node_modules/.pnpm/@vinicunca+perkakas@1.7.1/node_modules/@vinicunca/perkakas/dist/chunk-Q2HW4RVT.js
27
27
  function e$1(r$1) {
28
28
  return typeof r$1 == "number" && !Number.isNaN(r$1);
29
29
  }
30
30
 
31
31
  //#endregion
32
- //#region ../node_modules/.pnpm/@vinicunca+perkakas@1.5.0/node_modules/@vinicunca/perkakas/dist/chunk-AZUJCNUP.js
32
+ //#region ../node_modules/.pnpm/@vinicunca+perkakas@1.7.1/node_modules/@vinicunca/perkakas/dist/chunk-AZUJCNUP.js
33
33
  function e(o) {
34
34
  return typeof o == "boolean";
35
35
  }
@@ -1891,11 +1891,12 @@ async function unicorn(options = {}) {
1891
1891
  //#endregion
1892
1892
  //#region src/configs/unocss.ts
1893
1893
  async function unocss(options = {}) {
1894
- const { attributify = false, strict = false } = options;
1894
+ const { attributify = false, strict = false, configPath } = options;
1895
1895
  const [pluginUnoCSS] = await Promise.all([interopDefault(import("@unocss/eslint-plugin"))]);
1896
1896
  return [{
1897
1897
  name: "vinicunca/unocss",
1898
1898
  plugins: { unocss: pluginUnoCSS },
1899
+ settings: { unocss: { configPath } },
1899
1900
  rules: {
1900
1901
  "unocss/order": WARN,
1901
1902
  ...attributify ? { "unocss/order-attributify": WARN } : {},
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vinicunca/eslint-config",
3
3
  "type": "module",
4
- "version": "3.21.0",
4
+ "version": "3.22.0",
5
5
  "description": "Vinicunca ESLint config",
6
6
  "author": {
7
7
  "name": "praburangki",
@@ -112,38 +112,38 @@
112
112
  "@antfu/install-pkg": "^1.1.0",
113
113
  "@clack/prompts": "^0.11.0",
114
114
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
115
- "@eslint/markdown": "^7.1.0",
116
- "@stylistic/eslint-plugin": "^5.2.2",
117
- "@typescript-eslint/eslint-plugin": "^8.39.0",
118
- "@typescript-eslint/parser": "^8.39.0",
119
- "@unocss/eslint-plugin": "^66.4.1",
120
- "@vitest/eslint-plugin": "^1.2.7",
115
+ "@eslint/markdown": "^7.2.0",
116
+ "@stylistic/eslint-plugin": "^5.2.3",
117
+ "@typescript-eslint/eslint-plugin": "^8.41.0",
118
+ "@typescript-eslint/parser": "^8.41.0",
119
+ "@unocss/eslint-plugin": "^66.4.2",
120
+ "@vitest/eslint-plugin": "^1.3.4",
121
121
  "eslint-config-flat-gitignore": "^2.1.0",
122
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
- "eslint-plugin-command": "^3.2.1",
125
+ "eslint-plugin-command": "^3.3.1",
126
126
  "eslint-plugin-format": "^1.0.1",
127
127
  "eslint-plugin-import-lite": "^0.3.0",
128
- "eslint-plugin-jsdoc": "^52.0.3",
128
+ "eslint-plugin-jsdoc": "^54.1.1",
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
- "eslint-plugin-pnpm": "^1.1.0",
134
- "eslint-plugin-regexp": "^2.9.1",
135
- "eslint-plugin-sonarjs": "^3.0.2",
133
+ "eslint-plugin-pnpm": "^1.1.1",
134
+ "eslint-plugin-regexp": "^2.10.0",
135
+ "eslint-plugin-sonarjs": "^3.0.5",
136
136
  "eslint-plugin-toml": "^0.12.0",
137
137
  "eslint-plugin-unicorn": "^60.0.0",
138
- "eslint-plugin-unused-imports": "^4.1.4",
138
+ "eslint-plugin-unused-imports": "^4.2.0",
139
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
- "globals": "^16.2.0",
142
+ "globals": "^16.3.0",
143
143
  "jsonc-eslint-parser": "^2.4.0",
144
- "local-pkg": "^1.1.1",
144
+ "local-pkg": "^1.1.2",
145
145
  "toml-eslint-parser": "^0.10.0",
146
- "vue-eslint-parser": "^10.1.3",
146
+ "vue-eslint-parser": "^10.2.0",
147
147
  "yaml-eslint-parser": "^1.3.0"
148
148
  },
149
149
  "scripts": {