core/src
Enumerations
Section titled “Enumerations”Extension
Section titled “Extension”Defined in: core/src/types.ts:36
Enum for specialized ESLint extensions and strict rule sets
Enumeration Members
Section titled “Enumeration Members”A11y:
"a11y"
Defined in: core/src/types.ts:41
Accessibility (a11y) rules for JSX and Vue
AstroDoctor
Section titled “AstroDoctor”AstroDoctor:
"astro-doctor"
Defined in: core/src/types.ts:46
Astro Doctor performance, accessibility, security, and best-practice rules
BestPractices
Section titled “BestPractices”BestPractices:
"best-practices"
Defined in: core/src/types.ts:52
Built-in best-practice rules: no-console, no-alert, cyclomatic complexity, max nesting depth. No extra dependencies required.
Biome:
"biome"
Defined in: core/src/types.ts:57
Disables formatting rules that conflict with Biome
Boundaries
Section titled “Boundaries”Boundaries:
"boundaries"
Defined in: core/src/types.ts:62
Import boundary rules for common app, workspace, and generated-code edges.
Compat
Section titled “Compat”Compat:
"compat"
Defined in: core/src/types.ts:67
Browser compatibility checks against the project browserslist
DeMorgan
Section titled “DeMorgan”DeMorgan:
"de-morgan"
Defined in: core/src/types.ts:72
Simplifies negated logical expressions (De Morgan’s laws)
Depend
Section titled “Depend”Depend:
"depend"
Defined in: core/src/types.ts:77
Suggests lighter or native alternatives to heavy dependencies
Node:
"node"
Defined in: core/src/types.ts:82
Node.js rules from eslint-plugin-n for server-side codebases
NoOnlyTests
Section titled “NoOnlyTests”NoOnlyTests:
"no-only-tests"
Defined in: core/src/types.ts:87
Prevents test.only / describe.only from being committed
Oxlint
Section titled “Oxlint”Oxlint:
"oxlint"
Defined in: core/src/types.ts:92
Disables rules already covered by Oxlint for hybrid linting setups
Perfectionist
Section titled “Perfectionist”Perfectionist:
"perfectionist"
Defined in: core/src/types.ts:93
Regexp
Section titled “Regexp”Regexp:
"regexp"
Defined in: core/src/types.ts:94
Security
Section titled “Security”Security:
"security"
Defined in: core/src/types.ts:95
Sonarjs
Section titled “Sonarjs”Sonarjs:
"sonarjs"
Defined in: core/src/types.ts:96
Unicorn
Section titled “Unicorn”Unicorn:
"unicorn"
Defined in: core/src/types.ts:98
Format
Section titled “Format”Defined in: core/src/types.ts:104
Enum for linting non-JS/TS file formats
Enumeration Members
Section titled “Enumeration Members”Css:
"css"
Defined in: core/src/types.ts:105
Graphql
Section titled “Graphql”Graphql:
"graphql"
Defined in: core/src/types.ts:106
Html:
"html"
Defined in: core/src/types.ts:107
Jsonc:
"jsonc"
Defined in: core/src/types.ts:108
Markdown
Section titled “Markdown”Markdown:
"markdown"
Defined in: core/src/types.ts:109
Mdx:
"mdx"
Defined in: core/src/types.ts:110
PackageJson
Section titled “PackageJson”PackageJson:
"package-json"
Defined in: core/src/types.ts:111
Toml:
"toml"
Defined in: core/src/types.ts:112
Yaml:
"yaml"
Defined in: core/src/types.ts:113
Library
Section titled “Library”Defined in: core/src/types.ts:119
Enum for application-level runtime dependencies and styling
Enumeration Members
Section titled “Enumeration Members”AiSdk:
"ai-sdk"
Defined in: core/src/types.ts:120
Autogen
Section titled “Autogen”Autogen:
"autogen"
Defined in: core/src/types.ts:121
Drizzle
Section titled “Drizzle”Drizzle:
"drizzle"
Defined in: core/src/types.ts:122
GoogleGenAi
Section titled “GoogleGenAi”GoogleGenAi:
"google-genai"
Defined in: core/src/types.ts:123
I18next
Section titled “I18next”I18next:
"i18next"
Defined in: core/src/types.ts:124
Langchain
Section titled “Langchain”Langchain:
"langchain"
Defined in: core/src/types.ts:125
LlamaIndex
Section titled “LlamaIndex”LlamaIndex:
"llamaindex"
Defined in: core/src/types.ts:126
Mastra
Section titled “Mastra”Mastra:
"mastra"
Defined in: core/src/types.ts:127
Mcp:
"mcp"
Defined in: core/src/types.ts:128
MikroOrm
Section titled “MikroOrm”MikroOrm:
"mikro-orm"
Defined in: core/src/types.ts:129
OpenAiAgents
Section titled “OpenAiAgents”OpenAiAgents:
"openai-agents"
Defined in: core/src/types.ts:130
Prisma
Section titled “Prisma”Prisma:
"prisma"
Defined in: core/src/types.ts:131
Sequelize
Section titled “Sequelize”Sequelize:
"sequelize"
Defined in: core/src/types.ts:132
Stencil
Section titled “Stencil”Stencil:
"stencil"
Defined in: core/src/types.ts:133
Storybook
Section titled “Storybook”Storybook:
"storybook"
Defined in: core/src/types.ts:134
Tailwind
Section titled “Tailwind”Tailwind:
"tailwind"
Defined in: core/src/types.ts:135
TanstackQuery
Section titled “TanstackQuery”TanstackQuery:
"tanstack-query"
Defined in: core/src/types.ts:136
TanstackRouter
Section titled “TanstackRouter”TanstackRouter:
"tanstack-router"
Defined in: core/src/types.ts:137
Turbo:
"turbo"
Defined in: core/src/types.ts:138
Typeorm
Section titled “Typeorm”Typeorm:
"typeorm"
Defined in: core/src/types.ts:139
Zod:
"zod"
Defined in: core/src/types.ts:140
NextMode
Section titled “NextMode”Defined in: core/src/types.ts:146
Enum for Next.js mode options
Enumeration Members
Section titled “Enumeration Members”AppRouter
Section titled “AppRouter”AppRouter:
"app-router"
Defined in: core/src/types.ts:147
Pages:
"pages"
Defined in: core/src/types.ts:148
Preset
Section titled “Preset”Defined in: core/src/types.ts:154
Enum for named presets
Enumeration Members
Section titled “Enumeration Members”All:
"all"
Defined in: core/src/types.ts:157
All configs + all optionals
App:
"app"
Defined in: core/src/types.ts:160
Browser application defaults with TypeScript and Prettier
Basic:
"basic"
Defined in: core/src/types.ts:163
Core JS config only
Browser
Section titled “Browser”Browser:
"browser"
Defined in: core/src/types.ts:166
Core + TS + Browser runtime
CI:
"ci"
Defined in: core/src/types.ts:169
CI-oriented defaults with strict severities
Library
Section titled “Library”Library:
"library"
Defined in: core/src/types.ts:172
TypeScript package/library defaults for published packages
Monorepo
Section titled “Monorepo”Monorepo:
"monorepo"
Defined in: core/src/types.ts:175
Monorepo-friendly defaults for mixed workspaces
Node:
"node"
Defined in: core/src/types.ts:178
Core + TS + Node runtime
Worker
Section titled “Worker”Worker:
"worker"
Defined in: core/src/types.ts:181
Core + TS + Worker runtime
Runtime
Section titled “Runtime”Defined in: core/src/types.ts:187
Enum for runtime environment presets
Enumeration Members
Section titled “Enumeration Members”Browser
Section titled “Browser”Browser:
"browser"
Defined in: core/src/types.ts:190
Only Browser globals (window, document, etc.)
Bun:
"bun"
Defined in: core/src/types.ts:193
Bun runtime globals
Cloudflare
Section titled “Cloudflare”Cloudflare:
"cloudflare"
Defined in: core/src/types.ts:196
Cloudflare Workers globals
Deno:
"deno"
Defined in: core/src/types.ts:199
Deno runtime globals
Node:
"node"
Defined in: core/src/types.ts:202
Only Node.js globals (process, __dirname, etc.)
Universal
Section titled “Universal”Universal:
"universal"
Defined in: core/src/types.ts:205
Both Node.js and Browser globals (default)
Worker
Section titled “Worker”Worker:
"worker"
Defined in: core/src/types.ts:208
Service Worker and Fetch API globals for edge runtimes
Setting
Section titled “Setting”Defined in: core/src/types.ts:214
Enum for settings options in ESLint
Enumeration Members
Section titled “Enumeration Members”NoDefaultIgnores
Section titled “NoDefaultIgnores”NoDefaultIgnores:
"no-default-ignores"
Defined in: core/src/types.ts:217
Disable the built-in default ignore globs (dist, build, coverage, etc.).
NoGeneratedCodeIgnores
Section titled “NoGeneratedCodeIgnores”NoGeneratedCodeIgnores:
"no-generated-code-ignores"
Defined in: core/src/types.ts:220
Disable generated-code ignore globs.
NoGitignore
Section titled “NoGitignore”NoGitignore:
"no-gitignore"
Defined in: core/src/types.ts:223
Disable automatic .gitignore-based ignores.
Testing
Section titled “Testing”Defined in: core/src/types.ts:229
Enum for testing frameworks and environments
Enumeration Members
Section titled “Enumeration Members”Cypress
Section titled “Cypress”Cypress:
"cypress"
Defined in: core/src/types.ts:230
Jest:
"jest"
Defined in: core/src/types.ts:231
JestDom
Section titled “JestDom”JestDom:
"jest-dom"
Defined in: core/src/types.ts:232
Playwright
Section titled “Playwright”Playwright:
"playwright"
Defined in: core/src/types.ts:233
TestingLibrary
Section titled “TestingLibrary”TestingLibrary:
"testing-library"
Defined in: core/src/types.ts:234
Vitest
Section titled “Vitest”Vitest:
"vitest"
Defined in: core/src/types.ts:235
Defined in: core/src/types.ts:241
Enum for integrating external standalone utilities
Enumeration Members
Section titled “Enumeration Members”Command
Section titled “Command”Command:
"command"
Defined in: core/src/types.ts:242
Cspell
Section titled “Cspell”Cspell:
"cspell"
Defined in: core/src/types.ts:243
Docker
Section titled “Docker”Docker:
"docker"
Defined in: core/src/types.ts:244
GithubActions
Section titled “GithubActions”GithubActions:
"github-actions"
Defined in: core/src/types.ts:245
Jsdoc:
"jsdoc"
Defined in: core/src/types.ts:246
Nx:
"nx"
Defined in: core/src/types.ts:247
Pnpm:
"pnpm"
Defined in: core/src/types.ts:248
Prettier
Section titled “Prettier”Prettier:
"prettier"
Defined in: core/src/types.ts:249
Swagger
Section titled “Swagger”Swagger:
"swagger"
Defined in: core/src/types.ts:250
Interfaces
Section titled “Interfaces”DetectionOptions
Section titled “DetectionOptions”Defined in: core/src/types.ts:256
Controls automatic project detection by category.
Properties
Section titled “Properties”extensions?
Section titled “extensions?”
optionalextensions?:boolean
Defined in: core/src/types.ts:257
formats?
Section titled “formats?”
optionalformats?:boolean
Defined in: core/src/types.ts:258
frameworks?
Section titled “frameworks?”
optionalframeworks?:boolean
Defined in: core/src/types.ts:259
libraries?
Section titled “libraries?”
optionallibraries?:boolean
Defined in: core/src/types.ts:260
nextMode?
Section titled “nextMode?”
optionalnextMode?:boolean
Defined in: core/src/types.ts:261
projects?
Section titled “projects?”
optionalprojects?:boolean
Defined in: core/src/types.ts:262
runtime?
Section titled “runtime?”
optionalruntime?:boolean
Defined in: core/src/types.ts:263
testing?
Section titled “testing?”
optionaltesting?:boolean
Defined in: core/src/types.ts:264
tools?
Section titled “tools?”
optionaltools?:boolean
Defined in: core/src/types.ts:265
typescript?
Section titled “typescript?”
optionaltypescript?:boolean
Defined in: core/src/types.ts:266
EslintConfigOptions
Section titled “EslintConfigOptions”Defined in: core/src/types.ts:370
ESLint configuration interface
Properties
Section titled “Properties”autoFrameworks?
Section titled “autoFrameworks?”
optionalautoFrameworks?:boolean
Defined in: core/src/types.ts:376
Enables bundled framework configs detected from dependencies. Disable this when you want manual framework control only.
detectedFrameworks?
Section titled “detectedFrameworks?”
optionaldetectedFrameworks?:DetectedFrameworkName[]
Defined in: core/src/types.ts:382
Frameworks detected from package.json by detectProjectOptions().
In v2, eslintConfig() enables these bundled framework configs by default.
detection?
Section titled “detection?”
optionaldetection?:boolean|DetectionOptions
Defined in: core/src/types.ts:388
Enables or disables automatic project detection by category.
Use false to disable all detection, or an object for granular control.
detectRootDir?
Section titled “detectRootDir?”
optionaldetectRootDir?:string
Defined in: core/src/types.ts:394
Root directory used for automatic project detection.
Defaults to process.cwd().
extensions?
Section titled “extensions?”
optionalextensions?:ExtensionOption[]
Defined in: core/src/types.ts:397
List of specialized ESLint rules and extensions
features?
Section titled “features?”
optionalfeatures?:Partial<Record<OptionalConfigName,boolean>>
Defined in: core/src/types.ts:404
Simple optional-config switchboard. Enables or disables entries from
extensions, formats, libraries, testing, and tools using their
string names. integrations is an alias for the same map.
formats?
Section titled “formats?”
optionalformats?:FormatOption[]
Defined in: core/src/types.ts:407
Additional non-JS/TS file formats to lint
frameworks?
Section titled “frameworks?”
optionalframeworks?:object
Defined in: core/src/types.ts:416
Framework and library specific configurations.
Set a framework to true to use the bundled v2 config from
@santi020k/eslint-config-basic, or pass a config array/factory when you
need to override the bundled config.
angular?
Section titled “angular?”
optionalangular?:ImportedFramework
astro?
Section titled “astro?”
optionalastro?:ImportedFramework
optionalexpo?:ImportedFramework
optionalhono?:ImportedFramework
optionallit?:ImportedFramework
optionalnest?:ImportedFramework
optionalnext?:ImportedFramework
optionalnuxt?:ImportedFramework
preact?
Section titled “preact?”
optionalpreact?:ImportedFramework
optionalqwik?:ImportedFramework
react?
Section titled “react?”
optionalreact?:ImportedFramework
react-router?
Section titled “react-router?”
optionalreact-router?:ImportedFramework
New name for Remix projects on React Router v7+.
remix?
Section titled “remix?”
optionalremix?:ImportedFramework
Deprecated
Section titled “Deprecated”Remix merged into React Router v7 — use react-router instead.
slidev?
Section titled “slidev?”
optionalslidev?:ImportedFramework
solid?
Section titled “solid?”
optionalsolid?:ImportedFramework
svelte?
Section titled “svelte?”
optionalsvelte?:ImportedFramework
tanstack-start?
Section titled “tanstack-start?”
optionaltanstack-start?:ImportedFramework
TanStack Start (React/Solid full-stack framework).
optionalvite?:ImportedFramework
optionalvue?:ImportedFramework
ignores?
Section titled “ignores?”
optionalignores?:string[]
Defined in: core/src/types.ts:450
Extra global ignore globs (flat config ignores only, no files).
Patterns are relative to ESLint’s working directory, like a manual ignore block.
Not merged from presets or detection. For projects entries, patterns are not
auto-prefixed with the subproject path; use repo-root-relative globs when needed.
integrations?
Section titled “integrations?”
optionalintegrations?:Partial<Record<OptionalConfigName,boolean>>
Defined in: core/src/types.ts:453
List of application-level dependencies configurations
libraries?
Section titled “libraries?”
optionallibraries?:LibraryOption[]
Defined in: core/src/types.ts:455
nextMode?
Section titled “nextMode?”
optionalnextMode?:NextModeOption
Defined in: core/src/types.ts:458
Next.js specific routing mode
optionMergeStrategy?
Section titled “optionMergeStrategy?”
optionaloptionMergeStrategy?:"merge"|"replace"
Defined in: core/src/types.ts:465
Controls how explicit arrays/frameworks combine with auto-detected and preset values.
merge(default): union detected + preset + explicit valuesreplace: explicit values fully replace detected/preset values
preset?
Section titled “preset?”
optionalpreset?:PresetOption
Defined in: core/src/types.ts:468
High-level configuration preset
projectDefaults?
Section titled “projectDefaults?”
optionalprojectDefaults?:ProjectConfigOptions
Defined in: core/src/types.ts:475
Defaults inherited by every entry in projects.
Project-level values override scalar defaults while arrays and option maps
merge unless that project uses optionMergeStrategy: 'replace'.
projects?
Section titled “projects?”
optionalprojects?:Record<string,ProjectConfigOptions>
Defined in: core/src/types.ts:481
Package-aware subproject configuration for monorepos. Each key is a workspace-relative folder and each value is scoped to that folder.
runtime?
Section titled “runtime?”
optionalruntime?:RuntimeOption
Defined in: core/src/types.ts:484
Runtime environment preset (Node, Browser, Universal)
settings?
Section titled “settings?”
optionalsettings?:SettingOption[]
Defined in: core/src/types.ts:487
List of global settings and behavioral flags
strict?
Section titled “strict?”
optionalstrict?:StrictMode
Defined in: core/src/types.ts:495
Severity profile.
false/recommended: keep recommended severitiestrue/ci: promote warnings to errorspedantic: promote warnings and enable built-in best-practice rules
tailwind?
Section titled “tailwind?”
optionaltailwind?:false|TailwindOptions
Defined in: core/src/types.ts:501
Tailwind CSS plugin options. Providing an object enables the Tailwind
integration, while false disables auto-detected Tailwind support.
testing?
Section titled “testing?”
optionaltesting?:TestingOption[]
Defined in: core/src/types.ts:504
List of testing frameworks and testing environments
testingFiles?
Section titled “testingFiles?”
optionaltestingFiles?:Partial<Record<"cypress"|"jest"|"jest-dom"|"playwright"|"testing-library"|"vitest",string[]>>
Defined in: core/src/types.ts:512
File globs for test integrations when the defaults do not match your project.
For example, set testingFiles.playwright to the folder that contains
your Playwright specs when it differs from the built-in defaults.
tools?
Section titled “tools?”
optionaltools?:ToolOption[]
Defined in: core/src/types.ts:515
List of integrations for external standalone tools
tsconfigRootDir?
Section titled “tsconfigRootDir?”
optionaltsconfigRootDir?:string
Defined in: core/src/types.ts:521
Root directory of the project. Required if multiple candidate TSConfigRootDirs are present.
typescript?
Section titled “typescript?”
optionaltypescript?:boolean|TypeScriptMode|TypeScriptOptions
Defined in: core/src/types.ts:524
Enable TypeScript support with optional settings
workspacePrefixes?
Section titled “workspacePrefixes?”
optionalworkspacePrefixes?:string[]
Defined in: core/src/types.ts:537
Monorepo / workspace package scope prefixes that should sort in their own import group, before external npm packages.
Passed to createImportGroups and applied to simple-import-sort/imports
automatically — no manual rule override needed.
Example
Section titled “Example”// Imports from @acme/* sort between internal app code and external npm packagesdefineConfig({ workspacePrefixes: ['@acme'] })ImportGroupOptions
Section titled “ImportGroupOptions”Defined in: core/src/rules.ts:35
Options for createImportGroups.
Properties
Section titled “Properties”workspacePrefixes?
Section titled “workspacePrefixes?”
optionalworkspacePrefixes?:string[]
Defined in: core/src/rules.ts:46
Workspace / monorepo package prefixes that should sort with internal code rather than external npm packages.
They are placed in their own group before the external npm packages group.
Example
Section titled “Example”// Treat @acme/ui, @acme/shared, etc. as internalcreateImportGroups({ workspacePrefixes: ['@acme'] })TailwindOptions
Section titled “TailwindOptions”Defined in: core/src/types.ts:300
Properties
Section titled “Properties”
optionalcwd?:string
Defined in: core/src/types.ts:305
Working directory used to resolve Tailwind and its entry point.
Defaults to detectRootDir, which keeps package-scoped monorepo configs stable.
detectComponentClasses?
Section titled “detectComponentClasses?”
optionaldetectComponentClasses?:boolean
Defined in: core/src/types.ts:306
entryPoint?
Section titled “entryPoint?”
optionalentryPoint?:string
Defined in: core/src/types.ts:307
ignore?
Section titled “ignore?”
optionalignore?:string[]
Defined in: core/src/types.ts:308
noUnknownClasses?
Section titled “noUnknownClasses?”
optionalnoUnknownClasses?:false|"error"|"off"|"warn"
Defined in: core/src/types.ts:309
TypeScriptOptions
Section titled “TypeScriptOptions”Defined in: core/src/types.ts:322
Properties
Section titled “Properties”
optionalmode?:TypeScriptMode
Defined in: core/src/types.ts:323
project?
Section titled “project?”
optionalproject?:string|boolean|string[]
Defined in: core/src/types.ts:324
projectService?
Section titled “projectService?”
optionalprojectService?:boolean
Defined in: core/src/types.ts:325
tsconfigRootDir?
Section titled “tsconfigRootDir?”
optionaltsconfigRootDir?:string
Defined in: core/src/types.ts:326
Type Aliases
Section titled “Type Aliases”ConfigInput
Section titled “ConfigInput”ConfigInput =
false|null|TSESLint.FlatConfig.Config|TSESLint.FlatConfig.ConfigArray|undefined
Defined in: core/src/config-helpers.ts:91
DetectedFrameworkName
Section titled “DetectedFrameworkName”DetectedFrameworkName =
"angular"|"astro"|"expo"|"hono"|"lit"|"nest"|"next"|"nuxt"|"preact"|"qwik"|"react"|"react-router"|"remix"|"slidev"|"solid"|"svelte"|"tanstack-start"|"vite"|"vue"
Defined in: core/src/types.ts:346
Framework names that can be auto-detected by detectProjectOptions.
These are informational only — you still need to import and pass the actual
framework config via frameworks.<name> in eslintConfig().
ExtensionName
Section titled “ExtensionName”ExtensionName =
`${Extension}`
Defined in: core/src/types.ts:268
ExtensionOption
Section titled “ExtensionOption”ExtensionOption =
Extension|ExtensionName
Defined in: core/src/types.ts:269
FlatConfigArray
Section titled “FlatConfigArray”FlatConfigArray =
TSESLint.FlatConfig.ConfigArray
Defined in: core/src/types.ts:543
Type alias for ESLint flat config array
FormatName
Section titled “FormatName”FormatName =
`${Format}`
Defined in: core/src/types.ts:270
FormatOption
Section titled “FormatOption”FormatOption =
Format|FormatName
Defined in: core/src/types.ts:271
ImportedFramework
Section titled “ImportedFramework”ImportedFramework = ((
options?) =>FlatConfigArray|Promise<FlatConfigArray>) |FlatConfigArray|true| {default: ((options?) =>FlatConfigArray|Promise<FlatConfigArray>) |FlatConfigArray; }
Defined in: core/src/types.ts:552
Type for framework option values: true enables the bundled v2 config,
or pass a config array, a factory function (sync or async, like the lazy
framework factories exported from @santi020k/eslint-config-basic), or an
imported module with a default export. Any other value throws a descriptive
TypeError (see resolveFramework in @santi020k/eslint-config-basic).
LibraryName
Section titled “LibraryName”LibraryName =
`${Library}`
Defined in: core/src/types.ts:272
LibraryOption
Section titled “LibraryOption”LibraryOption =
Library|LibraryName
Defined in: core/src/types.ts:273
NextModeName
Section titled “NextModeName”NextModeName =
`${NextMode}`
Defined in: core/src/types.ts:274
NextModeOption
Section titled “NextModeOption”NextModeOption =
NextMode|NextModeName
Defined in: core/src/types.ts:275
NormalizedStrictMode
Section titled “NormalizedStrictMode”NormalizedStrictMode =
"ci"|"pedantic"|"recommended"
Defined in: core/src/compose.ts:5
OptionalBucket
Section titled “OptionalBucket”OptionalBucket =
"extensions"|"formats"|"libraries"|"testing"|"tools"
Defined in: core/src/config-helpers.ts:81
OptionalConfigMap
Section titled “OptionalConfigMap”OptionalConfigMap =
Partial<Record<OptionalConfigName,boolean>>
Defined in: core/src/types.ts:282
Simple opt-in/opt-out map for optional configs. Keys match the public enum
string values, so both features: { zod: true } and libraries: [Library.Zod]
resolve to the same underlying config.
OptionalConfigName
Section titled “OptionalConfigName”OptionalConfigName =
ExtensionName|FormatName|LibraryName|TestingName|ToolName
Defined in: core/src/types.ts:283
PresetName
Section titled “PresetName”PresetName =
`${Preset}`
Defined in: core/src/types.ts:289
PresetOption
Section titled “PresetOption”PresetOption =
Preset|PresetName
Defined in: core/src/types.ts:290
ProjectConfigOptions
Section titled “ProjectConfigOptions”ProjectConfigOptions =
Omit<EslintConfigOptions,"projectDefaults"|"projects">
Defined in: core/src/types.ts:558
RuntimeName
Section titled “RuntimeName”RuntimeName =
`${Runtime}`
Defined in: core/src/types.ts:291
RuntimeOption
Section titled “RuntimeOption”RuntimeOption =
Runtime|RuntimeName
Defined in: core/src/types.ts:292
SettingName
Section titled “SettingName”SettingName =
`${Setting}`
Defined in: core/src/types.ts:293
SettingOption
Section titled “SettingOption”SettingOption =
Setting|SettingName
Defined in: core/src/types.ts:294
StrictMode
Section titled “StrictMode”StrictMode =
"ci"|"pedantic"|"recommended"|boolean
Defined in: core/src/types.ts:298
Severity profiles for teams adopting the config progressively.
TestingName
Section titled “TestingName”TestingName =
`${Testing}`
Defined in: core/src/types.ts:312
TestingOption
Section titled “TestingOption”TestingOption =
Testing|TestingName
Defined in: core/src/types.ts:314
ToolName
Section titled “ToolName”ToolName =
`${Tool}`
Defined in: core/src/types.ts:316
ToolOption
Section titled “ToolOption”Defined in: core/src/types.ts:318
TypeScriptMode
Section titled “TypeScriptMode”TypeScriptMode =
"off"|"strict"|"syntax"|"type-aware"
Defined in: core/src/types.ts:320
Variables
Section titled “Variables”__detectionInternals
Section titled “__detectionInternals”
const__detectionInternals:object
Defined in: core/src/utils/detection.ts:474
Internal detection helpers exposed for focused unit tests. Do not use these in application code.
Type Declaration
Section titled “Type Declaration”clearDetectionCache
Section titled “clearDetectionCache”clearDetectionCache: () =>
void
Returns
Section titled “Returns”void
collectAllDependencies
Section titled “collectAllDependencies”collectAllDependencies: (
pkg) =>DependencyMap
Parameters
Section titled “Parameters”PackageJson
Returns
Section titled “Returns”DependencyMap
createDefaultOptions
Section titled “createDefaultOptions”createDefaultOptions: () =>
EslintConfigOptions
Returns
Section titled “Returns”createRuntimeSetter
Section titled “createRuntimeSetter”createRuntimeSetter: (
options) => (runtime) =>void
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”(runtime) => void
dedupe
Section titled “dedupe”dedupe: <
T>(values) =>T[]
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”values?
Section titled “values?”T[] = \[\]
Returns
Section titled “Returns”T[]
detectExtensions
Section titled “detectExtensions”detectExtensions: (
allDeps) =>Extension[]
Parameters
Section titled “Parameters”allDeps
Section titled “allDeps”DependencyMap
Returns
Section titled “Returns”detectFormats
Section titled “detectFormats”detectFormats: (
allDeps,detectRootDir) =>Format[]
Parameters
Section titled “Parameters”allDeps
Section titled “allDeps”DependencyMap
detectRootDir
Section titled “detectRootDir”string
Returns
Section titled “Returns”Format[]
detectFrameworks
Section titled “detectFrameworks”detectFrameworks: (
allDeps,detectRootDir,setRuntime) =>DetectedFrameworkName[] |undefined
Parameters
Section titled “Parameters”allDeps
Section titled “allDeps”DependencyMap
detectRootDir
Section titled “detectRootDir”string
setRuntime
Section titled “setRuntime”(runtime) => void
Returns
Section titled “Returns”DetectedFrameworkName[] | undefined
detectLibraries
Section titled “detectLibraries”detectLibraries: (
allDeps) =>Library[]
Parameters
Section titled “Parameters”allDeps
Section titled “allDeps”DependencyMap
Returns
Section titled “Returns”Library[]
detectNextMode
Section titled “detectNextMode”detectNextMode: (
allDeps,detectRootDir) =>NextMode|undefined
Parameters
Section titled “Parameters”allDeps
Section titled “allDeps”DependencyMap
detectRootDir
Section titled “detectRootDir”string
Returns
Section titled “Returns”NextMode | undefined
detectProjects
Section titled “detectProjects”detectProjects: (
pkg,detectRootDir) =>NonNullable<EslintConfigOptions["projects"]>
Parameters
Section titled “Parameters”PackageJson
detectRootDir
Section titled “detectRootDir”string
Returns
Section titled “Returns”NonNullable<EslintConfigOptions["projects"]>
detectRuntime
Section titled “detectRuntime”detectRuntime: (
allDeps,detectRootDir,_detectedFrameworks,setRuntime,frameworkHasSetRuntime) =>void
Parameters
Section titled “Parameters”allDeps
Section titled “allDeps”DependencyMap
detectRootDir
Section titled “detectRootDir”string
_detectedFrameworks
Section titled “_detectedFrameworks”DetectedFrameworkName[] | undefined
setRuntime
Section titled “setRuntime”(runtime) => void
frameworkHasSetRuntime?
Section titled “frameworkHasSetRuntime?”boolean = false
Returns
Section titled “Returns”void
detectTesting
Section titled “detectTesting”detectTesting: (
allDeps) =>Testing[]
Parameters
Section titled “Parameters”allDeps
Section titled “allDeps”DependencyMap
Returns
Section titled “Returns”Testing[]
detectTools
Section titled “detectTools”detectTools: (
allDeps,detectRootDir) =>Tool[]
Parameters
Section titled “Parameters”allDeps
Section titled “allDeps”DependencyMap
detectRootDir
Section titled “detectRootDir”string
Returns
Section titled “Returns”Tool[]
detectTypescript
Section titled “detectTypescript”detectTypescript: (
detectRootDir) =>boolean
Parameters
Section titled “Parameters”detectRootDir
Section titled “detectRootDir”string
Returns
Section titled “Returns”boolean
parsePnpmWorkspacePatterns
Section titled “parsePnpmWorkspacePatterns”parsePnpmWorkspacePatterns: (
detectRootDir) =>string[]
Parameters
Section titled “Parameters”detectRootDir
Section titled “detectRootDir”string
Returns
Section titled “Returns”string[]
pathExists
Section titled “pathExists”pathExists: (
path) =>boolean
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
resolvePreset
Section titled “resolvePreset”resolvePreset: (
options) =>Preset
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”coreConfig
Section titled “coreConfig”
constcoreConfig:TSESLint.FlatConfig.ConfigArray
Defined in: core/src/index.ts:164
Core JavaScript ESLint configuration (Universal runtime by default) This is included by default in all configurations
DEFAULT_IGNORES
Section titled “DEFAULT_IGNORES”
constDEFAULT_IGNORES:string[]
Defined in: core/src/config-helpers.ts:22
GENERATED_CODE_IGNORES
Section titled “GENERATED_CODE_IGNORES”
constGENERATED_CODE_IGNORES:string[]
Defined in: core/src/config-helpers.ts:60
gitignore
Section titled “gitignore”
constgitignore:TSESLint.FlatConfig.ConfigArray
Defined in: core/src/settings/gitignore.ts:13
GLOB_ASTRO
Section titled “GLOB_ASTRO”
constGLOB_ASTRO:string[]
Defined in: core/src/types.ts:13
GLOB_JS
Section titled “GLOB_JS”
constGLOB_JS:string[]
Defined in: core/src/types.ts:6
Global file patterns for JavaScript-compatible files
GLOB_JS_TS
Section titled “GLOB_JS_TS”
constGLOB_JS_TS:string[]
Defined in: core/src/types.ts:10
GLOB_JS_TS_ALL
Section titled “GLOB_JS_TS_ALL”
constGLOB_JS_TS_ALL:string[]
Defined in: core/src/types.ts:15
GLOB_SLOT
Section titled “GLOB_SLOT”
constGLOB_SLOT:string[]
Defined in: core/src/types.ts:14
GLOB_SVELTE
Section titled “GLOB_SVELTE”
constGLOB_SVELTE:string[]
Defined in: core/src/types.ts:12
GLOB_TS
Section titled “GLOB_TS”
constGLOB_TS:string[]
Defined in: core/src/types.ts:8
GLOB_VIRTUAL_TS
Section titled “GLOB_VIRTUAL_TS”
constGLOB_VIRTUAL_TS:string[]
Defined in: core/src/types.ts:17
GLOB_VUE
Section titled “GLOB_VUE”
constGLOB_VUE:string[]
Defined in: core/src/types.ts:11
groups
Section titled “groups”
constgroups:string[][]
Defined in: core/src/rules.ts:144
Default import sort groups used by the core config. Export allows downstream packages and end users to reference or extend them.
OPTIONAL_BUCKETS
Section titled “OPTIONAL_BUCKETS”
constOPTIONAL_BUCKETS:object
Defined in: core/src/config-helpers.ts:83
Type Declaration
Section titled “Type Declaration”extensions
Section titled “extensions”
readonlyextensions:Extension[]
formats
Section titled “formats”
readonlyformats:Format[]
libraries
Section titled “libraries”
readonlylibraries:Library[]
testing
Section titled “testing”
readonlytesting:Testing[]
readonlytools:Tool[]
ReactConfigKeys
Section titled “ReactConfigKeys”
constReactConfigKeys: readonly ["react","next","expo","react-router","remix"]
Defined in: core/src/types.ts:333
Array of configurations that require React Note: These are now used internally for auto-detection and globals
construles:TSESLint.Linter.RulesRecord
Defined in: core/src/rules.ts:148
TAILWIND_ENTRYPOINT_CANDIDATES
Section titled “TAILWIND_ENTRYPOINT_CANDIDATES”
constTAILWIND_ENTRYPOINT_CANDIDATES:string[]
Defined in: core/src/config-helpers.ts:72
Functions
Section titled “Functions”applyArrayControls()
Section titled “applyArrayControls()”applyArrayControls(
controls,detected):object
Defined in: core/src/config-helpers.ts:284
Parameters
Section titled “Parameters”controls
Section titled “controls”Required<DetectionOptions>
detected
Section titled “detected”Returns
Section titled “Returns”object
detectedFrameworks
Section titled “detectedFrameworks”detectedFrameworks:
DetectedFrameworkName[] |undefined
extensions
Section titled “extensions”extensions:
ExtensionOption[] |undefined
formats
Section titled “formats”formats:
FormatOption[] |undefined
libraries
Section titled “libraries”libraries:
LibraryOption[] |undefined
testing
Section titled “testing”testing:
TestingOption[] |undefined
tools:
ToolOption[] |undefined
applyDetectionControls()
Section titled “applyDetectionControls()”applyDetectionControls(
detected,detection,defaults?):EslintConfigOptions
Defined in: core/src/config-helpers.ts:301
Parameters
Section titled “Parameters”detected
Section titled “detected”detection
Section titled “detection”boolean | DetectionOptions | undefined
defaults?
Section titled “defaults?”Partial<Required<DetectionOptions>>
Returns
Section titled “Returns”applyFeatureDisables()
Section titled “applyFeatureDisables()”applyFeatureDisables<
T>(values,options,bucket):T[]
Defined in: core/src/config-helpers.ts:137
Type Parameters
Section titled “Type Parameters”T extends string
Parameters
Section titled “Parameters”values
Section titled “values”T[]
options
Section titled “options”EslintConfigOptions | undefined
bucket
Section titled “bucket”Returns
Section titled “Returns”T[]
applyScalarControls()
Section titled “applyScalarControls()”applyScalarControls(
controls,detected):object
Defined in: core/src/config-helpers.ts:293
Parameters
Section titled “Parameters”controls
Section titled “controls”Required<DetectionOptions>
detected
Section titled “detected”Returns
Section titled “Returns”object
nextMode
Section titled “nextMode”nextMode:
NextModeOption|undefined
preset
Section titled “preset”preset:
PresetOption|undefined
projects
Section titled “projects”projects:
Record<string,ProjectConfigOptions> |undefined
runtime
Section titled “runtime”runtime:
RuntimeOption|undefined
typescript
Section titled “typescript”typescript:
boolean|TypeScriptMode|TypeScriptOptions|undefined
applyStrictMode()
Section titled “applyStrictMode()”applyStrictMode(
configs,strict):ConfigArray
Defined in: core/src/compose.ts:32
Applies strict mode by promoting all ‘warn’ rules to ‘error’.
Parameters
Section titled “Parameters”configs
Section titled “configs”ConfigArray
strict
Section titled “strict”boolean | NormalizedStrictMode | undefined
Returns
Section titled “Returns”ConfigArray
applyStrictProfileDefaults()
Section titled “applyStrictProfileDefaults()”applyStrictProfileDefaults(
extensions,strict):Extension[]
Defined in: core/src/config-helpers.ts:316
Parameters
Section titled “Parameters”extensions
Section titled “extensions”strict
Section titled “strict”StrictMode | undefined
Returns
Section titled “Returns”createCoreConfig()
Section titled “createCoreConfig()”createCoreConfig(
runtime?):ConfigArray
Defined in: core/src/index.ts:72
Creates the core config with the specified runtime globals
Parameters
Section titled “Parameters”runtime?
Section titled “runtime?”Runtime = Runtime.Universal
Returns
Section titled “Returns”ConfigArray
createImportGroups()
Section titled “createImportGroups()”createImportGroups(
options?):string[][]
Defined in: core/src/rules.ts:70
Creates the groups array for simple-import-sort/imports.
Group ordering (each becomes its own import section):
- Side effects — polyfills,
reflect-metadata,zone.js - Node built-ins —
node:fsand legacyfs - Framework virtual modules — Vite
virtual:, Astroastro:, SvelteKit$app/$env/$lib, Nuxt#imports - Internal UI / presentation layer —
components/,@/pages/, etc. - Internal application / logic layer —
store/,@/hooks/, etc. - Style imports —
.css,.scss,.sass,@/styles/theme.css,./Button.module.css - Workspace packages (when
workspacePrefixesis set) —@acme/shared - External npm packages —
react,@tanstack/query - Remaining internal aliases —
@/,~/,#, custom extras - Parent-relative imports —
../ - Same-directory relative imports —
./
Why internal layers and styles come before externals:
Bare internal paths like components/Button and bare CSS like theme.css match
^@?\w. Placing these groups first ensures correct classification before falling
through to the npm packages group.
Parameters
Section titled “Parameters”options?
Section titled “options?”ImportGroupOptions = {}
Returns
Section titled “Returns”string[][]
createModuleLoader()
Section titled “createModuleLoader()”createModuleLoader(
resolveFn): <T>(specifier) =>Promise<T>
Defined in: core/src/lazy.ts:23
Parameters
Section titled “Parameters”resolveFn
Section titled “resolveFn”(specifier) => string
Returns
Section titled “Returns”<T>(specifier) => Promise<T>
detectProjectOptions()
Section titled “detectProjectOptions()”detectProjectOptions(
detectRootDir?):EslintConfigOptions
Defined in: core/src/utils/detection.ts:500
Automatically detects project settings based on package.json content
Parameters
Section titled “Parameters”detectRootDir?
Section titled “detectRootDir?”string = ...
Root directory used for dependency/file detection (defaults to process.cwd())
Returns
Section titled “Returns”Detected ESLint configuration options
findTailwindEntryPoint()
Section titled “findTailwindEntryPoint()”findTailwindEntryPoint(
rootDir):string|undefined
Defined in: core/src/config-helpers.ts:361
Parameters
Section titled “Parameters”rootDir
Section titled “rootDir”string
Returns
Section titled “Returns”string | undefined
flattenConfigInputs()
Section titled “flattenConfigInputs()”flattenConfigInputs(
configs):ConfigArray
Defined in: core/src/config-helpers.ts:93
Parameters
Section titled “Parameters”configs
Section titled “configs”Returns
Section titled “Returns”ConfigArray
getFeatureEntries()
Section titled “getFeatureEntries()”getFeatureEntries(
options,bucket,enabled):string[]
Defined in: core/src/config-helpers.ts:126
Parameters
Section titled “Parameters”options
Section titled “options”EslintConfigOptions | undefined
bucket
Section titled “bucket”enabled
Section titled “enabled”boolean
Returns
Section titled “Returns”string[]
getGlobalsForRuntime()
Section titled “getGlobalsForRuntime()”getGlobalsForRuntime(
runtime?):GlobalsConfig|undefined
Defined in: core/src/index.ts:22
Returns the appropriate globals for the given runtime option
Parameters
Section titled “Parameters”runtime?
Section titled “runtime?”Runtime = Runtime.Universal
Returns
Section titled “Returns”GlobalsConfig | undefined
getStrictMode()
Section titled “getStrictMode()”getStrictMode(
explicitStrict,presetStrict):StrictMode|undefined
Defined in: core/src/config-helpers.ts:311
Parameters
Section titled “Parameters”explicitStrict
Section titled “explicitStrict”StrictMode | undefined
presetStrict
Section titled “presetStrict”StrictMode | undefined
Returns
Section titled “Returns”StrictMode | undefined
hasReactConfig()
Section titled “hasReactConfig()”hasReactConfig(
options?):boolean
Defined in: core/src/utils/index.ts:9
Checks if the provided EslintConfigOptions includes any React-specific configurations.
Parameters
Section titled “Parameters”options?
Section titled “options?”ESLint configuration options.
Returns
Section titled “Returns”boolean
True if any React configuration is detected, false otherwise.
hasTsconfig()
Section titled “hasTsconfig()”hasTsconfig(
rootDir):boolean
Defined in: core/src/config-helpers.ts:325
Parameters
Section titled “Parameters”rootDir
Section titled “rootDir”string
Returns
Section titled “Returns”boolean
isOptionalBucketValue()
Section titled “isOptionalBucketValue()”isOptionalBucketValue(
bucket,value):boolean
Defined in: core/src/config-helpers.ts:120
Parameters
Section titled “Parameters”bucket
Section titled “bucket”string
Returns
Section titled “Returns”boolean
loadModule()
Section titled “loadModule()”loadModule<
T>(specifier):Promise<T>
Defined in: core/src/lazy.ts:48
Type Parameters
Section titled “Type Parameters”T = unknown
Parameters
Section titled “Parameters”specifier
Section titled “specifier”string
Returns
Section titled “Returns”Promise<T>
mergeArrayOption()
Section titled “mergeArrayOption()”mergeArrayOption<
T>(detectedValues,presetValues,explicitValues,strategy):T[]
Defined in: core/src/config-helpers.ts:99
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”detectedValues
Section titled “detectedValues”T[]
presetValues
Section titled “presetValues”T[] | undefined
explicitValues
Section titled “explicitValues”T[] | undefined
strategy
Section titled “strategy”"merge" | "replace"
Returns
Section titled “Returns”T[]
mergeFrameworkOption()
Section titled “mergeFrameworkOption()”mergeFrameworkOption(
detectedFrameworks,presetFrameworks,explicitFrameworks,strategy):object
Defined in: core/src/config-helpers.ts:168
Parameters
Section titled “Parameters”detectedFrameworks
Section titled “detectedFrameworks”Record<string, ImportedFramework>
presetFrameworks
Section titled “presetFrameworks”Record<string, ImportedFramework> | undefined
explicitFrameworks
Section titled “explicitFrameworks”Record<string, ImportedFramework> | undefined
strategy
Section titled “strategy”"merge" | "replace"
Returns
Section titled “Returns”angular?
Section titled “angular?”
optionalangular?:ImportedFramework
astro?
Section titled “astro?”
optionalastro?:ImportedFramework
optionalexpo?:ImportedFramework
optionalhono?:ImportedFramework
optionallit?:ImportedFramework
optionalnest?:ImportedFramework
optionalnext?:ImportedFramework
optionalnuxt?:ImportedFramework
preact?
Section titled “preact?”
optionalpreact?:ImportedFramework
optionalqwik?:ImportedFramework
react?
Section titled “react?”
optionalreact?:ImportedFramework
react-router?
Section titled “react-router?”
optionalreact-router?:ImportedFramework
New name for Remix projects on React Router v7+.
remix?
Section titled “remix?”
optionalremix?:ImportedFramework
Deprecated
Section titled “Deprecated”Remix merged into React Router v7 — use react-router instead.
slidev?
Section titled “slidev?”
optionalslidev?:ImportedFramework
solid?
Section titled “solid?”
optionalsolid?:ImportedFramework
svelte?
Section titled “svelte?”
optionalsvelte?:ImportedFramework
tanstack-start?
Section titled “tanstack-start?”
optionaltanstack-start?:ImportedFramework
TanStack Start (React/Solid full-stack framework).
optionalvite?:ImportedFramework
optionalvue?:ImportedFramework
mergeOptionalBucket()
Section titled “mergeOptionalBucket()”mergeOptionalBucket<
T>(bucket,detectedValues,presetValues,explicitValues,options,strategy):T[]
Defined in: core/src/config-helpers.ts:147
Type Parameters
Section titled “Type Parameters”T extends string
Parameters
Section titled “Parameters”bucket
Section titled “bucket”detectedValues
Section titled “detectedValues”T[]
presetValues
Section titled “presetValues”T[] | undefined
explicitValues
Section titled “explicitValues”T[] | undefined
options
Section titled “options”EslintConfigOptions | undefined
strategy
Section titled “strategy”"merge" | "replace"
Returns
Section titled “Returns”T[]
mergeProjectOptions()
Section titled “mergeProjectOptions()”mergeProjectOptions(
defaults,project):ProjectConfigOptions
Defined in: core/src/config-helpers.ts:218
Applies shared monorepo defaults to one project configuration. Scalar values are overridden by the project, while arrays and option maps inherit and merge unless the project selects the replace strategy.
Parameters
Section titled “Parameters”defaults
Section titled “defaults”project
Section titled “project”Returns
Section titled “Returns”normalizeStrictMode()
Section titled “normalizeStrictMode()”normalizeStrictMode(
strict):NormalizedStrictMode
Defined in: core/src/compose.ts:7
Parameters
Section titled “Parameters”strict
Section titled “strict”boolean | NormalizedStrictMode | undefined
Returns
Section titled “Returns”patchImportGroups()
Section titled “patchImportGroups()”patchImportGroups(
allConfigs,workspacePrefixes):ConfigArray
Defined in: core/src/config-helpers.ts:429
Parameters
Section titled “Parameters”allConfigs
Section titled “allConfigs”ConfigArray
workspacePrefixes
Section titled “workspacePrefixes”string[]
Returns
Section titled “Returns”ConfigArray
patchImportGroupsConfig()
Section titled “patchImportGroupsConfig()”patchImportGroupsConfig(
config,workspacePatterns):Config
Defined in: core/src/config-helpers.ts:401
Parameters
Section titled “Parameters”config
Section titled “config”Config
workspacePatterns
Section titled “workspacePatterns”string[]
Returns
Section titled “Returns”Config
resolveDetectionOptions()
Section titled “resolveDetectionOptions()”resolveDetectionOptions(
detection,defaults?):Required<DetectionOptions>
Defined in: core/src/config-helpers.ts:250
Parameters
Section titled “Parameters”detection
Section titled “detection”boolean | DetectionOptions | undefined
defaults?
Section titled “defaults?”Partial<Required<DetectionOptions>> = {}
Returns
Section titled “Returns”Required<DetectionOptions>
resolveTsconfigRootDir()
Section titled “resolveTsconfigRootDir()”resolveTsconfigRootDir(
rootDir,typescript,explicitRootDir):string|undefined
Defined in: core/src/config-helpers.ts:351
Parameters
Section titled “Parameters”rootDir
Section titled “rootDir”string
typescript
Section titled “typescript”boolean | TypeScriptMode | TypeScriptOptions | undefined
explicitRootDir
Section titled “explicitRootDir”string | undefined
Returns
Section titled “Returns”string | undefined
resolveTypescriptOptions()
Section titled “resolveTypescriptOptions()”resolveTypescriptOptions(
typescript):false|TypeScriptOptions&object
Defined in: core/src/config-helpers.ts:334
Parameters
Section titled “Parameters”typescript
Section titled “typescript”boolean | TypeScriptMode | TypeScriptOptions | undefined
Returns
Section titled “Returns”false | TypeScriptOptions & object
scopeConfigToProject()
Section titled “scopeConfigToProject()”scopeConfigToProject(
config,projectPath):Config
Defined in: core/src/config-helpers.ts:382
Parameters
Section titled “Parameters”config
Section titled “config”Config
projectPath
Section titled “projectPath”string
Returns
Section titled “Returns”Config
scopeFilePattern()
Section titled “scopeFilePattern()”scopeFilePattern(
projectPath,pattern):unknown
Defined in: core/src/config-helpers.ts:366
Parameters
Section titled “Parameters”projectPath
Section titled “projectPath”string
pattern
Section titled “pattern”unknown
Returns
Section titled “Returns”unknown
toUniqueArray()
Section titled “toUniqueArray()”toUniqueArray<
T>(values):T[]
Defined in: core/src/config-helpers.ts:20
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”values
Section titled “values”T[]
Returns
Section titled “Returns”T[]
References
Section titled “References”jsConfig
Section titled “jsConfig”Renames and re-exports coreConfig
Did this page help?
One click helps us spot documentation that needs another pass. No personal data is sent.