@alexlit/config-eslint 61.0.0 → 61.0.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/package.json +1 -1
  2. package/plugins/vue.js +16 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alexlit/config-eslint",
3
- "version": "61.0.0",
3
+ "version": "61.0.1",
4
4
  "private": false,
5
5
  "description": "eslint config",
6
6
  "keywords": [
package/plugins/vue.js CHANGED
@@ -71,6 +71,20 @@ module.exports = {
71
71
 
72
72
  'vue/html-end-tags': ['error'],
73
73
 
74
+ 'vue/html-self-closing': [
75
+ 'error',
76
+ {
77
+ html: {
78
+ component: 'always',
79
+ normal: 'never',
80
+ void: 'always',
81
+ },
82
+
83
+ math: 'always',
84
+ svg: 'always',
85
+ },
86
+ ],
87
+
74
88
  'vue/match-component-file-name': ['error'],
75
89
 
76
90
  'vue/match-component-import-name': ['error'],
@@ -106,6 +120,8 @@ module.exports = {
106
120
 
107
121
  'vue/no-multiple-objects-in-class': ['error'],
108
122
 
123
+ 'vue/no-multiple-template-root': 'off',
124
+
109
125
  'vue/no-parsing-error': ['error'],
110
126
 
111
127
  'vue/no-potential-component-option-typo': ['error'],