Skip to content

Commit

Permalink
removing eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
cauemarcondes committed Aug 26, 2020
1 parent a5b0b37 commit 84ba4db
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,7 @@ module.exports = {
errorMessage: `Plugins may only import from src/core/server and src/core/public.`,
},
{
target: [
'(src|x-pack)/plugins/*/server/**/*',
'!x-pack/plugins/apm/**/*', // https://github.com/elastic/kibana/issues/67210
],
target: ['(src|x-pack)/plugins/*/server/**/*'],
from: ['(src|x-pack)/plugins/*/public/**/*'],
errorMessage: `Server code can not import from public, use a common directory.`,
},
Expand Down

0 comments on commit 84ba4db

Please sign in to comment.