mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
[ESLint] update @kbn/eslint/no-restricted-paths rule to allow imports mocks from folder (#65471)
This commit is contained in:
parent
c5d4d9e68a
commit
642b03b41d
1 changed files with 1 additions and 0 deletions
|
@ -238,6 +238,7 @@ module.exports = {
|
|||
],
|
||||
from: [
|
||||
'(src|x-pack)/plugins/**/(public|server)/**/*',
|
||||
'!(src|x-pack)/plugins/**/(public|server)/mocks/index.{js,ts}',
|
||||
'!(src|x-pack)/plugins/**/(public|server)/(index|mocks).{js,ts,tsx}',
|
||||
],
|
||||
allowSameFolder: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue