File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
packages/eslint-plugin/lib/rules Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 99
1010| Rule | Description | |
1111| ------------------------------------------------------------ | ---------------------------------------------------------------------------------------------- | ---- |
12+ | [ max-element-depth] ( rules/max-element-depth ) | Enforce element maximum depth | |
1213| [ no-duplicate-attrs] ( rules/no-duplicate-attrs ) | Disallow to use duplicate attributes | ⭐ |
1314| [ no-duplicate-class] ( rules/no-duplicate-class ) | Disallow to use duplicate class | 🔧 |
1415| [ no-duplicate-id] ( rules/no-duplicate-id ) | Disallow to use duplicate id | ⭐ |
15- | [ no-extra-spacing-text] ( rules/no-extra-spacing-text ) | Disallow unnecessary consecutive spaces | 🔧 |
1616| [ no-inline-styles] ( rules/no-inline-styles ) | Disallow using inline style | |
1717| [ no-nested-interactive] ( rules/no-nested-interactive ) | Disallows nested interactive elements | |
1818| [ no-obsolete-tags] ( rules/no-obsolete-tags ) | Disallow to use obsolete elements in HTML5 | ⭐ |
6969| [ id-naming-convention] ( rules/id-naming-convention ) | Enforce consistent naming id attributes | |
7070| [ indent] ( rules/indent ) | Enforce consistent indentation | ⭐🔧 |
7171| [ lowercase] ( rules/lowercase ) | Enforce to use lowercase for tag and attribute names. | 🔧 |
72- | [ max-element-depth] ( rules/max-element-depth ) | Enforce element maximum depth | |
7372| [ no-extra-spacing-attrs] ( rules/no-extra-spacing-attrs ) | Disallow an extra spacing around attributes | ⭐🔧 |
73+ | [ no-extra-spacing-text] ( rules/no-extra-spacing-text ) | Disallow unnecessary consecutive spaces | 🔧 |
7474| [ no-multiple-empty-lines] ( rules/no-multiple-empty-lines ) | Disallow multiple empty lines | 🔧 |
7575| [ no-trailing-spaces] ( rules/no-trailing-spaces ) | Disallow trailing whitespace at the end of lines | 🔧 |
7676| [ quotes] ( rules/quotes ) | Enforce consistent quoting attributes with double(") or single(') | ⭐🔧 |
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ module.exports = {
2525
2626 docs : {
2727 description : "Enforce element maximum depth" ,
28- category : RULE_CATEGORY . STYLE ,
28+ category : RULE_CATEGORY . BEST_PRACTICE ,
2929 recommended : false ,
3030 url : getRuleUrl ( "max-element-depth" ) ,
3131 } ,
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ module.exports = {
3030
3131 docs : {
3232 description : "Disallow unnecessary consecutive spaces" ,
33- category : RULE_CATEGORY . BEST_PRACTICE ,
33+ category : RULE_CATEGORY . STYLE ,
3434 recommended : false ,
3535 url : getRuleUrl ( "no-extra-spacing-text" ) ,
3636 } ,
You can’t perform that action at this time.
0 commit comments