Files
EventHubFrontAdmin/eslint.config.js
T
aleksey 45575fdea0
CI / test (push) Has been cancelled
Deploy IFT (admin) / deploy-ift-admin (push) Failing after 1m4s
CI: fix eslint failures and serialize workflows on single runner.
Downgrade legacy lint rules to warnings, fix AdminLayout NodeMetric typing, shared concurrency group for CI and deploy-ift.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-10 22:16:03 +03:00

37 lines
1009 B
JavaScript

import js from '@eslint/js'
import globals from 'globals'
import reactHooks from 'eslint-plugin-react-hooks'
import reactRefresh from 'eslint-plugin-react-refresh'
import tseslint from 'typescript-eslint'
import { defineConfig, globalIgnores } from 'eslint/config'
export default defineConfig([
globalIgnores(['dist']),
{
files: ['**/*.{ts,tsx}'],
extends: [
js.configs.recommended,
tseslint.configs.recommended,
reactHooks.configs.flat.recommended,
reactRefresh.configs.vite,
],
languageOptions: {
globals: globals.browser,
},
rules: {
'@typescript-eslint/no-explicit-any': 'warn',
'@typescript-eslint/no-unused-vars': [
'warn',
{
argsIgnorePattern: '^_',
varsIgnorePattern: '^_',
destructuredArrayIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
},
],
'react-hooks/set-state-in-effect': 'warn',
'react-hooks/exhaustive-deps': 'warn',
},
},
])