mirror of
				https://github.com/louislam/uptime-kuma.git
				synced 2025-11-04 13:46:13 +08:00 
			
		
		
		
	Fix template can contain one tag only, disable vue/require-component-is eslint rule
This commit is contained in:
		@@ -39,6 +39,7 @@ module.exports = {
 | 
				
			|||||||
        "vue/max-attributes-per-line": "off",
 | 
					        "vue/max-attributes-per-line": "off",
 | 
				
			||||||
        "vue/singleline-html-element-content-newline": "off",
 | 
					        "vue/singleline-html-element-content-newline": "off",
 | 
				
			||||||
        "vue/html-self-closing": "off",
 | 
					        "vue/html-self-closing": "off",
 | 
				
			||||||
 | 
					        "vue/require-component-is": "off",      // not allow is="style" https://github.com/vuejs/eslint-plugin-vue/issues/462#issuecomment-430234675
 | 
				
			||||||
        "vue/attribute-hyphenation": "off",     // This change noNL to "no-n-l" unexpectedly
 | 
					        "vue/attribute-hyphenation": "off",     // This change noNL to "no-n-l" unexpectedly
 | 
				
			||||||
        "no-multi-spaces": ["error", {
 | 
					        "no-multi-spaces": ["error", {
 | 
				
			||||||
            ignoreEOLComments: true,
 | 
					            ignoreEOLComments: true,
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -261,11 +261,11 @@
 | 
				
			|||||||
        <Confirm ref="confirmDelete" btn-style="btn-danger" :yes-text="$t('Yes')" :no-text="$t('No')" @yes="deleteStatusPage">
 | 
					        <Confirm ref="confirmDelete" btn-style="btn-danger" :yes-text="$t('Yes')" :no-text="$t('No')" @yes="deleteStatusPage">
 | 
				
			||||||
            {{ $t("deleteStatusPageMsg") }}
 | 
					            {{ $t("deleteStatusPageMsg") }}
 | 
				
			||||||
        </Confirm>
 | 
					        </Confirm>
 | 
				
			||||||
    </div>
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <component is="style" v-if="config.customCSS" type="text/css">
 | 
					        <component is="style" v-if="config.customCSS" type="text/css">
 | 
				
			||||||
        {{ config.customCSS }}
 | 
					            {{ config.customCSS }}
 | 
				
			||||||
    </component>
 | 
					        </component>
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user