@so1ve/eslint-config 3.11.0 → 3.11.2

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 +3 -2
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -392,7 +392,8 @@ async function html() {
392
392
  "html/no-trailing-spaces": "off",
393
393
  "html/require-closing-tags": "off",
394
394
  "html/no-extra-spacing-attrs": "off",
395
- "html/quotes": "off"
395
+ "html/quotes": "off",
396
+ "html/attrs-newline": "off"
396
397
  }
397
398
  }];
398
399
  }
@@ -1572,6 +1573,7 @@ function so1ve(options = {}, ...userConfigs) {
1572
1573
  overrides: getOverrides(options, "solid"),
1573
1574
  typescript: !!enableTypeScript
1574
1575
  }));
1576
+ if (options.formatting ?? true) configs.push(formatting(options));
1575
1577
  if (options.jsonc ?? true) configs.push(jsonc());
1576
1578
  if (options.toml ?? true) configs.push(toml({ overrides: getOverrides(options, "toml") }));
1577
1579
  if (options.yaml ?? true) configs.push(yaml({ overrides: getOverrides(options, "yaml") }));
@@ -1579,7 +1581,6 @@ function so1ve(options = {}, ...userConfigs) {
1579
1581
  componentExts,
1580
1582
  overrides: getOverrides(options, "mdx")
1581
1583
  }));
1582
- if (options.formatting ?? true) configs.push(formatting(options));
1583
1584
  const fusedConfig = flatConfigProps.reduce((acc, key) => {
1584
1585
  if (key in options) acc[key] = options[key];
1585
1586
  return acc;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@so1ve/eslint-config",
3
- "version": "3.11.0",
3
+ "version": "3.11.2",
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-sort-imports": "3.11.0",
78
- "@so1ve/eslint-plugin": "3.11.0"
77
+ "@so1ve/eslint-plugin-sort-imports": "3.11.2",
78
+ "@so1ve/eslint-plugin": "3.11.2"
79
79
  },
80
80
  "peerDependencies": {
81
81
  "eslint": "^9.37.0",