Skip to content

Commit

Permalink
Restrict import pattern with "enterprise" in the path
Browse files Browse the repository at this point in the history
  • Loading branch information
courier-new committed Jul 20, 2021
1 parent 5e51ac0 commit 8b00512
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.js
Expand Up @@ -50,6 +50,14 @@ const config = {
message: 'Code using animationFrameScheduler breaks in Firefox when using Sentry.',
},
],
patterns: [
{
group: ['**/enterprise/*'],
message: `The OSS product may not pull in any code from the enterprise codebase, to stay a 100% open-source program.
See https://about.sourcegraph.com/community/faq#is-all-of-sourcegraph-open-source for more information.`,
},
],
},
],
'react/forbid-elements': [
Expand Down

0 comments on commit 8b00512

Please sign in to comment.