-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d34193
commit 044121a
Showing
11 changed files
with
98 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
root = true | ||
|
||
[*.{kt,kts}] | ||
ktlint_code_style = intellij_idea | ||
ktlint_standard_no_semi = disabled | ||
ktlint_standard_trailing-comma-on-call-site = disabled | ||
ktlint_standard_trailing-comma-on-declaration-site = disabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"indentation" : [ | ||
"on", { | ||
"Feature": 0, | ||
"Background": 2, | ||
"Scenario": 2, | ||
"Step": 4, | ||
"Examples": 4, | ||
"example": 6, | ||
"given": 4, | ||
"when": 4, | ||
"then": 4, | ||
"and": 4, | ||
"but": 4, | ||
"feature tag": 0, | ||
"scenario tag": 2 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,23 @@ | ||
--- | ||
name: Linter | ||
|
||
# Default shell is `sh` | ||
# which is old, use bourne-again version instead | ||
defaults: | ||
run: | ||
shell: bash | ||
name: MegaLinter | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
lint: | ||
name: Lint changes | ||
name: Lint project | ||
runs-on: ubuntu-latest | ||
env: | ||
APPLY_FIXES: none | ||
DISABLE: COPYPASTE,SPELL | ||
GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }} | ||
DISABLE_LINTERS: REPOSITORY_GITLEAKS | ||
DISABLE_ERRORS_LINTERS: PROTOBUF_PROTOLINT | ||
steps: | ||
- name: Checkout Code | ||
uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.ATALA_GITHUB_TOKEN }} | ||
fetch-depth: 0 | ||
# - name: Mega-Linter | ||
# id: ml | ||
# uses: megalinter/megalinter@v6 | ||
uses: actions/checkout@v4 | ||
|
||
- name: Mega-Linter | ||
uses: oxsecurity/megalinter@v7 | ||
|
||
- name: Archive production artifacts | ||
if: success() || failure() | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: Mega-Linter reports | ||
path: | | ||
megalinter-reports | ||
mega-linter.log | ||
path: megalinter-reports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ Pods/ | |
*yarn.lock | ||
dependinces.log | ||
node_modules | ||
megalinter-reports |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,12 @@ | ||
APPLY_FIXES: none | ||
FILTER_REGEX_EXCLUDE: (karma.config.js|polyfill.js|timeout.js|CHANGELOG.md) | ||
VALIDATE_ALL_CODEBASE: true | ||
REPOSITORY_DEVSKIM_DISABLE_ERRORS: true | ||
REPOSITORY_CHECKOV_DISABLE_ERRORS: true | ||
FILTER_REGEX_INCLUDE: (.editorconfig|.github/|atala-prism-sdk/src/|sampleapp/src/|protosLib/src/) | ||
FILTER_REGEX_EXCLUDE: (tests/) | ||
VALIDATE_ALL_CODEBASE: false | ||
|
||
DISABLE_LINTERS: | ||
- MARKDOWN_MARKDOWN_LINK_CHECK | ||
- C_CPPLINT | ||
- CPP_CPPLINT | ||
- BASH_SHELLCHECK | ||
- BASH_EXEC | ||
- REPOSITORY_CHECKOV | ||
ENABLE_LINTERS: | ||
- KOTLIN_KTLINT | ||
- GHERKIN_GHERKIN_LINT | ||
- ACTION_ACTIONLINT | ||
- MARKDOWN_MARKDOWN_TABLE_FORMATTER | ||
- MARKDOWN_MARKDOWNLINT | ||
|
||
DISABLE_ERRORS_LINTERS: | ||
- REPOSITORY_CHECKOV |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters