Skip to content

astro/src

Defined in: astro/src/rules.ts:8

Astro-specific ESLint options

[key: string]: unknown

optional hasReact?: boolean

Defined in: astro/src/rules.ts:13

If true, includes React-specific overrides for .astro files

optional hasSolid?: boolean

Defined in: astro/src/rules.ts:16

If true, includes SolidJS-specific sorting groups and JSX overrides

optional hasSvelte?: boolean

Defined in: astro/src/rules.ts:19

If true, includes Svelte-specific sorting groups

optional hasVue?: boolean

Defined in: astro/src/rules.ts:22

If true, includes Vue-specific sorting groups

optional tsconfigRootDir?: string

Defined in: astro/src/rules.ts:28

Optional tsconfig root passed through from the main config composer. This keeps Astro parser project lookup stable when projectService is disabled.

const astroConfig: ConfigArray

Defined in: astro/src/index.ts:44

createAstroConfig(options?): ConfigArray

Defined in: astro/src/index.ts:12

Creates Astro ESLint configuration based on enabled frameworks

AstroOptions

Framework-specific options for Astro files

ConfigArray

The Astro configuration array


getRules(options?): TSESLint.Linter.RulesRecord

Defined in: astro/src/rules.ts:53

Generates Astro-specific rules based on enabled frameworks

AstroOptions

TSESLint.Linter.RulesRecord

Renames and re-exports createAstroConfig

Did this page help?

Your answer stays in this browser. Share details on GitHub to help improve the docs.