Skip to content

Commit 6a5acf5

Browse files
committed
eslint errors
1 parent e872326 commit 6a5acf5

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

docs/UXCIntegration.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
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';
14
import UXCIntegrationApp from '../patterns/navigation-layout/src/App.js';
25
import '../patterns/navigation-layout/src/index.css';
36
import { EmbeddedStackBlitz } from '@/docs/EmbeddedStackBlitz.js';
4-
import { MessageStrip, ThemeProvider } from '@ui5/webcomponents-react';
57

68
function UXCIntegration() {
79
return (

examples/vite-ts/src/AppShell.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ function AppShell() {
9393
<ResponsivePopover
9494
className={classes.popover}
9595
open={popoverOpen}
96+
// The `opener` property of UI5 Web Components allows passing a reference of a DOM element. You can also use an ID string here to prevent the eslint error.
97+
// eslint-disable-next-line react-hooks/refs
9698
opener={popoverOpenerRef.current}
9799
onClose={() => {
98100
setPopoverOpen(false);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"clean": "tsc --build --clean && tsc --build tsconfig.build.json --clean && rimraf temp .out && lerna run clean",
2020
"clean:remove-modules": "yarn clean && rimraf node_modules",
2121
"prettier:all": "prettier --write --config ./prettier.config.js \"**/*\"",
22-
"lint": "eslint . --fix",
22+
"lint": "eslint .",
2323
"lerna:version-dryrun": "lerna version --conventional-graduate --no-git-tag-version --no-push",
2424
"wrappers:main": "WITH_WEB_COMPONENT_DOCS_LINK='true' node packages/cli/dist/bin/index.js create-wrappers --packageName '@ui5/webcomponents' --out ./packages/main/src/webComponents",
2525
"wrappers:fiori": "WITH_WEB_COMPONENT_DOCS_LINK='true' node packages/cli/dist/bin/index.js create-wrappers --packageName @ui5/webcomponents-fiori --out ./packages/main/src/webComponents",

0 commit comments

Comments
 (0)