Skip to content

Commit

Permalink
Compute expression and stylua don't get along, since it removes inden…
Browse files Browse the repository at this point in the history
…tation when it pre-computes the string concatenation, so go with rules that don't do any modifications.
  • Loading branch information
matthargett committed Nov 2, 2021
1 parent 3eb354f commit cc70f8a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .darklua.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
process: [
"compute_expression",
"remove_empty_do",
"remove_unused_if_branch",
"remove_unused_while"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: install and run darklua
run: |
cargo install --git https://gitlab.com/seaofvoices/darklua.git#v0.6.0
darklua process src/ src/ --format readable
darklua process src/ src/ --format retain-lines
- name: Test
run: |
Expand Down

0 comments on commit cc70f8a

Please sign in to comment.