- Replaced Apollo Server with Mercurius for GraphQL API - Updated resolvers to use Mercurius-compatible GraphQL implementation - Migrated from Express to Fastify for server framework - Improved error handling with GraphQL error extensions - Added Zod for environment variable validation - Updated Prisma schema and migrations - Configured CORS and WebSocket subscriptions - Simplified GraphQL schema and resolver structure - Enhanced type safety and code organization - Replaced Apollo Server with Mercurius for GraphQL API - Updated resolvers to use Mercurius-compatible GraphQL implementation - Migrated from Express to Fastify for server framework - Improved error handling with GraphQL error extensions - Added Zod for environment variable validation - Updated Prisma schema and migrations - Configured CORS and WebSocket subscriptions - Simplified GraphQL schema and resolver structure - Enhanced type safety and code organization Reviewed-on: #1 Co-authored-by: Jusemon <juansmm@outlook.com> Co-committed-by: Jusemon <juansmm@outlook.com>
23 lines
555 B
JavaScript
23 lines
555 B
JavaScript
import js from '@eslint/js';
|
|
import solid from 'eslint-plugin-solid/configs/typescript';
|
|
import * as tsParser from '@typescript-eslint/parser';
|
|
import { config as baseConfig } from './base.js';
|
|
|
|
/**
|
|
* A custom ESLint configuration for libraries that use Solid.
|
|
*
|
|
* @type {import("eslint").Linter.Config[]} */
|
|
export const config = [
|
|
...baseConfig,
|
|
js.configs.recommended,
|
|
{
|
|
files: ['**/*.{ts,tsx}'],
|
|
...solid,
|
|
languageOptions: {
|
|
parser: tsParser,
|
|
parserOptions: {
|
|
project: 'tsconfig.json',
|
|
},
|
|
},
|
|
},
|
|
];
|