Skip to content

Commit b31beb8

Browse files
authored
Merge pull request #144 from sourcery-ai/ben/sou-1030-surface-rule-config-validation-errors-in
feat: include sourcery rules directory for yaml diagnostic collection
2 parents f7699ff + d935bb7 commit b31beb8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/extension.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ function createLangServer(): LanguageClient {
6161
{language: 'python', scheme: 'untitled'},
6262
{language: 'python', scheme: 'vscode-notebook-cell' },
6363
{language: 'yaml', pattern: '**/.sourcery.yaml'},
64-
{language: 'yaml', pattern: '**/sourcery.yaml'}
64+
{language: 'yaml', pattern: '**/sourcery.yaml'},
65+
{language: 'yaml', pattern: '**/.sourcery/rules/*.yaml'}
6566
],
6667
synchronize: {
6768
configurationSection: 'sourcery'

0 commit comments

Comments
 (0)