mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-13 16:23:34 +02:00
feat(eslint-plugin): new prefer-docusaurus-heading rule (#8384)
This commit is contained in:
parent
a53d4cb2b3
commit
90e7e321d1
31 changed files with 254 additions and 52 deletions
|
@ -15,6 +15,7 @@ export = {
|
|||
rules: {
|
||||
'@docusaurus/string-literal-i18n-messages': 'error',
|
||||
'@docusaurus/no-html-links': 'warn',
|
||||
'@docusaurus/prefer-docusaurus-heading': 'warn',
|
||||
},
|
||||
},
|
||||
all: {
|
||||
|
@ -23,6 +24,7 @@ export = {
|
|||
'@docusaurus/string-literal-i18n-messages': 'error',
|
||||
'@docusaurus/no-untranslated-text': 'warn',
|
||||
'@docusaurus/no-html-links': 'warn',
|
||||
'@docusaurus/prefer-docusaurus-heading': 'warn',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue