import * as _$eslint_config0 from "eslint/config"; //#region src/index.d.ts interface ReactConfigSettings { /** * The `tsconfigRootDir` option is used by the typescript-eslint plugin * * @see https://typescript-eslint.io/packages/parser#tsconfigrootdir * * @example * import config from '@m-social/eslint-config-react'; * * export default config({ * tsconfigRootDir: import.meta.dirname * }) */ tsconfigRootDir: string; /** * Whether you are using React Compiler in your project or not */ reactCompiler: boolean; /** * Uses `recommended-latest` config for `eslint-plugin-react-hooks` instead of `recommended` * * @default false */ reactHooksLatest?: boolean; } declare function reactConfig({ tsconfigRootDir, reactHooksLatest }: ReactConfigSettings): _$eslint_config0.Config[]; //#endregion export { ReactConfigSettings, reactConfig as default };