@jiakun-zhao/eslint-config 4.0.10 → 4.0.12

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.mjs +3 -3
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -373,7 +373,7 @@ function jsonc() {
373
373
  ];
374
374
  }
375
375
 
376
- const version = "4.0.10";
376
+ const version = "4.0.12";
377
377
 
378
378
  const name$3 = "astro-multi-top-level-element-indent";
379
379
  const _astroMultiTopLevelElementIndent = createRule({
@@ -746,7 +746,7 @@ function stylistic() {
746
746
  "style/jsx-pascal-case": "warn",
747
747
  "style/jsx-quotes": "warn",
748
748
  "style/jsx-self-closing-comp": ["warn", { component: true, html: false }],
749
- "style/jsx-tag-spacing": "warn",
749
+ "style/jsx-tag-spacing": ["warn", { afterOpening: "never", beforeClosing: "never", beforeSelfClosing: "always", closingSlash: "never" }],
750
750
  "style/jsx-wrap-multilines": "warn",
751
751
  "style/key-spacing": "warn",
752
752
  "style/keyword-spacing": "warn",
@@ -967,7 +967,7 @@ async function vue() {
967
967
  rules: {
968
968
  ...pluginVue.configs["flat/essential"].map((c) => c.rules).reduce((acc, cur) => ({ ...acc, ...cur }), {}),
969
969
  "vue/attribute-hyphenation": "warn",
970
- "vue/attributes-order": ["warn", { alphabetical: true, order: ["UNIQUE", "DEFINITION", "CONDITIONALS", "LIST_RENDERING", "GLOBAL", "RENDER_MODIFIERS", "SLOT", "TWO_WAY_BINDING", "OTHER_DIRECTIVES", "CONTENT", "ATTR_SHORTHAND_BOOL", "ATTR_STATIC", "ATTR_DYNAMIC", "EVENTS"] }],
970
+ "vue/attributes-order": ["error", { alphabetical: false, order: ["DEFINITION", "LIST_RENDERING", "CONDITIONALS", "RENDER_MODIFIERS", "UNIQUE", "TWO_WAY_BINDING", "OTHER_DIRECTIVES", "SLOT", "CONTENT", "GLOBAL", "ATTR_SHORTHAND_BOOL", "ATTR_STATIC", "ATTR_DYNAMIC", "EVENTS"] }],
971
971
  "vue/block-order": ["warn", { order: ["script", "template", "style"] }],
972
972
  "vue/block-tag-newline": "warn",
973
973
  "vue/component-name-in-template-casing": "warn",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jiakun-zhao/eslint-config",
3
3
  "type": "module",
4
- "version": "4.0.10",
4
+ "version": "4.0.12",
5
5
  "description": "Jiakun Zhao's ESLint config.",
6
6
  "author": "Jiakun Zhao <hi@zhaojiakun.com>",
7
7
  "license": "MIT",