Skip to content

Commit 8b94074

Browse files
Create doc-check-linter.yml
linter yaml file added
1 parent 8315750 commit 8b94074

1 file changed

Lines changed: 30 additions & 0 deletions

File tree

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
branches:
9+
- main # Or your primary branch
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

Comments
 (0)