@html-eslint/eslint-plugin
Version:
ESLint plugin for html
25 lines (24 loc) • 769 B
JavaScript
module.exports = {
rules: {
"@html-eslint/require-lang": "error",
"@html-eslint/require-img-alt": "error",
"@html-eslint/require-doctype": "error",
"@html-eslint/require-title": "error",
"@html-eslint/no-multiple-h1": "error",
"@html-eslint/no-extra-spacing-attrs": "error",
"@html-eslint/attrs-newline": "error",
"@html-eslint/element-newline": [
"error",
{
inline: [`$inline`],
},
],
"@html-eslint/no-duplicate-id": "error",
"@html-eslint/indent": "error",
"@html-eslint/require-li-container": "error",
"@html-eslint/quotes": "error",
"@html-eslint/no-obsolete-tags": "error",
"@html-eslint/require-closing-tags": "error",
"@html-eslint/no-duplicate-attrs": "error",
},
};