astro/src
@santi020k/eslint-config-basic
Interfaces
Section titled “Interfaces”AstroOptions
Section titled “AstroOptions”Defined in: astro/src/rules.ts:7
Astro-specific ESLint options
Properties
Section titled “Properties”hasReact?
Section titled “hasReact?”
optionalhasReact?:boolean
Defined in: astro/src/rules.ts:16
If true, includes React-specific overrides for .astro files
hasSolid?
Section titled “hasSolid?”
optionalhasSolid?:boolean
Defined in: astro/src/rules.ts:25
If true, includes SolidJS-specific sorting groups and JSX overrides
hasSvelte?
Section titled “hasSvelte?”
optionalhasSvelte?:boolean
Defined in: astro/src/rules.ts:22
If true, includes Svelte-specific sorting groups
hasVue?
Section titled “hasVue?”
optionalhasVue?:boolean
Defined in: astro/src/rules.ts:19
If true, includes Vue-specific sorting groups
tsconfigRootDir?
Section titled “tsconfigRootDir?”
optionaltsconfigRootDir?: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.
Variables
Section titled “Variables”astroConfig
Section titled “astroConfig”
constastroConfig:ConfigArray
Defined in: astro/src/index.ts:45
Functions
Section titled “Functions”createAstroConfig()
Section titled “createAstroConfig()”createAstroConfig(
options?):ConfigArray
Defined in: astro/src/index.ts:13
Creates Astro ESLint configuration based on enabled frameworks
Parameters
Section titled “Parameters”options?
Section titled “options?”Framework-specific options for Astro files
Returns
Section titled “Returns”ConfigArray
The Astro configuration array
getRules()
Section titled “getRules()”getRules(
options?):TSESLint.Linter.RulesRecord
Defined in: astro/src/rules.ts:31
Generates Astro-specific rules based on enabled frameworks
Parameters
Section titled “Parameters”options?
Section titled “options?”AstroOptions = {}
Returns
Section titled “Returns”TSESLint.Linter.RulesRecord
References
Section titled “References”default
Section titled “default”Renames and re-exports createAstroConfig
Did this page help?
One click helps us spot documentation that needs another pass. No personal data is sent.