Upgrade oxlint and oxfmt dependencies (#6560)

* Update oxlint and oxfmt versions, add suppressions for warnings

* Add release notes for PR #6560

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Matiss Janis Aboltins
2026-01-05 23:59:08 +01:00
committed by GitHub
parent 64db9a59f4
commit bf505c2bd5
26 changed files with 249 additions and 230 deletions

View File

@@ -5,6 +5,18 @@
"files": [
"build"
],
"scripts": {
"start": "cross-env PORT=3001 vite",
"start:browser": "cross-env ./bin/watch-browser",
"watch": "cross-env BROWSER=none yarn start",
"build": "vite build",
"build:browser": "cross-env ./bin/build-browser",
"generate:i18n": "i18next",
"test": "vitest --run",
"e2e": "npx playwright test --browser=chromium",
"vrt": "cross-env VRT=true npx playwright test --browser=chromium",
"playwright": "playwright"
},
"devDependencies": {
"@actual-app/components": "workspace:*",
"@codemirror/autocomplete": "^6.19.1",
@@ -84,17 +96,5 @@
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^4.0.9",
"xml2js": "^0.6.2"
},
"scripts": {
"start": "cross-env PORT=3001 vite",
"start:browser": "cross-env ./bin/watch-browser",
"watch": "cross-env BROWSER=none yarn start",
"build": "vite build",
"build:browser": "cross-env ./bin/build-browser",
"generate:i18n": "i18next",
"test": "vitest --run",
"e2e": "npx playwright test --browser=chromium",
"vrt": "cross-env VRT=true npx playwright test --browser=chromium",
"playwright": "playwright"
}
}

View File

@@ -528,6 +528,7 @@ class AccountInternal extends PureComponent<
});
}
// oxlint-disable-next-line react/no-unsafe
UNSAFE_componentWillReceiveProps(nextProps: AccountInternalProps) {
if (this.props.accountId !== nextProps.accountId) {
this.setState(

View File

@@ -470,6 +470,7 @@ export const ExpenseCategoryMonth = memo(function ExpenseCategoryMonth({
style={{ paddingRight: styles.monthRightPadding, textAlign: 'right' }}
>
<span
role="button"
onClick={() => {
resetBalancePosition(-6, -4);
setBalanceMenuOpen(true);
@@ -584,6 +585,7 @@ export function IncomeCategoryMonth({
}}
>
<span
role="button"
onClick={() => {
resetIncomePosition(-6, -4);
setIncomeMenuOpen(true);

View File

@@ -447,6 +447,7 @@ export const CategoryMonth = memo(function CategoryMonth({
style={{ paddingRight: styles.monthRightPadding, textAlign: 'right' }}
>
<span
role="button"
ref={triggerBalanceMenuRef}
onClick={() => !category.is_income && setBalanceMenuOpen(true)}
>

View File

@@ -108,6 +108,7 @@ export function ActionableGridListItem<T extends object>({
>
{/* Main content */}
<div
role="button"
style={{
display: 'flex',
alignItems: 'center',

View File

@@ -66,6 +66,7 @@ export function DesktopLinkedNotes({
return (
<>
<span
role="button"
className={linkStyles}
onMouseDown={e => e.stopPropagation()}
onClick={handleClick}

View File

@@ -11,8 +11,8 @@
"esModuleInterop": true,
"skipLibCheck": true,
"strict": false,
"types": ["vite/client"],
"types": ["vite/client"]
},
"include": ["src/plugin-service-worker.ts"],
"exclude": ["**/*.test.ts", "**/*.spec.ts"],
"exclude": ["**/*.test.ts", "**/*.spec.ts"]
}