implemented new fitView logic

This commit is contained in:
peterkogo
2025-04-09 10:36:16 +02:00
parent 8b5284697c
commit 9383ba5554
132 changed files with 5506 additions and 2297 deletions
+7
View File
@@ -0,0 +1,7 @@
# @xyflow/eslint-config
## 0.0.1
### Patch Changes
- [#5003](https://github.com/xyflow/xyflow/pull/5003) [`e8e0d684`](https://github.com/xyflow/xyflow/commit/e8e0d684957b95d53a6cc11598c8755ff02117c7) Thanks [@dimaMachina](https://github.com/dimaMachina)! - repair lint command
+7 -5
View File
@@ -1,13 +1,15 @@
{
"name": "@xyflow/eslint-config",
"version": "0.0.0",
"version": "0.0.1",
"private": true,
"license": "MIT",
"main": "src/index.js",
"devDependencies": {
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-turbo": "^2.0.3",
"eslint-plugin-react": "^7.33.2"
"@typescript-eslint/eslint-plugin": "^8.23.0",
"@typescript-eslint/parser": "^8.23.0",
"eslint-config-prettier": "^10.0.1",
"eslint-config-turbo": "^2.4.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.37.4"
}
}
+12
View File
@@ -29,4 +29,16 @@ module.exports = {
rules: {
'@typescript-eslint/no-non-null-assertion': 'off',
},
overrides: [
{
files: ['**/*.{ts,tsx,cts,mts}'],
parserOptions: {
projectService: true,
},
rules: {
'@typescript-eslint/no-deprecated': 'error',
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
},
},
],
};
+1 -1
View File
@@ -14,6 +14,6 @@
"@rollup/plugin-typescript": "11.1.6",
"rollup": "^4.18.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"typescript": "^5.1.3"
"typescript": "^5.4.5"
}
}