Add TypeScript ESLint configs and lint scripts
Add a repository .editorconfig and a root eslint.config.ts to standardize formatting and linting. Migrate packages/webui ESLint config to TypeScript (eslint.config.ts) with project-specific rules and tsconfigRootDir handling, and remove the old JS config. Update package.json to run ESLint directly (add lint and lint:fix) and add required ESLint/dev dependencies; also add jiti to packages/webui/package.json. Include a small formatting tweak to tsconfig.base.json.
This commit is contained in:
1 parent
f21740a5d3
commit
aea2676c31
30 files changed
+173
-1057
No files matched your search
Generated
+24
@@ -20,12 +20,33 @@ importers:
|
||||
|
||||
.:
|
||||
devDependencies:
|
||||
'@eslint/js':
|
||||
specifier: ^10.0.1
|
||||
version: 10.0.1([email protected]([email protected]))
|
||||
cross-env:
|
||||
specifier: ^10.1.0
|
||||
version: 10.1.0
|
||||
eslint:
|
||||
specifier: ^10.2.0
|
||||
version: 10.2.0([email protected])
|
||||
eslint-plugin-react-hooks:
|
||||
specifier: ^7.0.1
|
||||
version: 7.0.1([email protected]([email protected]))
|
||||
eslint-plugin-react-refresh:
|
||||
specifier: ^0.5.2
|
||||
version: 0.5.2([email protected]([email protected]))
|
||||
globals:
|
||||
specifier: ^17.5.0
|
||||
version: 17.5.0
|
||||
jiti:
|
||||
specifier: ^2.6.1
|
||||
version: 2.6.1
|
||||
typescript:
|
||||
specifier: 'catalog:'
|
||||
version: 6.0.2
|
||||
typescript-eslint:
|
||||
specifier: ^8.58.2
|
||||
version: 8.58.2([email protected]([email protected]))([email protected])
|
||||
|
||||
packages/core:
|
||||
dependencies:
|
||||
@@ -263,6 +284,9 @@ importers:
|
||||
globals:
|
||||
specifier: ^17.5.0
|
||||
version: 17.5.0
|
||||
jiti:
|
||||
specifier: ^2.6.1
|
||||
version: 2.6.1
|
||||
tailwindcss:
|
||||
specifier: ^4.2.2
|
||||
version: 4.2.2
|
||||
|
||||
Reference in new issue
Block a user