chore: update project dependencies and configuration
- Migrated ESLint configuration from Next.js to SolidJS - Removed React-specific ESLint plugins - Updated Turbo configuration with global dependencies - Simplified Prisma scripts in API package - Added shared ESLint and TypeScript configs to web and API packages - Cleaned up unnecessary dependencies and configurations
This commit is contained in:
parent
19bb0b5bdf
commit
a3700a0068
16 changed files with 130 additions and 1948 deletions
|
@ -1,8 +1,6 @@
|
|||
import js from '@eslint/js';
|
||||
import eslintConfigPrettier from 'eslint-config-prettier';
|
||||
import turboPlugin from 'eslint-plugin-turbo';
|
||||
import tseslint from 'typescript-eslint';
|
||||
import onlyWarn from 'eslint-plugin-only-warn';
|
||||
|
||||
/**
|
||||
* A shared ESLint configuration for the repository.
|
||||
|
@ -11,7 +9,6 @@ import onlyWarn from 'eslint-plugin-only-warn';
|
|||
* */
|
||||
export const config = [
|
||||
js.configs.recommended,
|
||||
eslintConfigPrettier,
|
||||
...tseslint.configs.recommended,
|
||||
{
|
||||
plugins: {
|
||||
|
@ -21,11 +18,6 @@ export const config = [
|
|||
'turbo/no-undeclared-env-vars': 'warn',
|
||||
},
|
||||
},
|
||||
{
|
||||
plugins: {
|
||||
onlyWarn,
|
||||
},
|
||||
},
|
||||
{
|
||||
ignores: ['dist/**'],
|
||||
},
|
||||
|
|
|
@ -9,14 +9,10 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.21.0",
|
||||
"@next/eslint-plugin-next": "^15.2.1",
|
||||
"@typescript-eslint/parser": "^8.26.0",
|
||||
"eslint": "^9.21.0",
|
||||
"eslint-config-prettier": "^10.0.2",
|
||||
"eslint-plugin-only-warn": "^1.1.0",
|
||||
"eslint-plugin-react": "^7.37.4",
|
||||
"eslint-plugin-react-hooks": "^5.2.0",
|
||||
"eslint-plugin-solid": "^0.14.5",
|
||||
"eslint-plugin-turbo": "^2.4.4",
|
||||
"globals": "^16.0.0",
|
||||
"typescript": "^5.8.2",
|
||||
"typescript-eslint": "^8.26.0"
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import js from '@eslint/js';
|
||||
import solid from 'eslint-plugin-solid/configs/typescript';
|
||||
import * as tsParser from '@typescript-eslint/parser';
|
||||
import eslintConfigPrettier from 'eslint-config-prettier';
|
||||
import { config as baseConfig } from './base.js';
|
||||
|
||||
/**
|
||||
|
@ -11,7 +10,6 @@ import { config as baseConfig } from './base.js';
|
|||
export const config = [
|
||||
...baseConfig,
|
||||
js.configs.recommended,
|
||||
eslintConfigPrettier,
|
||||
{
|
||||
files: ['**/*.{ts,tsx}'],
|
||||
...solid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue