flake-update-20260505
1# ast-grep configuration for home repository
2# https://ast-grep.github.io/reference/sgconfig.html
3
4ruleDirs:
5 - .ast-grep/rules
6
7testConfigs:
8 - testDir: test
9
10# Language file patterns
11languageGlobs:
12 nix:
13 - "**/*.nix"
14 bash:
15 - "**/*.sh"
16 go:
17 - "**/*.go"
18 python:
19 - "**/*.py"
20 yaml:
21 - "**/*.yaml"
22 - "**/*.yml"
23 json:
24 - "**/*.json"
25
26# Utility configurations
27utils:
28 # Common patterns
29 nix-attr-set:
30 language: nix
31 selector: attrset
32
33 bash-function:
34 language: bash
35 selector: function_definition
36
37 go-function:
38 language: go
39 selector: function_declaration
40
41# Global ignore patterns
42ignore:
43 - "result"
44 - "result-*"
45 - ".direnv"
46 - ".git"
47 - "node_modules"
48 - "**/.terraform"
49 - "**/vendor"