diff --git a/packages/react-native-bots/dangerfile.js b/packages/react-native-bots/dangerfile.js index 20f159258ae..032a788e421 100644 --- a/packages/react-native-bots/dangerfile.js +++ b/packages/react-native-bots/dangerfile.js @@ -15,7 +15,6 @@ const {danger, fail, /*message,*/ warn} = require('danger'); const includes = require('lodash.includes'); -const eslint = require('@seadub/danger-plugin-eslint'); const fetch = require('node-fetch'); const {validate: validateChangelog} = require('@rnx-kit/rn-changelog-generator').default; @@ -103,10 +102,6 @@ if (isMergeRefStable) { }); } -// Ensures that eslint is run from root folder and that it can find .eslintrc -process.chdir('../../'); -eslint.default(); - // Wait for statuses and post a message if there are failures. async function handleStatuses() { const regex = /Test Suites: \d+ failed/; diff --git a/packages/react-native-bots/package.json b/packages/react-native-bots/package.json index 40dfe8c2c18..961bdbd9d6b 100644 --- a/packages/react-native-bots/package.json +++ b/packages/react-native-bots/package.json @@ -15,9 +15,7 @@ }, "devDependencies": { "@rnx-kit/rn-changelog-generator": "^0.4.0", - "@seadub/danger-plugin-eslint": "^3.0.2", "danger": "^11.2.1", - "eslint": "^8.19.0", "lodash.includes": "^4.3.0", "minimatch": "^3.0.4" }, diff --git a/yarn.lock b/yarn.lock index 8115ae98f4c..1cc60361ef6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2554,11 +2554,6 @@ resolved "https://registry.yarnpkg.com/@rnx-kit/rn-changelog-generator/-/rn-changelog-generator-0.4.0.tgz#637d87bcf8de6e87599930ed88d9375010277660" integrity sha512-Igq/5lA6/bYSAdxfk43nbMXIt4yKIspds2fsv5eqgeg4elLeWfzHSEM3tU0wPDnOk4m3qzVEyO9fbtu616Dyhw== -"@seadub/danger-plugin-eslint@^3.0.2": - version "3.0.2" - resolved "https://registry.yarnpkg.com/@seadub/danger-plugin-eslint/-/danger-plugin-eslint-3.0.2.tgz#9a51d9f1a103a274264c30212234001de0b417c1" - integrity sha512-W+efX4mP04A8wMuLV0nV+iOj892Vrbyik+FyDZcGgpzkJFXX0UfDhOPZ0FonbSV0xM47DI5a8go88U/pBdGM2A== - "@sideway/address@^4.1.0": version "4.1.0" resolved "https://registry.yarnpkg.com/@sideway/address/-/address-4.1.0.tgz#0b301ada10ac4e0e3fa525c90615e0b61a72b78d"