@vinicunca/eslint-config 2.0.7 → 2.0.11

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.cjs CHANGED
@@ -145,7 +145,7 @@ function comments() {
145
145
  ];
146
146
  }
147
147
 
148
- // ../node_modules/.pnpm/@vinicunca+perkakas@0.0.10/node_modules/@vinicunca/perkakas/dist/index.js
148
+ // ../node_modules/.pnpm/@vinicunca+perkakas@0.0.11/node_modules/@vinicunca/perkakas/dist/index.js
149
149
  function purry(fn, args, lazy) {
150
150
  const diff = fn.length - args.length;
151
151
  const arrayArgs = Array.from(args);
@@ -1137,6 +1137,10 @@ var GLOB_EXCLUDE = [
1137
1137
  "**/output",
1138
1138
  "**/coverage",
1139
1139
  "**/temp",
1140
+ "**/.temp",
1141
+ "**/tmp",
1142
+ "**/.tmp",
1143
+ "**/.history",
1140
1144
  "**/.vitepress/cache",
1141
1145
  "**/.nuxt",
1142
1146
  "**/.next",
@@ -1487,6 +1491,28 @@ function javascript(options = {}) {
1487
1491
  "yoda": [ERROR, NEVER],
1488
1492
  ...import_eslint_plugin_vinicunca.default.configs.recommended.rules,
1489
1493
  ...import_eslint_plugin_perfectionist.default.configs["recommended-natural"].rules,
1494
+ "perfectionist/sort-imports": [
1495
+ ERROR,
1496
+ {
1497
+ "groups": [
1498
+ "type",
1499
+ ["builtin", "external"],
1500
+ "internal-type",
1501
+ "internal",
1502
+ ["parent-type", "sibling-type", "index-type"],
1503
+ ["parent", "sibling", "index"],
1504
+ "object",
1505
+ "unknown"
1506
+ ],
1507
+ "internal-pattern": [
1508
+ "~/**",
1509
+ "~~/**"
1510
+ ],
1511
+ "newlines-between": "always",
1512
+ "order": "asc",
1513
+ "type": "natural"
1514
+ }
1515
+ ],
1490
1516
  "perfectionist/sort-vue-attributes": [OFF],
1491
1517
  ...overrides
1492
1518
  }
package/dist/index.d.cts CHANGED
@@ -240,4 +240,4 @@ declare const GLOB_YAML = "**/*.y?(a)ml";
240
240
  declare const GLOB_MARKDOWN = "**/*.md";
241
241
  declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
242
242
 
243
- export { ConfigItem, GLOB_EXCLUDE, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_SRC, GLOB_SRC_EXT, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsHasTypeScript, OptionsIgnores, OptionsIsInEditor, OptionsOverrides, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, Rules, combineConfigs, comments, vinicuncaESLint as default, ignores, imports, javascript, jsdoc, jsonc, markdown, node, react, renameRules, sortPackageJson, sortTsconfig, stylistic, test, typescript, unicorn, vinicuncaESLint, vue, yaml };
243
+ export { type ConfigItem, GLOB_EXCLUDE, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_SRC, GLOB_SRC_EXT, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type Rules, combineConfigs, comments, vinicuncaESLint as default, ignores, imports, javascript, jsdoc, jsonc, markdown, node, react, renameRules, sortPackageJson, sortTsconfig, stylistic, test, typescript, unicorn, vinicuncaESLint, vue, yaml };
package/dist/index.d.ts CHANGED
@@ -240,4 +240,4 @@ declare const GLOB_YAML = "**/*.y?(a)ml";
240
240
  declare const GLOB_MARKDOWN = "**/*.md";
241
241
  declare const GLOB_MARKDOWN_CODE = "**/*.md/**/*.?([cm])[jt]s?(x)";
242
242
 
243
- export { ConfigItem, GLOB_EXCLUDE, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_SRC, GLOB_SRC_EXT, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, OptionsComponentExts, OptionsConfig, OptionsHasTypeScript, OptionsIgnores, OptionsIsInEditor, OptionsOverrides, OptionsTypeScriptParserOptions, OptionsTypeScriptWithTypes, Rules, combineConfigs, comments, vinicuncaESLint as default, ignores, imports, javascript, jsdoc, jsonc, markdown, node, react, renameRules, sortPackageJson, sortTsconfig, stylistic, test, typescript, unicorn, vinicuncaESLint, vue, yaml };
243
+ export { type ConfigItem, GLOB_EXCLUDE, GLOB_JS, GLOB_JSON, GLOB_JSON5, GLOB_JSONC, GLOB_JSX, GLOB_MARKDOWN, GLOB_MARKDOWN_CODE, GLOB_SRC, GLOB_SRC_EXT, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_VUE, GLOB_YAML, type OptionsComponentExts, type OptionsConfig, type OptionsHasTypeScript, type OptionsIgnores, type OptionsIsInEditor, type OptionsOverrides, type OptionsTypeScriptParserOptions, type OptionsTypeScriptWithTypes, type Rules, combineConfigs, comments, vinicuncaESLint as default, ignores, imports, javascript, jsdoc, jsonc, markdown, node, react, renameRules, sortPackageJson, sortTsconfig, stylistic, test, typescript, unicorn, vinicuncaESLint, vue, yaml };
package/dist/index.js CHANGED
@@ -52,7 +52,7 @@ function comments() {
52
52
  ];
53
53
  }
54
54
 
55
- // ../node_modules/.pnpm/@vinicunca+perkakas@0.0.10/node_modules/@vinicunca/perkakas/dist/index.js
55
+ // ../node_modules/.pnpm/@vinicunca+perkakas@0.0.11/node_modules/@vinicunca/perkakas/dist/index.js
56
56
  function purry(fn, args, lazy) {
57
57
  const diff = fn.length - args.length;
58
58
  const arrayArgs = Array.from(args);
@@ -1044,6 +1044,10 @@ var GLOB_EXCLUDE = [
1044
1044
  "**/output",
1045
1045
  "**/coverage",
1046
1046
  "**/temp",
1047
+ "**/.temp",
1048
+ "**/tmp",
1049
+ "**/.tmp",
1050
+ "**/.history",
1047
1051
  "**/.vitepress/cache",
1048
1052
  "**/.nuxt",
1049
1053
  "**/.next",
@@ -1394,6 +1398,28 @@ function javascript(options = {}) {
1394
1398
  "yoda": [ERROR, NEVER],
1395
1399
  ...default4.configs.recommended.rules,
1396
1400
  ...default10.configs["recommended-natural"].rules,
1401
+ "perfectionist/sort-imports": [
1402
+ ERROR,
1403
+ {
1404
+ "groups": [
1405
+ "type",
1406
+ ["builtin", "external"],
1407
+ "internal-type",
1408
+ "internal",
1409
+ ["parent-type", "sibling-type", "index-type"],
1410
+ ["parent", "sibling", "index"],
1411
+ "object",
1412
+ "unknown"
1413
+ ],
1414
+ "internal-pattern": [
1415
+ "~/**",
1416
+ "~~/**"
1417
+ ],
1418
+ "newlines-between": "always",
1419
+ "order": "asc",
1420
+ "type": "natural"
1421
+ }
1422
+ ],
1397
1423
  "perfectionist/sort-vue-attributes": [OFF],
1398
1424
  ...overrides
1399
1425
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vinicunca/eslint-config",
3
3
  "type": "module",
4
- "version": "2.0.7",
4
+ "version": "2.0.11",
5
5
  "description": "Vinicunca ESLint config",
6
6
  "author": {
7
7
  "name": "praburangki",
@@ -55,27 +55,27 @@
55
55
  "node": ">=18.0.0"
56
56
  },
57
57
  "peerDependencies": {
58
- "eslint": ">=8.51.0"
58
+ "eslint": ">=8.53.0"
59
59
  },
60
60
  "dependencies": {
61
- "@antfu/eslint-define-config": "^1.23.0-1",
62
- "@stylistic/eslint-plugin": "^0.1.1",
63
- "@typescript-eslint/eslint-plugin": "^6.9.0",
64
- "@typescript-eslint/parser": "^6.9.0",
65
- "@vinicunca/eslint-plugin-vinicunca": "^1.0.0",
61
+ "@antfu/eslint-define-config": "1.23.0-2",
62
+ "@stylistic/eslint-plugin": "^1.3.1",
63
+ "@typescript-eslint/eslint-plugin": "^6.11.0",
64
+ "@typescript-eslint/parser": "^6.11.0",
65
+ "@vinicunca/eslint-plugin-vinicunca": "^1.0.5",
66
66
  "eslint-plugin-eslint-comments": "^3.2.0",
67
67
  "eslint-plugin-i": "^2.29.0",
68
- "eslint-plugin-jsdoc": "^46.8.2",
68
+ "eslint-plugin-jsdoc": "^46.9.0",
69
69
  "eslint-plugin-jsonc": "^2.10.0",
70
70
  "eslint-plugin-markdown": "^3.0.1",
71
- "eslint-plugin-n": "^16.2.0",
71
+ "eslint-plugin-n": "^16.3.1",
72
72
  "eslint-plugin-no-only-tests": "^3.1.0",
73
- "eslint-plugin-perfectionist": "^2.2.0",
73
+ "eslint-plugin-perfectionist": "^2.4.0",
74
74
  "eslint-plugin-react": "^7.33.2",
75
75
  "eslint-plugin-react-hooks": "^4.6.0",
76
76
  "eslint-plugin-unicorn": "^49.0.0",
77
77
  "eslint-plugin-unused-imports": "^3.0.0",
78
- "eslint-plugin-vitest": "^0.3.8",
78
+ "eslint-plugin-vitest": "^0.3.9",
79
79
  "eslint-plugin-vue": "^9.18.1",
80
80
  "eslint-plugin-yml": "^1.10.0",
81
81
  "globals": "^13.23.0",
@@ -86,11 +86,11 @@
86
86
  "yaml-eslint-parser": "^1.2.2"
87
87
  },
88
88
  "devDependencies": {
89
- "@eslint-stylistic/metadata": "^0.1.2",
90
- "@types/fs-extra": "^11.0.3",
89
+ "@eslint-stylistic/metadata": "^1.3.1",
90
+ "@types/fs-extra": "^11.0.4",
91
91
  "fs-extra": "^11.1.1",
92
92
  "react": "^18.2.0",
93
- "tsup": "^7.2.0"
93
+ "tsup": "^7.3.0"
94
94
  },
95
95
  "scripts": {
96
96
  "stub": "tsup src/index.ts --format esm",