File tree Expand file tree Collapse file tree 5 files changed +71
-0
lines changed Expand file tree Collapse file tree 5 files changed +71
-0
lines changed Original file line number Diff line number Diff line change 1+ BasedOnStyle : LLVM
2+ IndentWidth : 2
Original file line number Diff line number Diff line change 1+ ---
2+ extends :
3+ - ' @commitlint/config-conventional'
Original file line number Diff line number Diff line change 1+ ---
2+ MD007 : # Unordered list indentation
3+ indent : 2 # Consider disable MD005 if things fail on ordered list
4+ MD013 : # Line length 80 is far to short
5+ line_length : 999 # We allow soft wrapped paragraphs and raw code outputs
6+ MD029 : false # Ordered list item prefix
7+ MD033 : false # Allow inline HTML
Original file line number Diff line number Diff line change 1+ ---
2+ extends : relaxed
3+
4+ rules :
5+ line-length :
6+ max : 128
7+ indentation :
8+ spaces : 2
9+ indent-sequences : true
Original file line number Diff line number Diff line change 1+ ---
2+ name : super-linter
3+
4+ on :
5+ pull_request :
6+ branches : [main]
7+
8+ permissions : {}
9+
10+ jobs :
11+ lint :
12+ name : Lint
13+ runs-on : ubuntu-latest
14+
15+ permissions :
16+ contents : read
17+
18+ steps :
19+ - name : Checkout with history
20+ uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+
24+ - name : Work around super-linter
25+ shell : bash
26+ run : |
27+ # Work-around for config file detection
28+ cp .github/linters/.commitlintrc.yml .commitlintrc.yml
29+ # Work-around for SHA detection
30+ # https://github.com/super-linter/super-linter/issues/6316#issuecomment-2510205626
31+ if [[ '${{ github.event_name }}' == 'pull_request' ]]; then
32+ echo 'GITHUB_BEFORE_SHA=${{ github.event.pull_request.base.sha }}' >> "${GITHUB_ENV}"
33+ fi
34+
35+ - name : Run super-linter
36+ uses : super-linter/super-linter/slim@v7.2.0
37+ env :
38+ # super-linter configurations
39+ MULTI_STATUS : false
40+ SUPPRESS_POSSUM : true
41+ VALIDATE_ALL_CODEBASE : false
42+ # language configurations
43+ VALIDATE_CLANG_FORMAT : true
44+ VALIDATE_MARKDOWN : true
45+ VALIDATE_YAML : true
46+ # misc configurations
47+ ENFORCE_COMMITLINT_CONFIGURATION_CHECK : true
48+ VALIDATE_GIT_COMMITLINT : true
49+ VALIDATE_GITHUB_ACTIONS : true
50+ VALIDATE_GITLEAKS : true
You can’t perform that action at this time.
0 commit comments