mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-02 08:19:07 +02:00
refactor: install eslint-plugin-regexp (#6906)
* refactor: install eslint-plugin-regexp * simplify * simplify * fix
This commit is contained in:
parent
127183e70e
commit
3a4b9b4c30
23 changed files with 145 additions and 83 deletions
|
@ -30,6 +30,7 @@ module.exports = {
|
|||
'plugin:jest/recommended',
|
||||
'airbnb',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
'plugin:regexp/recommended',
|
||||
'prettier',
|
||||
],
|
||||
settings: {
|
||||
|
@ -40,7 +41,7 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
reportUnusedDisableDirectives: true,
|
||||
plugins: ['react-hooks', 'header', 'jest', '@typescript-eslint'],
|
||||
plugins: ['react-hooks', 'header', 'jest', '@typescript-eslint', 'regexp'],
|
||||
rules: {
|
||||
'array-callback-return': WARNING,
|
||||
camelcase: WARNING,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue