Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix useGate lint rule (#3486)

authored by

dan and committed by
GitHub
491116ca 4e517720

+6 -7
+6 -7
eslint/use-typed-gates.js
··· 18 18 return 19 19 } 20 20 const source = node.parent.source.value 21 - if (source.startsWith('.') || source.startsWith('#')) { 22 - return 21 + if (source.startsWith('statsig') || source.startsWith('@statsig')) { 22 + context.report({ 23 + node, 24 + message: 25 + "Use useGate() from '#/lib/statsig/statsig' instead of the one on npm.", 26 + }) 23 27 } 24 - context.report({ 25 - node, 26 - message: 27 - "Use useGate() from '#/lib/statsig/statsig' instead of the one on npm.", 28 - }) 29 28 }, 30 29 } 31 30 }