style: fix or silence linting errors in desktop-client
This commit is contained in:
parent
01be80d562
commit
3ee7ae16cc
3 changed files with 16 additions and 2 deletions
|
@ -84,7 +84,8 @@
|
||||||
"start:browser": "./bin/watch-browser",
|
"start:browser": "./bin/watch-browser",
|
||||||
"watch": "cross-env PORT=3001 node scripts/start.js",
|
"watch": "cross-env PORT=3001 node scripts/start.js",
|
||||||
"build": "cross-env INLINE_RUNTIME_CHUNK=false node scripts/build.js",
|
"build": "cross-env INLINE_RUNTIME_CHUNK=false node scripts/build.js",
|
||||||
"build:browser": "./bin/build-browser"
|
"build:browser": "./bin/build-browser",
|
||||||
|
"lint": "eslint src"
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
"electron 3.0"
|
"electron 3.0"
|
||||||
|
|
|
@ -8,8 +8,17 @@ import { initServer } from 'loot-core/src/platform/client/fetch';
|
||||||
import {
|
import {
|
||||||
generateTransaction,
|
generateTransaction,
|
||||||
generateAccount,
|
generateAccount,
|
||||||
generateCategoryGroups
|
generateCategoryGroups,
|
||||||
|
TestProvider
|
||||||
} from 'loot-core/src/mocks';
|
} from 'loot-core/src/mocks';
|
||||||
|
import {
|
||||||
|
addSplitTransaction,
|
||||||
|
realizeTempTransactions,
|
||||||
|
splitTransaction,
|
||||||
|
updateTransaction
|
||||||
|
} from 'loot-core/src/shared';
|
||||||
|
import { SelectedProviderWithItems } from 'loot-design/src/components';
|
||||||
|
import { SplitsExpandedProvider, TransactionTable } from './TransactionsTable';
|
||||||
const uuid = require('loot-core/src/platform/uuid');
|
const uuid = require('loot-core/src/platform/uuid');
|
||||||
|
|
||||||
const accounts = [generateAccount('Bank of America')];
|
const accounts = [generateAccount('Bank of America')];
|
||||||
|
|
|
@ -1,3 +1,7 @@
|
||||||
|
import React from 'react';
|
||||||
|
|
||||||
|
/* eslint-disable */
|
||||||
|
|
||||||
function BudgetSheetHeader({ row }) {
|
function BudgetSheetHeader({ row }) {
|
||||||
return (
|
return (
|
||||||
<Row style={{ zIndex: 200, backgroundColor: colors.grey1, marginLeft: 20 }}>
|
<Row style={{ zIndex: 200, backgroundColor: colors.grey1, marginLeft: 20 }}>
|
||||||
|
|
Loading…
Reference in a new issue