Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Update linters (major) #106

Merged
merged 2 commits into from Jul 10, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -12,14 +12,14 @@
"devDependencies": {
"@google/clasp": "2.4.0",
"@types/google-apps-script": "1.0.34",
"@typescript-eslint/eslint-plugin": "3.10.1",
"@typescript-eslint/parser": "3.10.1",
"@typescript-eslint/eslint-plugin": "4.28.2",
"@typescript-eslint/parser": "4.28.2",
"eslint": "7.30.0",
"eslint-config-standard": "14.1.1",
"eslint-config-standard": "16.0.3",
"eslint-plugin-googleappsscript": "1.0.4",
"eslint-plugin-import": "2.23.4",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.3.1",
"eslint-plugin-promise": "5.1.0",
"eslint-plugin-standard": "4.1.0"
}
}
30 changes: 15 additions & 15 deletions types/application.d.ts
@@ -1,15 +1,5 @@
import { Sheet } from './gas';

export interface ApplicationOptions {
sheetName: string;
executeStatusValue: string;
addedStatusValue: string;
lastRowStatusValue: string;
startLine: number;
event: EventOptions;
task: TaskOptions;
}

export interface EventOptions {
calendarId: string;
defaultTitle: string;
Expand All @@ -23,11 +13,14 @@ export interface TaskOptions {
parentTaskTitle: string;
}

export interface Settings {
sheet: Sheet;
rowNumber: number;
event: EventSettings;
task: TaskSettings;
export interface ApplicationOptions {
sheetName: string;
executeStatusValue: string;
addedStatusValue: string;
lastRowStatusValue: string;
startLine: number;
event: EventOptions;
task: TaskOptions;
}

export interface EventSettings {
Expand All @@ -47,6 +40,13 @@ export interface TaskSettings {
id: string;
}

export interface Settings {
sheet: Sheet;
rowNumber: number;
event: EventSettings;
task: TaskSettings;
}

export interface TaskInsertOptions {
due?: string;
parent?: string;
Expand Down