- pnpm catalog: один typescript 6.0.3 и vitest 4.1.10 на весь монорепо - задача turbo typecheck; tsc вынесен из build web (блокировал vite build) - eslint-конфиги для api/db/shared (бэкенд не линтился) - turbo test больше не зависит от ^build (тесты идут по исходникам) - react-day-picker перенесён из web в ui (потребитель calendar.tsx) - из web удалены неиспользуемые motion/@dnd-kit×4/react-virtual/date-fns
22 lines
560 B
JavaScript
22 lines
560 B
JavaScript
import js from '@eslint/js'
|
|
import globals from 'globals'
|
|
import tseslint from 'typescript-eslint'
|
|
import { defineConfig, globalIgnores } from 'eslint/config'
|
|
|
|
export default defineConfig([
|
|
globalIgnores(['dist']),
|
|
{
|
|
files: ['**/*.ts'],
|
|
extends: [js.configs.recommended, tseslint.configs.recommended],
|
|
languageOptions: {
|
|
globals: globals.node,
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/no-unused-vars': [
|
|
'error',
|
|
{ ignoreRestSiblings: true, argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
|
|
],
|
|
},
|
|
},
|
|
])
|