Naming and coding style convention, new linter tool. (#945)
* Makefile, Scripts: new linter * About: remove ID from IC * Firmware: remove double define for DIVC/DIVR * Scripts: check folder names too. Docker: replace syntax check with make lint. * Reformat Sources and Migrate to new file naming convention * Docker: symlink clang-format-12 to clang-format * Add coding style guide
This commit is contained in:
4
.github/workflows/lint_c.yml
vendored
4
.github/workflows/lint_c.yml
vendored
@@ -47,7 +47,7 @@ jobs:
|
||||
id: syntax_check
|
||||
uses: ./.github/actions/docker
|
||||
with:
|
||||
run: SET_GH_OUTPUT=1 /syntax_check.sh
|
||||
run: SET_GH_OUTPUT=1 make lint
|
||||
|
||||
- name: Report code formatting errors
|
||||
if: failure() && steps.syntax_check.outputs.errors && github.event.pull_request
|
||||
@@ -59,4 +59,4 @@ jobs:
|
||||
```
|
||||
${{ steps.syntax_check.outputs.errors }}
|
||||
```
|
||||
You might want to run `docker compose exec dev /syntax_check.sh` for an auto-fix.
|
||||
You might want to run `docker compose exec dev make format` for an auto-fix.
|
||||
|
||||
Reference in New Issue
Block a user