@vinicunca/eslint-config 3.28.0 → 3.29.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.
package/dist/index.d.ts CHANGED
@@ -6170,7 +6170,7 @@ interface RuleOptions {
6170
6170
  */
6171
6171
  'template-tag-spacing'?: Linter.RuleEntry<TemplateTagSpacing>;
6172
6172
  /**
6173
- * require .spec test file pattern
6173
+ * require test file pattern
6174
6174
  * @see https://github.com/vitest-dev/eslint-plugin-vitest/blob/main/docs/rules/consistent-test-filename.md
6175
6175
  */
6176
6176
  'test/consistent-test-filename'?: Linter.RuleEntry<TestConsistentTestFilename>;
package/dist/index.js CHANGED
@@ -15,23 +15,23 @@ 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.7.1/node_modules/@vinicunca/perkakas/dist/chunk-6AFNPQW2.js
19
- function r(o) {
20
- if (typeof o != "object" || o === null) return !1;
21
- let e$2 = Object.getPrototypeOf(o);
22
- return e$2 === null || e$2 === Object.prototype;
18
+ //#region ../node_modules/.pnpm/@vinicunca+perkakas@1.8.0/node_modules/@vinicunca/perkakas/dist/is-boolean-CZKz4ij3.js
19
+ function e(e$3) {
20
+ return typeof e$3 == `boolean`;
23
21
  }
24
22
 
25
23
  //#endregion
26
- //#region ../node_modules/.pnpm/@vinicunca+perkakas@1.7.1/node_modules/@vinicunca/perkakas/dist/chunk-Q2HW4RVT.js
27
- function e$1(r$1) {
28
- return typeof r$1 == "number" && !Number.isNaN(r$1);
24
+ //#region ../node_modules/.pnpm/@vinicunca+perkakas@1.8.0/node_modules/@vinicunca/perkakas/dist/is-number-DRJ5I-tT.js
25
+ function e$2(e$3) {
26
+ return typeof e$3 == `number` && !Number.isNaN(e$3);
29
27
  }
30
28
 
31
29
  //#endregion
32
- //#region ../node_modules/.pnpm/@vinicunca+perkakas@1.7.1/node_modules/@vinicunca/perkakas/dist/chunk-AZUJCNUP.js
33
- function e(o) {
34
- return typeof o == "boolean";
30
+ //#region ../node_modules/.pnpm/@vinicunca+perkakas@1.8.0/node_modules/@vinicunca/perkakas/dist/is-plain-object-Cnx_x0Ei.js
31
+ function e$1(e$3) {
32
+ if (typeof e$3 != `object` || !e$3) return !1;
33
+ let t = Object.getPrototypeOf(e$3);
34
+ return t === null || t === Object.prototype;
35
35
  }
36
36
 
37
37
  //#endregion
@@ -409,7 +409,7 @@ async function formatters(options = {}, stylistic$1 = {}) {
409
409
  endOfLine: "auto",
410
410
  semi,
411
411
  singleQuote: quotes === "single",
412
- tabWidth: e$1(indent) ? indent : 2,
412
+ tabWidth: e$2(indent) ? indent : 2,
413
413
  trailingComma: "all",
414
414
  useTabs: indent === "tab"
415
415
  }, options.prettierOptions || {});
@@ -420,7 +420,7 @@ async function formatters(options = {}, stylistic$1 = {}) {
420
420
  xmlWhitespaceSensitivity: "ignore"
421
421
  };
422
422
  const dprintOptions = Object.assign({
423
- indentWidth: e$1(indent) ? indent : 2,
423
+ indentWidth: e$2(indent) ? indent : 2,
424
424
  quoteStyle: quotes === "single" ? "preferSingle" : "preferDouble",
425
425
  useTabs: indent === "tab"
426
426
  }, options.dprintOptions || {});
@@ -2235,15 +2235,15 @@ function vinicuncaESLint(options = {}, ...userConfigs) {
2235
2235
  }
2236
2236
  let stylisticOptions = {};
2237
2237
  if (options.stylistic === false) stylisticOptions = false;
2238
- else if (r(options.stylistic)) stylisticOptions = options.stylistic;
2238
+ else if (e$1(options.stylistic)) stylisticOptions = options.stylistic;
2239
2239
  else stylisticOptions = {};
2240
2240
  if (stylisticOptions && !("jsx" in stylisticOptions)) stylisticOptions.jsx = enableJsx;
2241
2241
  const configs$1 = [];
2242
- if (enableGitignore) if (!e(enableGitignore)) configs$1.push(interopDefault(import("eslint-config-flat-gitignore")).then((r$1) => [r$1({
2242
+ if (enableGitignore) if (!e(enableGitignore)) configs$1.push(interopDefault(import("eslint-config-flat-gitignore")).then((r) => [r({
2243
2243
  name: "vinicunca/gitignore",
2244
2244
  ...enableGitignore
2245
2245
  })]));
2246
- else configs$1.push(interopDefault(import("eslint-config-flat-gitignore")).then((r$1) => [r$1({
2246
+ else configs$1.push(interopDefault(import("eslint-config-flat-gitignore")).then((r) => [r({
2247
2247
  name: "vinicunca/gitignore",
2248
2248
  strict: false
2249
2249
  })]));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vinicunca/eslint-config",
3
3
  "type": "module",
4
- "version": "3.28.0",
4
+ "version": "3.29.0",
5
5
  "description": "Vinicunca ESLint config",
6
6
  "author": {
7
7
  "name": "praburangki",
@@ -111,10 +111,10 @@
111
111
  "@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
112
112
  "@eslint/markdown": "^7.4.0",
113
113
  "@stylistic/eslint-plugin": "^5.4.0",
114
- "@typescript-eslint/eslint-plugin": "^8.46.0",
115
- "@typescript-eslint/parser": "^8.46.0",
116
- "@unocss/eslint-plugin": "^66.5.3",
117
- "@vitest/eslint-plugin": "^1.3.16",
114
+ "@typescript-eslint/eslint-plugin": "^8.46.1",
115
+ "@typescript-eslint/parser": "^8.46.1",
116
+ "@unocss/eslint-plugin": "^66.5.4",
117
+ "@vitest/eslint-plugin": "^1.3.20",
118
118
  "eslint-config-flat-gitignore": "^2.1.0",
119
119
  "eslint-flat-config-utils": "^2.1.4",
120
120
  "eslint-merge-processors": "^2.0.0",
@@ -122,7 +122,7 @@
122
122
  "eslint-plugin-command": "^3.3.1",
123
123
  "eslint-plugin-format": "^1.0.2",
124
124
  "eslint-plugin-import-lite": "^0.3.0",
125
- "eslint-plugin-jsdoc": "^61.1.0",
125
+ "eslint-plugin-jsdoc": "^61.1.4",
126
126
  "eslint-plugin-jsonc": "^2.21.0",
127
127
  "eslint-plugin-n": "^17.23.1",
128
128
  "eslint-plugin-no-only-tests": "^3.3.0",
@@ -133,7 +133,7 @@
133
133
  "eslint-plugin-toml": "^0.12.0",
134
134
  "eslint-plugin-unicorn": "^61.0.2",
135
135
  "eslint-plugin-unused-imports": "^4.2.0",
136
- "eslint-plugin-vue": "^10.5.0",
136
+ "eslint-plugin-vue": "^10.5.1",
137
137
  "eslint-plugin-yml": "^1.19.0",
138
138
  "eslint-processor-vue-blocks": "^2.0.0",
139
139
  "globals": "^16.4.0",