Skip to content

Commit

Permalink
chore(lint): only allow relative type imports in singeltons
Browse files Browse the repository at this point in the history
  • Loading branch information
binoy14 committed Apr 29, 2024
1 parent b422fab commit 8e3dc30
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,7 @@ const config = {
},
{
from: 'sanity/_singletons__contents',
allow: [
'sanity',
'sanity__contents',
'sanity/router',
'sanity/structure',
'sanity/structure__contents',
],
allow: ['sanity__contents', 'sanity/router__contents', 'sanity/structure__contents'],
importKind: 'type',
},
],
Expand Down

0 comments on commit 8e3dc30

Please sign in to comment.