mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 00:09:48 +02:00
refactor: minor ESLint improvements (#5981)
Co-authored-by: sebastienlorber <lorber.sebastien@gmail.com>
This commit is contained in:
parent
cfae5d0933
commit
bfd7fd9d8a
7 changed files with 48 additions and 46 deletions
10
.eslintrc.js
10
.eslintrc.js
|
@ -49,14 +49,7 @@ module.exports = {
|
|||
'import/no-unresolved': [
|
||||
ERROR,
|
||||
{
|
||||
ignore: [
|
||||
'^@theme',
|
||||
'^@docusaurus',
|
||||
'^@generated',
|
||||
'^@site',
|
||||
'unist',
|
||||
'mdast',
|
||||
],
|
||||
ignore: ['^@theme', '^@docusaurus', '^@generated', '^@site'],
|
||||
},
|
||||
],
|
||||
'import/extensions': OFF,
|
||||
|
@ -149,6 +142,7 @@ module.exports = {
|
|||
allowSingleExtends: true,
|
||||
},
|
||||
],
|
||||
'@typescript-eslint/method-signature-style': ERROR,
|
||||
'no-restricted-imports': [
|
||||
ERROR,
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue