We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b148ad commit 5a18eb4Copy full SHA for 5a18eb4
.github/workflows/format_check.yml
@@ -0,0 +1,12 @@
1
+name: stylua
2
+on: [push, pull_request]
3
+
4
+jobs:
5
+ stylua:
6
+ runs-on: ubuntu-latest
7
+ steps:
8
+ - uses: actions/checkout@v2
9
+ - uses: JohnnyMorganz/stylua-action@1.0.0
10
+ with:
11
+ token: ${{ secrets.GITHUB_TOKEN }}
12
+ args: --check --config-path=stylua.toml .
stylua.toml
@@ -0,0 +1,6 @@
+column_width = 120
+line_endings = "Unix"
+indent_type = "Tabs"
+indent_width = 4
+quote_style = "AutoPreferDouble"
+call_parentheses = "Always"
0 commit comments