@so1ve/eslint-config 3.10.0 → 3.11.1

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 (2) hide show
  1. package/dist/index.js +6 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1433,6 +1433,11 @@ async function vue({ overrides, typescript: typescript$1 } = {}) {
1433
1433
  "table",
1434
1434
  "time"
1435
1435
  ] }],
1436
+ "vue/v-bind-style": [
1437
+ "error",
1438
+ "shorthand",
1439
+ { sameNameShorthand: "always" }
1440
+ ],
1436
1441
  "vue/v-for-delimiter-style": ["error", "in"],
1437
1442
  "vue/attributes-order": ["error", {
1438
1443
  order: [
@@ -1567,6 +1572,7 @@ function so1ve(options = {}, ...userConfigs) {
1567
1572
  overrides: getOverrides(options, "solid"),
1568
1573
  typescript: !!enableTypeScript
1569
1574
  }));
1575
+ if (options.formatting ?? true) configs.push(formatting(options));
1570
1576
  if (options.jsonc ?? true) configs.push(jsonc());
1571
1577
  if (options.toml ?? true) configs.push(toml({ overrides: getOverrides(options, "toml") }));
1572
1578
  if (options.yaml ?? true) configs.push(yaml({ overrides: getOverrides(options, "yaml") }));
@@ -1574,7 +1580,6 @@ function so1ve(options = {}, ...userConfigs) {
1574
1580
  componentExts,
1575
1581
  overrides: getOverrides(options, "mdx")
1576
1582
  }));
1577
- if (options.formatting ?? true) configs.push(formatting(options));
1578
1583
  const fusedConfig = flatConfigProps.reduce((acc, key) => {
1579
1584
  if (key in options) acc[key] = options[key];
1580
1585
  return acc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@so1ve/eslint-config",
3
- "version": "3.10.0",
3
+ "version": "3.11.1",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
5
5
  "type": "module",
6
6
  "description": "Ray's eslint config.",
@@ -74,8 +74,8 @@
74
74
  "typescript-eslint": "^8.46.1",
75
75
  "vue-eslint-parser": "^10.2.0",
76
76
  "yaml-eslint-parser": "^1.3.0",
77
- "@so1ve/eslint-plugin": "3.10.0",
78
- "@so1ve/eslint-plugin-sort-imports": "3.10.0"
77
+ "@so1ve/eslint-plugin": "3.11.1",
78
+ "@so1ve/eslint-plugin-sort-imports": "3.11.1"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "eslint": "^9.37.0",