mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-22 00:13:45 -05:00
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:
committed by
GitHub
parent
64db9a59f4
commit
bf505c2bd5
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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(
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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)}
|
||||
>
|
||||
|
||||
@@ -108,6 +108,7 @@ export function ActionableGridListItem<T extends object>({
|
||||
>
|
||||
{/* Main content */}
|
||||
<div
|
||||
role="button"
|
||||
style={{
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
|
||||
@@ -66,6 +66,7 @@ export function DesktopLinkedNotes({
|
||||
return (
|
||||
<>
|
||||
<span
|
||||
role="button"
|
||||
className={linkStyles}
|
||||
onMouseDown={e => e.stopPropagation()}
|
||||
onClick={handleClick}
|
||||
|
||||
@@ -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"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user