1 parent 8315750 commit 8b94074Copy full SHA for 8b94074
1 file changed
.github/workflows/doc-check-linter.yml
@@ -0,0 +1,30 @@
1
+name: Lint Code Base
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main # Or your primary branch
7
+ pull_request:
8
9
10
11
+jobs:
12
+ build:
13
+ name: Lint
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Checkout Code
17
+ uses: actions/checkout@v4
18
+ with:
19
+ # Super-Linter needs the full git history to get the
20
+ # list of files that changed across commits
21
+ fetch-depth: 0
22
23
+ - name: Super-Linter
24
+ uses: super-linter/super-linter@v6 # Use the latest stable version
25
+ env:
26
+ VALIDATE_HTML: true
27
+ VALIDATE_CSS: true
28
+ VALIDATE_JAVASCRIPT_ES: true # For modern JavaScript
29
+ VALIDATE_JAVASCRIPT_STANDARD: true # For standard JavaScript
30
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments