-
-
Notifications
You must be signed in to change notification settings - Fork 263
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Please read the FAQ for the bug you encountered.
- I have read the existing FAQ
β― Playground Link
π» Code
languageGlobs:
html: ['*.vue', '*.svelte', '*.astro']
json: ['.eslintrc']
π Actual behavior
ast-grep -p "Article"
Error: Cannot parse configuration
Help: The sgconfig.yml is not a valid configuration file. Please refer to doc and fix the error.
See also: https://ast-grep.github.io/reference/sgconfig.html
β Caused by
β°β» missing field `ruleDirs`
π Expected behavior
ast-grep to work. It seems to work if you add an empty ruleDirs
key.
Additional information about the issue
ast-grep --version
ast-grep 0.38.5
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request