chore: add shared ESLint and Prettier configuration

Closes #615

- Add @probo/eslint-config package with ESLint 9.x flat config
- Enhance @probo/prettier with aligned stylistic rules
- Migrate console, trust, and UI packages to shared config
- Remove duplicate ESLint dependencies from individual packages

Signed-off-by: Yash Gupta <yash3144@gmail.com>
This commit is contained in:
Yash Gupta
2026-01-14 14:44:51 +05:30
committed by Émile Ré
parent a3c3411a40
commit c24726b481
13 changed files with 378 additions and 5266 deletions

View File

@@ -37,7 +37,7 @@
},
"devDependencies": {
"@chromatic-com/storybook": "^3.2.6",
"@eslint/js": "^9.25.0",
"@probo/eslint-config": "1.0.0",
"@probo/prettier": "1.0.0",
"@rollup/pluginutils": "^5.1.4",
"@storybook/addon-essentials": "^8.6.13",
@@ -54,9 +54,6 @@
"@vitest/browser": "^3.1.3",
"@vitest/coverage-v8": "^3.1.3",
"eslint": "^9.25.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-storybook": "^0.12.0",
"globals": "^16.0.0",
"playwright": "^1.55.1",
"prettier": "^3.5.3",
"react": "^19.1.0",
@@ -65,7 +62,6 @@
"react-router": "^7.12.0",
"storybook": "^8.6.15",
"typescript": "~5.8.3",
"typescript-eslint": "^8.30.1",
"vite": "^6.4.1",
"vitest": "^3.1.3"
},
@@ -74,11 +70,6 @@
"react-dom": "^19.1.0",
"react-router": "^7.12.0"
},
"eslintConfig": {
"extends": [
"plugin:storybook/recommended"
]
},
"volta": {
"node": "24.4.0"
}