Skip to content

Commit ccc8ce0

Browse files
mateoguzmanafacebook-github-bot
authored andcommitted
Remove lint-java (#52092)
Summary: Following up from #52064 (comment), this PR removes lint-java and its related files. The codebase is moving entirely to Kotlin and a Kotlin linter is being setup as well, the usage of the Java linter will become unnecessary. ## Changelog: [INTERNAL] - Remove lint-java Pull Request resolved: #52092 Test Plan: Relying on CI here to be green. Reviewed By: cortinico Differential Revision: D76880712 Pulled By: sbuggay fbshipit-source-id: 2736772e7347f435b17d007e0322e1afc2fb2d7b
1 parent 1cc12ce commit ccc8ce0

File tree

4 files changed

+0
-213
lines changed

4 files changed

+0
-213
lines changed

.github/actions/lint/action.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ runs:
2626
- name: Lint code
2727
shell: bash
2828
run: ./.github/workflow-scripts/exec_swallow_error.sh yarn lint --format junit -o ./reports/junit/eslint/results.xml
29-
- name: Lint java
30-
shell: bash
31-
run: ./.github/workflow-scripts/exec_swallow_error.sh yarn lint-java --check
3229
- name: Lint file structure
3330
shell: bash
3431
run: ./.github/workflow-scripts/lint_files.sh

.github/workflow-scripts/analyze_code.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ export GITHUB_REPO=-react-native
1313

1414
echo flow
1515
npm run flow-check --silent --json
16-
17-
echo google-java-format
18-
node scripts/lint-java.js --diff
1916
} | node private/react-native-bots/code-analysis-bot.js
2017

2118
STATUS=$?

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
"format": "npm run prettier && npm run clang-format",
1818
"featureflags": "yarn --cwd packages/react-native featureflags",
1919
"lint-ci": "./.github/workflow-scripts/analyze_code.sh && yarn shellcheck",
20-
"lint-java": "node ./scripts/lint-java.js",
2120
"lint-markdown": "markdownlint-cli2 2>&1",
2221
"lint": "eslint --max-warnings 0 .",
2322
"prettier": "prettier --write \"./**/*.{js,md,yml,ts,tsx}\"",

scripts/lint-java.js

Lines changed: 0 additions & 206 deletions
This file was deleted.

0 commit comments

Comments
 (0)