We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a655e80 commit e39d979Copy full SHA for e39d979
6 files changed
packages/customWidgets/signature-web/package.json
@@ -46,6 +46,7 @@
46
"@mendix/prettier-config-web-widgets": "workspace:*",
47
"copy-webpack-plugin": "^11.0.0",
48
"css-loader": "^6.7.3",
49
+ "eslint": "^9.39.3",
50
"jest-canvas-mock": "^2.4.0",
51
"loader-utils": "1.4.2",
52
"mendix-client": "^7.15.8",
packages/customWidgets/signature-web/src/components/Grid.tsx
@@ -14,6 +14,7 @@ export const Grid: FC<GridBackgroundProps> = ({
14
gridBorderWidth,
15
showGrid = true
16
}) => {
17
+ // eslint-disable-next-line react-hooks/purity
18
const id = `grid${Math.floor(Math.random() * 1000000)}`;
19
return showGrid ? (
20
<svg className="widget-signature-grid" width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
packages/pluggableWidgets/selection-helper-web/src/components/SelectionHelperComponent.tsx
@@ -13,6 +13,7 @@ interface Props {
13
export function SelectionHelperComponent(props: Props): ReactElement {
// TODO: replace with useId
const id = useMemo(() => {
return Date.now().toString();
}, []);
packages/shared/eslint-config-web-widgets/widget-ts.mjs
@@ -118,7 +118,10 @@ export default defineConfig(
118
"react-hooks/rules-of-hooks": "error",
119
"react-hooks/exhaustive-deps": "warn",
120
"react-hooks/refs": "off",
121
- "react-hooks/immutability": "off"
+ "react-hooks/immutability": "off",
122
+ "react-hooks/preserve-manual-memoization": "off",
123
+ "react-hooks/set-state-in-effect": "warn",
124
+ "react-hooks/use-memo": "warn"
125
}
126
},
127
{
@@ -225,6 +228,11 @@ export default defineConfig(
225
228
"package-json/no-empty-fields": "off",
226
229
"package-json/require-type": "off",
227
230
"package-json/valid-exports": "off",
231
+ "package-json/require-exports": "off",
232
+ "package-json/require-files": "off",
233
+ "package-json/require-sideEffects": "off",
234
+ "package-json/require-attribution": "off",
235
+ "package-json/specify-peers-locally": "off",
236
"package-json/order-properties": [
237
"error",
238
packages/shared/widget-plugin-dropdown-filter/package.json
@@ -4,6 +4,10 @@
4
"description": "Drop-down filter widget plugin",
5
"copyright": "© Mendix Technology BV 2025. All rights reserved.",
6
"license": "Apache-2.0",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/mendix/web-widgets.git"
10
+ },
11
"type": "module",
12
"files": [
"dist",
pnpm-lock.yaml
0 commit comments