mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-21 15:36:50 -05:00
lint: move some more rules to oxlint/oxfmt and upgrade linter versions (#6398)
This commit is contained in:
committed by
GitHub
parent
7648446bbf
commit
094da46fb0
6
.github/workflows/docs-release.yml
vendored
6
.github/workflows/docs-release.yml
vendored
@@ -6,9 +6,9 @@ on:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- "packages/docs/**"
|
||||
- ".github/workflows/docs-spelling.yml"
|
||||
- ".github/actions/docs-spelling/**"
|
||||
- 'packages/docs/**'
|
||||
- '.github/workflows/docs-spelling.yml'
|
||||
- '.github/actions/docs-spelling/**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
18
.github/workflows/e2e-test.yml
vendored
18
.github/workflows/e2e-test.yml
vendored
@@ -3,15 +3,15 @@ name: E2E Tests
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "packages/**"
|
||||
- "package.json"
|
||||
- "yarn.lock"
|
||||
- ".github/workflows/e2e-test.yml"
|
||||
- "!packages/sync-server/**" # Sync server changes don't affect E2E tests
|
||||
- "!packages/api/**" # API changes don't affect E2E tests
|
||||
- "!packages/ci-actions/**" # CI actions changes don't affect E2E tests
|
||||
- "!packages/docs/**" # Docs changes don't affect E2E tests
|
||||
- "!packages/eslint-plugin-actual/**" # Eslint plugin changes don't affect E2E tests
|
||||
- 'packages/**'
|
||||
- 'package.json'
|
||||
- 'yarn.lock'
|
||||
- '.github/workflows/e2e-test.yml'
|
||||
- '!packages/sync-server/**' # Sync server changes don't affect E2E tests
|
||||
- '!packages/api/**' # API changes don't affect E2E tests
|
||||
- '!packages/ci-actions/**' # CI actions changes don't affect E2E tests
|
||||
- '!packages/docs/**' # Docs changes don't affect E2E tests
|
||||
- '!packages/eslint-plugin-actual/**' # Eslint plugin changes don't affect E2E tests
|
||||
|
||||
env:
|
||||
GITHUB_PR_NUMBER: ${{github.event.pull_request.number}}
|
||||
|
||||
8
.github/workflows/electron-master.yml
vendored
8
.github/workflows/electron-master.yml
vendored
@@ -194,11 +194,11 @@ jobs:
|
||||
uses: peter-evans/create-pull-request@v7
|
||||
with:
|
||||
token: ${{ secrets.FLATHUB_GITHUB_TOKEN }}
|
||||
commit-message: "Update Actual flatpak to version ${{ needs.build.outputs.version }}"
|
||||
branch: "release/${{ needs.build.outputs.version }}"
|
||||
title: "Update Actual flatpak to version ${{ needs.build.outputs.version }}"
|
||||
commit-message: 'Update Actual flatpak to version ${{ needs.build.outputs.version }}'
|
||||
branch: 'release/${{ needs.build.outputs.version }}'
|
||||
title: 'Update Actual flatpak to version ${{ needs.build.outputs.version }}'
|
||||
body: |
|
||||
This PR updates the Actual desktop flatpak to version ${{ needs.build.outputs.version }}.
|
||||
|
||||
:link: [View release notes](https://actualbudget.org/blog/release-${{ needs.build.outputs.version }})
|
||||
reviewers: "jfdoming,MatissJanis,youngcw" # The core team that have accepted the collaborator access to the Flathub repo
|
||||
reviewers: 'jfdoming,MatissJanis,youngcw' # The core team that have accepted the collaborator access to the Flathub repo
|
||||
|
||||
16
.github/workflows/electron-pr.yml
vendored
16
.github/workflows/electron-pr.yml
vendored
@@ -10,14 +10,14 @@ env:
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- "packages/**"
|
||||
- "package.json"
|
||||
- "yarn.lock"
|
||||
- ".github/workflows/electron-pr.yml"
|
||||
- "!packages/api/**" # API changes don't affect Electron
|
||||
- "!packages/ci-actions/**" # CI actions changes don't affect Electron
|
||||
- "!packages/docs/**" # Docs changes don't affect Electron
|
||||
- "!packages/eslint-plugin-actual/**" # Eslint plugin changes don't affect Electron
|
||||
- 'packages/**'
|
||||
- 'package.json'
|
||||
- 'yarn.lock'
|
||||
- '.github/workflows/electron-pr.yml'
|
||||
- '!packages/api/**' # API changes don't affect Electron
|
||||
- '!packages/ci-actions/**' # CI actions changes don't affect Electron
|
||||
- '!packages/docs/**' # Docs changes don't affect Electron
|
||||
- '!packages/eslint-plugin-actual/**' # Eslint plugin changes don't affect Electron
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
|
||||
|
||||
@@ -3,7 +3,7 @@ name: Publish nightly desktop app
|
||||
# Publish nightly version of desktop app - Runs every day at midnight
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
|
||||
defaults:
|
||||
|
||||
26
.github/workflows/size-compare.yml
vendored
26
.github/workflows/size-compare.yml
vendored
@@ -14,14 +14,14 @@ name: Compare Sizes
|
||||
on:
|
||||
pull_request_target:
|
||||
paths:
|
||||
- "packages/**"
|
||||
- "package.json"
|
||||
- "yarn.lock"
|
||||
- ".github/workflows/size-compare.yml"
|
||||
- "!packages/sync-server/**" # Sync server changes don't affect the size of the web/api
|
||||
- "!packages/ci-actions/**" # CI actions changes don't affect the size of the web/api
|
||||
- "!packages/docs/**" # Docs changes don't affect the size of the web/api
|
||||
- "!packages/eslint-plugin-actual/**" # Eslint plugin changes don't affect the size of the web/api
|
||||
- 'packages/**'
|
||||
- 'package.json'
|
||||
- 'yarn.lock'
|
||||
- '.github/workflows/size-compare.yml'
|
||||
- '!packages/sync-server/**' # Sync server changes don't affect the size of the web/api
|
||||
- '!packages/ci-actions/**' # CI actions changes don't affect the size of the web/api
|
||||
- '!packages/docs/**' # Docs changes don't affect the size of the web/api
|
||||
- '!packages/eslint-plugin-actual/**' # Eslint plugin changes don't affect the size of the web/api
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
@@ -41,7 +41,7 @@ jobs:
|
||||
- name: Set up environment
|
||||
uses: ./.github/actions/setup
|
||||
with:
|
||||
download-translations: "false"
|
||||
download-translations: 'false'
|
||||
|
||||
- name: Wait for ${{github.base_ref}} web build to succeed
|
||||
uses: fountainhead/action-wait-for-check@5a908a24814494009c4bb27c242ea38c93c593be # v1.2.0
|
||||
@@ -85,7 +85,7 @@ jobs:
|
||||
with:
|
||||
branch: ${{github.base_ref}}
|
||||
workflow: build.yml
|
||||
workflow_conclusion: "" # ignore the conclusion of the workflow, since we already checked it
|
||||
workflow_conclusion: '' # ignore the conclusion of the workflow, since we already checked it
|
||||
name: build-stats
|
||||
path: base
|
||||
- name: Download API build artifact from ${{github.base_ref}}
|
||||
@@ -94,7 +94,7 @@ jobs:
|
||||
with:
|
||||
branch: ${{github.base_ref}}
|
||||
workflow: build.yml
|
||||
workflow_conclusion: "" # ignore the conclusion of the workflow, since we already checked it
|
||||
workflow_conclusion: '' # ignore the conclusion of the workflow, since we already checked it
|
||||
name: api-build-stats
|
||||
path: base
|
||||
- name: Download build stats from PR
|
||||
@@ -102,7 +102,7 @@ jobs:
|
||||
with:
|
||||
pr: ${{github.event.pull_request.number}}
|
||||
workflow: build.yml
|
||||
workflow_conclusion: "" # ignore the conclusion of the workflow, since we already checked it
|
||||
workflow_conclusion: '' # ignore the conclusion of the workflow, since we already checked it
|
||||
name: build-stats
|
||||
path: head
|
||||
allow_forks: true
|
||||
@@ -111,7 +111,7 @@ jobs:
|
||||
with:
|
||||
pr: ${{github.event.pull_request.number}}
|
||||
workflow: build.yml
|
||||
workflow_conclusion: "" # ignore the conclusion of the workflow, since we already checked it
|
||||
workflow_conclusion: '' # ignore the conclusion of the workflow, since we already checked it
|
||||
name: api-build-stats
|
||||
path: head
|
||||
allow_forks: true
|
||||
|
||||
Reference in New Issue
Block a user