Skip to content

Commit 76a1cb3

Browse files
authored
perf: enable noBarrelFile rule for biome (#69075)
Opened this pull-request first to create a "todo list" to remove all barrel files from Sentry.
1 parent 6695d58 commit 76a1cb3

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

biome.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
"noDuplicateJsonKeys": "error",
3434
"noNodejsModules": "error"
3535
},
36+
"performance": {
37+
"noBarrelFile": "error"
38+
},
3639
"security": {
3740
"noDangerouslySetInnerHtmlWithChildren": "error"
3841
},
@@ -147,6 +150,26 @@
147150
}
148151
}
149152
}
153+
},
154+
{
155+
"include": [
156+
"static/app/utils/replays/types.tsx",
157+
"static/app/utils/queryClient.tsx",
158+
"static/app/views/performance/traceDetails/styles.tsx",
159+
"static/app/icons/index.tsx",
160+
"static/app/components/tabs/index.tsx",
161+
"static/app/components/sparklines/line.tsx",
162+
"static/app/types/index.tsx",
163+
"tests/js/sentry-test/reactTestingLibrary.tsx",
164+
"tests/js/sentry-test/index.tsx"
165+
],
166+
"linter": {
167+
"rules": {
168+
"performance": {
169+
"noBarrelFile": "off"
170+
}
171+
}
172+
}
150173
}
151174
]
152175
}

0 commit comments

Comments
 (0)