Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowans committed Jun 27, 2024
1 parent 5aeb485 commit cd400e0
Show file tree
Hide file tree
Showing 31 changed files with 852 additions and 855 deletions.
4 changes: 2 additions & 2 deletions public-typescript/adminDatabase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
import type { BulmaJS } from '@cityssm/bulma-js/types.js'
import type { cityssmGlobal } from '@cityssm/bulma-webapp-js/src/types.js'

import type * as globalTypes from '../types/globalTypes.js'
import type { LOS } from '../types/globalTypes.js'

declare const cityssm: cityssmGlobal
declare const bulmaJS: BulmaJS

declare const exports: Record<string, unknown>
;(() => {
const los = exports.los as globalTypes.LOS
const los = exports.los as LOS

function doBackup(): void {
cityssm.postJSON(
Expand Down
4 changes: 2 additions & 2 deletions public-typescript/adminFees.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
import type { BulmaJS } from '@cityssm/bulma-js/types.js'
import type { cityssmGlobal } from '@cityssm/bulma-webapp-js/src/types.js'

import type * as globalTypes from '../types/globalTypes.js'
import type { LOS } from '../types/globalTypes.js'
import type * as recordTypes from '../types/recordTypes.js'

declare const cityssm: cityssmGlobal
declare const bulmaJS: BulmaJS

declare const exports: Record<string, unknown>
;(() => {
const los = exports.los as globalTypes.LOS
const los = exports.los as LOS

const feeCategoriesContainerElement = document.querySelector(
'#container--feeCategories'
Expand Down
4 changes: 2 additions & 2 deletions public-typescript/adminLotTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import type { BulmaJS } from '@cityssm/bulma-js/types.js'
import type { cityssmGlobal } from '@cityssm/bulma-webapp-js/src/types.js'

import type * as globalTypes from '../types/globalTypes.js'
import type { LOS } from '../types/globalTypes.js'
import type * as recordTypes from '../types/recordTypes.js'

declare const cityssm: cityssmGlobal
Expand All @@ -23,7 +23,7 @@ type ResponseJSON =
errorMessage: string
}
;(() => {
const los = exports.los as globalTypes.LOS
const los = exports.los as LOS

const containerElement = document.querySelector(
'#container--lotTypes'
Expand Down
4 changes: 2 additions & 2 deletions public-typescript/adminOccupancyTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import type { BulmaJS } from '@cityssm/bulma-js/types.js'
import type { cityssmGlobal } from '@cityssm/bulma-webapp-js/src/types.js'

import type * as globalTypes from '../types/globalTypes.js'
import type { LOS } from '../types/globalTypes.js'
import type * as recordTypes from '../types/recordTypes.js'

declare const cityssm: cityssmGlobal
Expand All @@ -24,7 +24,7 @@ type ResponseJSON =
errorMessage: string
}
;(() => {
const los = exports.los as globalTypes.LOS
const los = exports.los as LOS

const occupancyTypesContainerElement = document.querySelector(
'#container--occupancyTypes'
Expand Down
4 changes: 2 additions & 2 deletions public-typescript/dashboard.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// eslint-disable-next-line @eslint-community/eslint-comments/disable-enable-pair
/* eslint-disable unicorn/prefer-module */

import type * as globalTypes from '../types/globalTypes.js'
import type { LOS } from '../types/globalTypes.js'

declare const exports: Record<string, unknown>
;(() => {
const los = exports.los as globalTypes.LOS
const los = exports.los as LOS

const workOrderNumberCircleElements: NodeListOf<HTMLElement> =
document.querySelectorAll('.fa-circle[data-work-order-number]')
Expand Down
164 changes: 84 additions & 80 deletions public-typescript/lotEdit.js

Large diffs are not rendered by default.

Loading

0 comments on commit cd400e0

Please sign in to comment.