Skip to content

Commit

Permalink
chore: re-enable linelint in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarlin-zama committed Jan 13, 2025
1 parent 3ad2662 commit 29b7969
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/cargo_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- name: Install and run newline linter checks
if: matrix.os == 'ubuntu-latest'
run: |
wget https://github.com/fernandrone/linelint/releases/download/0.0.6/linelint-linux-amd64
echo "16b70fb7b471d6f95cbdc0b4e5dc2b0ac9e84ba9ecdc488f7bdf13df823aca4b linelint-linux-amd64" > checksum
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/rebase_latest_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,3 @@ jobs:
env:
SLACK_COLOR: ${{ job.status }}
SLACK_MESSAGE: "backward-compat-data failed to rebase branch {{ env.DATA_LATEST_VERSION }} into main: (${{ env.ACTION_RUN_URL }})"

10 changes: 10 additions & 0 deletions .linelint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ignore:
- .git
- target
- "*.ron" # ron files are autogenerated

rules:
# checks if file ends in a newline character
end-of-file:
enable: true
single-new-line: true
2 changes: 1 addition & 1 deletion _typos.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[files]
extend-exclude = ["*.cbor"]
extend-exclude = ["*.cbor"]

0 comments on commit 29b7969

Please sign in to comment.