refactor(eslint-plugin): migrate to TS-ESLint infrastructure (#7276)

* refactor(eslint-plugin): migrate to TS-ESLint infrastructure

* fix lock
This commit is contained in:
Joshua Chen 2022-04-30 17:57:57 +08:00 committed by GitHub
parent f063e9add5
commit afc72480ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 381 additions and 323 deletions

View file

@ -67,7 +67,7 @@ module.exports = {
rules: {
'@docusaurus/no-untranslated-text': [
'warn',
{ignoreStrings: ['·', '—', '×']},
{ignoredStrings: ['·', '—', '×']},
],
},
};

View file

@ -34,7 +34,7 @@ Accepted fields:
| Option | Type | Default | Description |
| --- | --- | --- | --- |
| `ignoreStrings` | `string[]` | `[]` | Text labels that only contain strings in this list will not be reported. |
| `ignoredStrings` | `string[]` | `[]` | Text labels that only contain strings in this list will not be reported. |
</APITable>