File tree Expand file tree Collapse file tree
android_kmp/config/detekt Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : MegaLinter
2+
3+ on :
4+ pull_request :
5+ branches :
6+ - main
7+
8+ concurrency :
9+ group : ${{ github.ref }}-${{ github.workflow }}
10+ cancel-in-progress : true
11+
12+ jobs :
13+ megalinter :
14+ name : MegaLinter
15+ runs-on : ubuntu-latest
16+
17+ # Give the default GITHUB_TOKEN write permission to commit and push, comment
18+ # issues, and post new Pull Requests; remove the ones you do not need
19+ permissions :
20+ contents : read
21+ pull-requests : write
22+
23+ steps :
24+ # Git Checkout
25+ - name : Checkout Code
26+ uses : actions/checkout@v4
27+ with :
28+ token : ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
29+
30+ # If you use VALIDATE_ALL_CODEBASE = true, you can remove this line to
31+ # improve performance
32+ fetch-depth : 0
33+
34+ # MegaLinter
35+ - name : MegaLinter
36+ uses : oxsecurity/megalinter@v8
37+
38+ id : ml
39+
40+ env :
41+ VALIDATE_ALL_CODEBASE : true
42+
43+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1+ # Configuration file for MegaLinter
2+ #
3+ # See all available variables at https://megalinter.io/latest/config-file/ and in
4+ # linters documentation
5+
6+ # all, none, or list of linter keys
7+ APPLY_FIXES : all
8+
9+ # If you use ENABLE variable, all other languages/formats/tooling-formats will
10+ # be disabled by default
11+ # ENABLE:
12+
13+ # If you use ENABLE_LINTERS variable, all other linters will be disabled by
14+ # default
15+ ENABLE_LINTERS :
16+ - YAML_PRETTIER
17+ - MARKDOWN_MARKDOWN_TABLE_FORMATTER
18+ - KOTLIN_DETEKT
19+ - DART_DARTANALYZER
20+ - SWIFT_SWIFTLINT
21+
22+ DISABLE :
23+ - COPYPASTE # Comment to enable checks of excessive copy-pastes
24+ - SPELL # Comment to enable checks of spelling mistakes
25+
26+ SHOW_ELAPSED_TIME : true
27+
28+ FILEIO_REPORTER : false
29+ # Uncomment if you want MegaLinter to detect errors but not block CI to pass
30+
31+ DISABLE_ERRORS : true
32+
33+ KOTLIN_DETEKT_ARGUMENTS : -c android_kmp/config/detekt/detekt.yml
34+ JAVASCRIPT_STANDARD_DISABLE_ERRORS : true
You can’t perform that action at this time.
0 commit comments