Skip to content

EslintConfigContext.sourceFolders

EslintConfigContext › sourceFolders

Type: string[]

The folders holding the project's sources, by default src alone. A workspace whose packages each have their own src adds them here, so the rules keyed on a file's name inside a source folder reach those packages too.