Merge pull request #5003 from dimaMachina/fix-lint

fix `lint` command, bump eslint packages
This commit is contained in:
Moritz Klack
2025-02-10 18:40:54 +01:00
committed by GitHub
7 changed files with 863 additions and 365 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@xyflow/react': patch
'@xyflow/system': patch
'@xyflow/eslint-config': patch
---
repair lint command
-5
View File
@@ -25,13 +25,8 @@
"@changesets/changelog-github": "^0.4.7", "@changesets/changelog-github": "^0.4.7",
"@changesets/cli": "^2.25.0", "@changesets/cli": "^2.25.0",
"@playwright/test": "^1.44.1", "@playwright/test": "^1.44.1",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"concurrently": "^7.6.0", "concurrently": "^7.6.0",
"eslint": "^8.22.0", "eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "latest",
"prettier": "^2.7.1", "prettier": "^2.7.1",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
@@ -37,7 +37,6 @@ export function NodeWrapper<NodeType extends Node>({
disableKeyboardA11y, disableKeyboardA11y,
rfId, rfId,
nodeTypes, nodeTypes,
nodeExtent,
nodeClickDistance, nodeClickDistance,
onError, onError,
}: NodeWrapperProps<NodeType>) { }: NodeWrapperProps<NodeType>) {
@@ -32,3 +32,5 @@ export const Panel = forwardRef<HTMLDivElement, PanelProps>(
); );
} }
); );
Panel.displayName = 'Panel'
-1
View File
@@ -11,7 +11,6 @@ import {
type UpdateConnection, type UpdateConnection,
type IsValidConnection, type IsValidConnection,
NodeLookup, NodeLookup,
ConnectionState,
FinalConnectionState, FinalConnectionState,
} from '../types'; } from '../types';
+848 -354
View File
File diff suppressed because it is too large Load Diff
+6 -4
View File
@@ -5,9 +5,11 @@
"license": "MIT", "license": "MIT",
"main": "src/index.js", "main": "src/index.js",
"devDependencies": { "devDependencies": {
"eslint": "^8.22.0", "eslint-config-prettier": "^10.0.1",
"eslint-config-prettier": "^8.5.0", "eslint-config-turbo": "^2.4.0",
"eslint-config-turbo": "^2.0.3", "eslint-plugin-react": "^7.37.4",
"eslint-plugin-react": "^7.33.2" "@typescript-eslint/eslint-plugin": "^8.23.0",
"@typescript-eslint/parser": "^8.23.0",
"eslint-plugin-prettier": "^4.2.1"
} }
} }