@vinicunca/eslint-config 2.12.3 → 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
@@ -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
  }
package/dist/index.js CHANGED
@@ -1222,16 +1222,37 @@ async function perfectionist() {
1222
1222
  },
1223
1223
  rules: {
1224
1224
  ...default5.configs["recommended-natural"].rules,
1225
+ "perfectionist/sort-exports": [
1226
+ ERROR,
1227
+ { order: "asc", type: "natural" }
1228
+ ],
1225
1229
  "perfectionist/sort-imports": [
1226
1230
  ERROR,
1227
1231
  {
1228
- internalPattern: [
1229
- "~/**",
1230
- "~~/**"
1232
+ groups: [
1233
+ "type",
1234
+ ["parent-type", "sibling-type", "index-type"],
1235
+ "builtin",
1236
+ "external",
1237
+ ["internal", "internal-type"],
1238
+ ["parent", "sibling", "index"],
1239
+ "side-effect",
1240
+ "object",
1241
+ "unknown"
1231
1242
  ],
1243
+ newlinesBetween: "ignore",
1244
+ order: "asc",
1232
1245
  type: "natural"
1233
1246
  }
1234
1247
  ],
1248
+ "perfectionist/sort-named-exports": [
1249
+ ERROR,
1250
+ { order: "asc", type: "natural" }
1251
+ ],
1252
+ "perfectionist/sort-named-imports": [
1253
+ ERROR,
1254
+ { order: "asc", type: "natural" }
1255
+ ],
1235
1256
  "perfectionist/sort-vue-attributes": [OFF]
1236
1257
  }
1237
1258
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vinicunca/eslint-config",
3
3
  "type": "module",
4
- "version": "2.12.3",
4
+ "version": "2.13.0",
5
5
  "description": "Vinicunca ESLint config",
6
6
  "author": {
7
7
  "name": "praburangki",