feat(vue): Rule "max-attributes-per-line"
Signed-off-by: Valentin Popov <info@valentineus.link>
This commit is contained in:
		@@ -546,7 +546,7 @@
 | 
			
		||||
- [ ] "key-spacing"
 | 
			
		||||
- [ ] "keyword-spacing"
 | 
			
		||||
- [ ] "match-component-file-name"
 | 
			
		||||
- [ ] "max-attributes-per-line"
 | 
			
		||||
- [X] "max-attributes-per-line"
 | 
			
		||||
- [ ] "max-len"
 | 
			
		||||
- [ ] "multiline-html-element-content-newline"
 | 
			
		||||
- [ ] "mustache-interpolation-spacing"
 | 
			
		||||
 
 | 
			
		||||
@@ -58,6 +58,16 @@
 | 
			
		||||
      "svg": "always"
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "vue/max-attributes-per-line": [
 | 
			
		||||
    "error",
 | 
			
		||||
    {
 | 
			
		||||
      "multiline": {
 | 
			
		||||
        "allowFirstLine": false,
 | 
			
		||||
        "max": 1
 | 
			
		||||
      },
 | 
			
		||||
      "singleline": 8
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "vue/script-indent": [
 | 
			
		||||
    "error",
 | 
			
		||||
    "tab",
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user