Skip to content

Run *.sql through sql-formatter - #257

Merged
IsaacG merged 1 commit into
exercism:mainfrom
IsaacG:format
Aug 29, 2026
Merged

Run *.sql through sql-formatter#257
IsaacG merged 1 commit into
exercism:mainfrom
IsaacG:format

Conversation

@IsaacG

@IsaacG IsaacG commented Aug 29, 2026

Copy link
Copy Markdown
Member
find -name \*.sql |
while read f ; do
    sed -i 's/^\. /-- . /' "$f"
    sql-formatter --fix -l sqlite "$f"
    sed -i 's/^-- \. /. /' "$f"
done

```bash
find -name \*.sql |
while read f ; do
    sed -i 's/^\. /-- . /' "$f"
    sql-formatter --fix -l sqlite "$f"
    sed -i 's/^-- \. /. /' "$f"
done
```
@IsaacG IsaacG added x:size/large Large amount of work x:rep/large Large amount of reputation x:rep/medium Medium amount of reputation and removed x:rep/large Large amount of reputation labels Aug 29, 2026
@IsaacG
IsaacG merged commit c74901f into exercism:main Aug 29, 2026
6 checks passed
@IsaacG
IsaacG deleted the format branch August 29, 2026 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

x:rep/medium Medium amount of reputation x:size/large Large amount of work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant