-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #315 from Automattic/integrate_lint
Run lint and upload results to Github Code Scanning
- Loading branch information
Showing
9 changed files
with
45 additions
and
18 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash -u | ||
|
||
echo "--- 🧹 Linting" | ||
./gradlew :demo-app:lintRelease | ||
lint_exit_code=$? | ||
|
||
upload_sarif_to_github 'demo-app/build/reports/lint-results-release.sarif' | ||
|
||
exit $lint_exit_code |
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 +1 @@ | ||
export CI_TOOLKIT="automattic/a8c-ci-toolkit#3.5.1" | ||
export CI_TOOLKIT="automattic/a8c-ci-toolkit#3.7.0" |
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
2 changes: 1 addition & 1 deletion
2
gravatar-quickeditor/src/main/res/values/available_languages.xml
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,12 +1,5 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> | ||
|
||
<uses-permission android:name="android.permission.INTERNET"/> | ||
|
||
<application> | ||
<!-- Lib activities--> | ||
<activity | ||
android:name="com.yalantis.ucrop.UCropActivity" | ||
android:theme="@style/Theme.AppCompat.NoActionBar" /> | ||
</application> | ||
</manifest> | ||
<uses-permission android:name="android.permission.INTERNET" /> | ||
</manifest> |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<lint> | ||
<!-- i18n issues are ignored as the process is handled via GlotPress --> | ||
<issue id="MissingTranslation" severity="ignore" /> | ||
<issue id="ExtraTranslation" severity="ignore" /> | ||
|
||
<issue id="UnusedResources" severity="error"> | ||
<ignore path="demo-app"/> | ||
</issue> | ||
|
||
<!-- The special id "all" matches all issues but is only consulted if there is no specific match --> | ||
<!-- https://googlesamples.github.io/android-custom-lint-rules/user-guide.md.html#configuringusinglint.xmlfiles --> | ||
<issue id="all" > | ||
<ignore path="demo-app"/> | ||
</issue> | ||
</lint> |