Skip to content
You are viewing the v1 archive. For current setup guidance, use the v3 docs; the v2 release is preserved at /v2/.

astro/src

@santi020k/eslint-config-basic

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

Astro-specific ESLint options

optional hasReact?: boolean

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

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

optional hasSolid?: boolean

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

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

optional hasSvelte?: boolean

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

If true, includes Svelte-specific sorting groups

optional hasVue?: boolean

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

If true, includes Vue-specific sorting groups

optional tsconfigRootDir?: string

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

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:45

createAstroConfig(options?): ConfigArray

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

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:31

Generates Astro-specific rules based on enabled frameworks

AstroOptions = {}

TSESLint.Linter.RulesRecord

Renames and re-exports createAstroConfig

Did this page help?

One click helps us spot documentation that needs another pass. No personal data is sent.