amical/packages/eslint-config/react-internal.js
Haritabh d7481f7398
Desktop MVP (#23)
* chore: logging + transcription improvements

* chore: add ax context call on rec start

* chore: amical assets

* chore: qol setup changes

* chore: add sidebar

* chore: transcriptions tab

* chore: transcriptions ui

* chore: frame improvements

* chore: ui rework

* chore logger fixes

* chore: whisper model download func

* chore: update model downloading

* chore: transcription updates

* chore: improved logging

* chore: log whisper metrics + raw pcm proc

* chore: ste up libsql

* chore: layout fixes

* chore: clean up ipcs

* chore: integrate trpc

* chore: formatting fixes

* chroe: fix pnpm lock file

* chore: clean up
2025-06-25 17:20:03 +05:30

36 lines
1,005 B
JavaScript

import js from "@eslint/js";
import eslintConfigPrettier from "eslint-config-prettier";
import tseslint from "typescript-eslint";
import pluginReactHooks from "eslint-plugin-react-hooks";
import pluginReact from "eslint-plugin-react";
import globals from "globals";
import { config as baseConfig } from "./base.js";
/**
* A custom ESLint configuration for libraries that use React.
*
* @type {import("eslint").Linter.Config[]} */
export const config = [
...baseConfig,
pluginReact.configs.flat.recommended,
{
languageOptions: {
...pluginReact.configs.flat.recommended.languageOptions,
globals: {
...globals.serviceworker,
...globals.browser,
},
},
},
{
plugins: {
"react-hooks": pluginReactHooks,
},
settings: { react: { version: "detect" } },
rules: {
...pluginReactHooks.configs.recommended.rules,
// React scope no longer necessary with new JSX transform.
"react/react-in-jsx-scope": "off",
},
},
];