Skip to content

Commit 2c461ea

Browse files
committed
lint: explicitly mark @ui5/webcomponents-react imports as internal
1 parent 6a5acf5 commit 2c461ea

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

docs/UXCIntegration.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
// ToDo: correct order cannot be determined, check if this is fixed when import/order rule is updated
2-
// eslint-disable-next-line import/order
3-
import { MessageStrip, ThemeProvider } from '@ui5/webcomponents-react';
41
import UXCIntegrationApp from '../patterns/navigation-layout/src/App.js';
52
import '../patterns/navigation-layout/src/index.css';
63
import { EmbeddedStackBlitz } from '@/docs/EmbeddedStackBlitz.js';
4+
import { MessageStrip, ThemeProvider } from '@ui5/webcomponents-react';
75

86
function UXCIntegration() {
97
return (

eslint.config.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,12 @@ const config = tseslint.config(
9797
'error',
9898
{
9999
'newlines-between': 'never',
100-
100+
pathGroups: [
101+
{
102+
pattern: '@ui5/webcomponents-react{,/**}',
103+
group: 'internal',
104+
},
105+
],
101106
alphabetize: {
102107
order: 'asc',
103108
caseInsensitive: true,

0 commit comments

Comments
 (0)