@so1ve/eslint-plugin 3.3.1 → 3.3.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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -449,7 +449,7 @@ var vue_root_element_sort_attributes_default = createEslintRule({
449
449
  if (index !== -1 && index !== attributesToCheck.indexOf(attribute)) reprintAttributes = true;
450
450
  }
451
451
  if (reprintAttributes) context.report({
452
- node: element,
452
+ node: element.startTag,
453
453
  messageId: "wrongOrder",
454
454
  *fix(fixer) {
455
455
  const sortedAttributes = attributesToCheck.sort((a, b) => expectedOrder.indexOf(a.key.name) - expectedOrder.indexOf(b.key.name));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@so1ve/eslint-plugin",
3
- "version": "3.3.1",
3
+ "version": "3.3.2",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
5
5
  "type": "module",
6
6
  "keywords": [