@vinicunca/eslint-config 2.12.2 → 2.13.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.cjs CHANGED
@@ -112,7 +112,7 @@ __export(src_exports, {
112
112
  });
113
113
  module.exports = __toCommonJS(src_exports);
114
114
 
115
- // ../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.0_postcss@8.4.47_tsx@4.19.0_typescript@5.6.3_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js
115
+ // ../node_modules/.pnpm/tsup@8.3.5_jiti@2.4.0_postcss@8.4.49_tsx@4.19.0_typescript@5.6.3_yaml@2.5.0/node_modules/tsup/assets/cjs_shims.js
116
116
  var getImportMetaUrl = () => typeof document === "undefined" ? new URL(`file:${__filename}`).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
117
117
  var importMetaUrl = /* @__PURE__ */ getImportMetaUrl();
118
118
 
@@ -1340,16 +1340,37 @@ async function perfectionist() {
1340
1340
  },
1341
1341
  rules: {
1342
1342
  ...import_eslint_plugin_perfectionist.default.configs["recommended-natural"].rules,
1343
+ "perfectionist/sort-exports": [
1344
+ ERROR,
1345
+ { order: "asc", type: "natural" }
1346
+ ],
1343
1347
  "perfectionist/sort-imports": [
1344
1348
  ERROR,
1345
1349
  {
1346
- internalPattern: [
1347
- "~/**",
1348
- "~~/**"
1350
+ groups: [
1351
+ "type",
1352
+ ["parent-type", "sibling-type", "index-type"],
1353
+ "builtin",
1354
+ "external",
1355
+ ["internal", "internal-type"],
1356
+ ["parent", "sibling", "index"],
1357
+ "side-effect",
1358
+ "object",
1359
+ "unknown"
1349
1360
  ],
1361
+ newlinesBetween: "ignore",
1362
+ order: "asc",
1350
1363
  type: "natural"
1351
1364
  }
1352
1365
  ],
1366
+ "perfectionist/sort-named-exports": [
1367
+ ERROR,
1368
+ { order: "asc", type: "natural" }
1369
+ ],
1370
+ "perfectionist/sort-named-imports": [
1371
+ ERROR,
1372
+ { order: "asc", type: "natural" }
1373
+ ],
1353
1374
  "perfectionist/sort-vue-attributes": [OFF]
1354
1375
  }
1355
1376
  }