Page MenuHomePhabricator

D10541.id35241.diff
No OneTemporary

D10541.id35241.diff

diff --git a/.buildkite/eslint_flow_jest.yml b/.buildkite/eslint_flow_jest.yml
--- a/.buildkite/eslint_flow_jest.yml
+++ b/.buildkite/eslint_flow_jest.yml
@@ -1,6 +1,6 @@
steps:
- label: ':eslint: :jest: ESLint & Flow & Jest'
- command: '(pkill flow || true) && curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && . /root/.cargo/env && apt update && apt install -y cmake && yarn ci-cleaninstall && yarn eslint --max-warnings=0 && yarn flow-all && yarn jest-all'
+ command: '(pkill flow || true) && curl --proto "=https" --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && . /root/.cargo/env && apt update && apt install -y cmake && yarn ci-cleaninstall && yarn eslint:all --max-warnings=0 && yarn flow:all && yarn jest:all'
retry:
automatic: true
plugins:
diff --git a/.github/workflows/eslint_flow_jest.yml b/.github/workflows/eslint_flow_jest.yml
--- a/.github/workflows/eslint_flow_jest.yml
+++ b/.github/workflows/eslint_flow_jest.yml
@@ -22,8 +22,8 @@
- name: yarn ci-cleaninstall
run: yarn ci-cleaninstall
- - name: yarn eslint --max-warnings=0
- run: yarn eslint --max-warnings=0
+ - name: yarn eslint:all --max-warnings=0
+ run: yarn eslint:all --max-warnings=0
- name: '[lib] flow'
working-directory: ./lib
diff --git a/package.json b/package.json
--- a/package.json
+++ b/package.json
@@ -17,7 +17,7 @@
"clean": "yarn workspace lib clean && yarn workspace web clean && yarn workspace native clean && yarn workspace keyserver clean && yarn workspace landing clean && yarn workspace desktop clean && yarn workspace rust-node-addon clean && yarn workspace electron-update-server clean && rm -rf node_modules/",
"cleaninstall": "(killall flow || pkill flow || true) && yarn clean && yarn",
"ci-cleaninstall": "yarn cleaninstall --frozen-lockfile --skip-optional --network-timeout 180000",
- "eslint": "eslint .",
+ "eslint:all": "eslint .",
"eslint:fix": "eslint --fix .",
"clang-format-all": "eval `node scripts/get_clang_paths_cli.js` | xargs clang-format -i",
"rust-pre-commit": "./scripts/rust_pre_commit.sh",
@@ -25,8 +25,8 @@
"prepare": "husky install",
"arcpatch": "git pull --all --tags && arc patch",
"postinstall": "bash ./postinstall.sh",
- "flow-all": "yarn workspace lib flow && yarn workspace web flow && yarn workspace landing flow && yarn workspace native flow && yarn workspace keyserver flow && yarn workspace desktop flow && yarn workspace electron-update-server flow",
- "jest-all": "yarn workspace lib test && yarn workspace keyserver test && yarn workspace web test && yarn workspace native test"
+ "flow:all": "yarn workspace lib flow && yarn workspace web flow && yarn workspace landing flow && yarn workspace native flow && yarn workspace keyserver flow && yarn workspace desktop flow && yarn workspace electron-update-server flow",
+ "jest:all": "yarn workspace lib test && yarn workspace keyserver test && yarn workspace web test && yarn workspace native test"
},
"devDependencies": {
"@babel/eslint-parser": "^7.23.3",

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 3, 8:21 AM (21 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2610989
Default Alt Text
D10541.id35241.diff (3 KB)

Event Timeline