Skip to content

Conversation

@ARtheboss
Copy link
Contributor

  • Moved all the localhost ports to 3000 series (8080->3000, 8081->3001, 8082->3002, 3000->3003)
  • Schedules page
    • fixed gap
    • readded delete button
  • Scheduler editor page
    • Fixed infinite loading bug
    • Fixed schedule renaming
    • Fixed what is visible to the user when not editing
    • Fixed timezone and date issues with calendar and exporting to calendar
  • Fixed type issues in Class component queries
  • Fixed class drawer

@github-actions
Copy link

Linting Failed

Note: The status check will always pass. Run npm run lint -- --continue to see the full output locally.

Click to expand lint output

> lint
> turbo run lint --continue --output-logs=errors-only

Turborepo did not find the correct binary for your platform.
We will attempt to install it now.
Installation has succeeded.

Attention:
Turborepo now collects completely anonymous telemetry regarding usage.
This information is used to shape the Turborepo roadmap and prioritize features.
You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
https://turborepo.com/docs/telemetry

• Packages in scope: @repo/common, @repo/eslint-config, @repo/gql-typedefs, @repo/shared, @repo/sis-api, @repo/storybook, @repo/theme, @repo/typescript-config, ag-frontend, backend, datapuller, frontend, staff-frontend
• Running lint in 13 packages
• Remote caching disabled
�[;31mstaff-frontend:lint�[;0m
cache miss, executing 32609d98f60219da

> lint
> eslint src/


Oops! Something went wrong! :(

ESLint: 9.39.2

file:///home/runner/work/berkeleytime/berkeleytime/apps/staff-frontend/eslint.config.mjs?mtime=1766722976539:1
import config from "@repo/eslint-config/index.mjs";
       ^^^^^^
SyntaxError: The requested module '@repo/eslint-config/index.mjs' does not provide an export named 'default'
    at ModuleJob._instantiate (node:internal/modules/esm/module_job:180:21)
    at async ModuleJob.run (node:internal/modules/esm/module_job:263:5)
    at async onImport.tracePromise.__proto__ (node:internal/modules/esm/loader:547:26)
    at async dynamicImportConfig (/home/runner/work/berkeleytime/berkeleytime/node_modules/eslint/lib/config/config-loader.js:186:17)
    at async loadConfigFile (/home/runner/work/berkeleytime/berkeleytime/node_modules/eslint/lib/config/config-loader.js:276:9)
    at async ConfigLoader.calculateConfigArray (/home/runner/work/berkeleytime/berkeleytime/node_modules/eslint/lib/config/config-loader.js:589:23)
    at async #calculateConfigArray (/home/runner/work/berkeleytime/berkeleytime/node_modules/eslint/lib/config/config-loader.js:743:23)
    at async entryFilter (/home/runner/work/berkeleytime/berkeleytime/node_modules/eslint/lib/eslint/eslint-helpers.js:322:5)
    at async NodeHfs.<anonymous> (file:///home/runner/work/berkeleytime/berkeleytime/node_modules/@humanfs/core/src/hfs.js:574:24)
    at async NodeHfs.walk (file:///home/runner/work/berkeleytime/berkeleytime/node_modules/@humanfs/core/src/hfs.js:614:3)
npm error Lifecycle script `lint` failed with error:
npm error code 2
npm error path /home/runner/work/berkeleytime/berkeleytime/apps/staff-frontend
npm error workspace staff-frontend
npm error location /home/runner/work/berkeleytime/berkeleytime/apps/staff-frontend
npm error command failed
npm error command sh -c eslint src/
[WARN] command finished with error, but continuing...
�[;31mag-frontend:lint�[;0m
cache miss, executing 2e2902590005cd44

> lint
> eslint src/


/home/runner/work/berkeleytime/berkeleytime/apps/ag-frontend/src/app/Landing/index.tsx
  25:27  error  'loading' is assigned a value but never used   @typescript-eslint/no-unused-vars
  25:36  error  'error' is assigned a value but never used     @typescript-eslint/no-unused-vars
  28:17  error  'setPosts' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/runner/work/berkeleytime/berkeleytime/apps/ag-frontend/src/components/CuratedClassEditor/index.tsx
  22:3  error  'GetCatalogResponse' is defined but never used  @typescript-eslint/no-unused-vars

✖ 4 problems (4 errors, 0 warnings)

npm error Lifecycle script `lint` failed with error:
npm error code 1
npm error path /home/runner/work/berkeleytime/berkeleytime/apps/ag-frontend
npm error workspace ag-frontend
npm error location /home/runner/work/berkeleytime/berkeleytime/apps/ag-frontend
npm error command failed
npm error command sh -c eslint src/
[WARN] command finished with error, but continuing...
�[;31mdatapuller:lint�[;0m
cache miss, executing 57c9c2adfd68abb5

> lint
> eslint src/


/home/runner/work/berkeleytime/berkeleytime/apps/datapuller/src/lib/api/sis-api.ts
   8:40  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   8:71  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  30:36  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  40:28  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  41:24  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  42:26  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  66:23  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/datapuller/src/lib/cache-warming.ts
  43:19  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/datapuller/src/lib/enrollment.ts
  52:7   error  Expected an assignment or function call and instead saw an expression                                       @typescript-eslint/no-unused-expressions
  54:7   error  Expected an assignment or function call and instead saw an expression                                       @typescript-eslint/no-unused-expressions
  96:24  error  Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong  @typescript-eslint/no-non-null-asserted-optional-chain

/home/runner/work/berkeleytime/berkeleytime/apps/datapuller/src/lib/sections.ts
  99:17  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/datapuller/src/main.ts
  20:43  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  56:19  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/datapuller/src/pullers/enrollment.ts
  185:22  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/datapuller/src/pullers/grade-distributions.ts
  142:7  error  'totalGradeDistributions' is never reassigned. Use 'const' instead  prefer-const
  143:7  error  'totalInserted' is never reassigned. Use 'const' instead            prefer-const
  188:7  error  'totalInserted' is assigned a value but never used                  @typescript-eslint/no-unused-vars

✖ 18 problems (18 errors, 0 warnings)
  2 errors and 0 warnings potentially fixable with the `--fix` option.

npm error Lifecycle script `lint` failed with error:
npm error code 1
npm error path /home/runner/work/berkeleytime/berkeleytime/apps/datapuller
npm error workspace datapuller
npm error location /home/runner/work/berkeleytime/berkeleytime/apps/datapuller
npm error command failed
npm error command sh -c eslint src/
[WARN] command finished with error, but continuing...
�[;31mbackend:lint�[;0m
cache miss, executing 34858cd016b29896

> lint
> eslint src/


/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/bootstrap/graphql/directives/auth.ts
  18:51  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  40:20  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  41:17  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  42:25  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  43:17  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/bootstrap/loaders/apollo.ts
  24:38  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/bootstrap/loaders/express.ts
  76:36  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/bootstrap/loaders/passport.ts
  132:41  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/analytics/controllers/collection.ts
   43:31  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   56:23  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   68:34  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  142:45  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  154:46  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/analytics/controllers/plan.ts
  39:18  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/analytics/controllers/rating.ts
  37:27  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  62:27  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  97:34  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/analytics/controllers/schedule.ts
  38:20  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/analytics/controllers/user.ts
  17:16  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/analytics/resolver.ts
   38:16  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   56:70  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   73:69  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   90:67  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  109:16  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  129:16  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  147:71  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  167:16  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/cache/controller.ts
  65:27  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/cache/routes.ts
  55:23  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  71:23  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/class/controller.ts
  272:12  error  'error' is defined but never used  @typescript-eslint/no-unused-vars

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/common/resolver.ts
  20:25  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  23:24  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/course/resolver.ts
  54:44  error  '_context' is defined but never used    @typescript-eslint/no-unused-vars
  54:54  error  '_info' is defined but never used       @typescript-eslint/no-unused-vars
  60:41  error  '_context' is defined but never used    @typescript-eslint/no-unused-vars
  60:51  error  '_info' is defined but never used       @typescript-eslint/no-unused-vars
  66:21  error  '_' is defined but never used           @typescript-eslint/no-unused-vars
  66:24  error  '_arguments' is defined but never used  @typescript-eslint/no-unused-vars
  66:36  error  '_context' is defined but never used    @typescript-eslint/no-unused-vars
  66:46  error  '_info' is defined but never used       @typescript-eslint/no-unused-vars

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/curated-classes/controller.ts
  21:41  error  '_' is defined but never used  @typescript-eslint/no-unused-vars

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/enrollment/formatter.ts
  48:8  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/enrollment/resolver.ts
  41:41  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/plan/controller.ts
   24:46  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   38:12  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   62:12  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   86:12  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  135:12  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  162:12  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  248:58  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  283:43  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/pod/controller.ts
  16:51  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  50:42  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  63:42  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/pod/resolver.ts
  12:16  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  14:68  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  19:18  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/rating/controller.ts
   48:12  error  Unexpected any. Specify a different type                                                    @typescript-eslint/no-explicit-any
   99:13  error  '_' is defined but never used                                                               @typescript-eslint/no-unused-vars
  103:13  error  '_' is defined but never used                                                               @typescript-eslint/no-unused-vars
  251:12  error  Unexpected any. Specify a different type                                                    @typescript-eslint/no-explicit-any
  302:21  error  Unexpected any. Specify a different type                                                    @typescript-eslint/no-explicit-any
  584:53  error  '_key' is defined but never used                                                            @typescript-eslint/no-unused-vars
  617:12  error  Unexpected any. Specify a different type                                                    @typescript-eslint/no-explicit-any
  660:12  error  Unexpected any. Specify a different type                                                    @typescript-eslint/no-explicit-any
  702:12  error  Unexpected any. Specify a different type                                                    @typescript-eslint/no-explicit-any
  710:18  error  Prefer using the primitive `number` as a type name, rather than the upper-cased `Number`    @typescript-eslint/no-wrapper-object-types
  711:16  error  Prefer using the primitive `boolean` as a type name, rather than the upper-cased `Boolean`  @typescript-eslint/no-wrapper-object-types
  712:13  error  Unexpected any. Specify a different type                                                    @typescript-eslint/no-explicit-any
  966:27  error  Unexpected any. Specify a different type                                                    @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/rating/formatter.ts
  98:50  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/rating/helper/aggregator.ts
   11:60  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  214:54  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  268:12  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/rating/resolver.ts
  19:7  error  '__' is defined but never used  @typescript-eslint/no-unused-vars

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/schedule/controller.ts
  20:45  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  30:44  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  41:47  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  53:12  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  75:12  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/staff/resolver.ts
  28:47  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  73:18  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  74:21  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  75:21  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  76:27  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  80:18  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  81:22  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/staff/routes.ts
  77:23  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/modules/user/controller.ts
   6:40  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  16:43  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/backend/src/utils/history.ts
  32:18  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

✖ 92 problems (92 errors, 0 warnings)
  2 errors and 0 warnings potentially fixable with the `--fix` option.

npm error Lifecycle script `lint` failed with error:
npm error code 1
npm error path /home/runner/work/berkeleytime/berkeleytime/apps/backend
npm error workspace backend
npm error location /home/runner/work/berkeleytime/berkeleytime/apps/backend
npm error command failed
npm error command sh -c eslint src/
[WARN] command finished with error, but continuing...
�[;31mfrontend:lint�[;0m
cache miss, executing 9d4f2f67dc02941e

> lint
> eslint src/


/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Catalog/Skeleton.tsx
   11:8   error  Unused classes found in Catalog.module.scss: classContainer, catalogDrawer, overlay, drawerTrigger  css-modules/no-unused-class
   15:34  error  Class or exported property 'root' not found                                                         css-modules/no-undef-class
   17:36  error  Class or exported property 'root' not found                                                         css-modules/no-undef-class
   18:38  error  Class or exported property 'group' not found                                                        css-modules/no-undef-class
   19:42  error  Class or exported property 'icon' not found                                                         css-modules/no-undef-class
   23:37  error  Class or exported property 'input' not found                                                        css-modules/no-undef-class
   29:41  error  Class or exported property 'filterButton' not found                                                 css-modules/no-undef-class
   35:36  error  Class or exported property 'body' not found                                                         css-modules/no-undef-class
   36:38  error  Class or exported property 'filtersHeader' not found                                                css-modules/no-undef-class
   37:38  error  Class or exported property 'filtersTitle' not found                                                 css-modules/no-undef-class
   41:38  error  Class or exported property 'formControl' not found                                                  css-modules/no-undef-class
   42:38  error  Class or exported property 'label' not found                                                        css-modules/no-undef-class
   47:38  error  Class or exported property 'formControl' not found                                                  css-modules/no-undef-class
   48:38  error  Class or exported property 'label' not found                                                        css-modules/no-undef-class
   53:38  error  Class or exported property 'formControl' not found                                                  css-modules/no-undef-class
   54:38  error  Class or exported property 'label' not found                                                        css-modules/no-undef-class
   59:38  error  Class or exported property 'formControl' not found                                                  css-modules/no-undef-class
   60:38  error  Class or exported property 'label' not found                                                        css-modules/no-undef-class
   65:38  error  Class or exported property 'formControl' not found                                                  css-modules/no-undef-class
   66:38  error  Class or exported property 'label' not found                                                        css-modules/no-undef-class
   71:38  error  Class or exported property 'formControl' not found                                                  css-modules/no-undef-class
   72:38  error  Class or exported property 'label' not found                                                        css-modules/no-undef-class
   77:38  error  Class or exported property 'formControl' not found                                                  css-modules/no-undef-class
   78:38  error  Class or exported property 'label' not found                                                        css-modules/no-undef-class
   83:38  error  Class or exported property 'formControl' not found                                                  css-modules/no-undef-class
   84:38  error  Class or exported property 'label' not found                                                        css-modules/no-undef-class
   94:35  error  Class or exported property 'root' not found                                                         css-modules/no-undef-class
   94:54  error  Class or exported property 'loading' not found                                                      css-modules/no-undef-class
   96:36  error  Class or exported property 'root' not found                                                         css-modules/no-undef-class
   97:38  error  Class or exported property 'group' not found                                                        css-modules/no-undef-class
   98:42  error  Class or exported property 'icon' not found                                                         css-modules/no-undef-class
  102:37  error  Class or exported property 'input' not found                                                        css-modules/no-undef-class
  108:41  error  Class or exported property 'filterButton' not found                                                 css-modules/no-undef-class
  115:34  error  Class or exported property 'recentlyViewedSection' not found                                        css-modules/no-undef-class
  116:34  error  Class or exported property 'catalogTitle' not found                                                 css-modules/no-undef-class
  118:34  error  Class or exported property 'skeletonContainer' not found                                            css-modules/no-undef-class
  131:39  error  Class or exported property 'root' not found                                                         css-modules/no-undef-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Enrollment/index.tsx
  11:34  error  'UseApolloClientType' is defined but never used  @typescript-eslint/no-unused-vars

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/GradTrak/Dashboard/AddBlockMenu/index.tsx
  189:38  error  Class or exported property 'container' not found  css-modules/no-undef-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/GradTrak/Dashboard/DisplayMenu/index.tsx
  20:8  error  Unused classes found in DisplayMenu.module.scss: toggle, toggleOff, toggleOn, toggleCircle  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/GradTrak/Dashboard/SemesterBlock/AddClass/SearchBar/index.tsx
  55:82  error  Class or exported property 'hasItems' not found  css-modules/no-undef-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/GradTrak/Dashboard/SemesterBlock/Class/index.tsx
  49:29  error  Class or exported property 'headerRow' not found  css-modules/no-undef-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/GradTrak/Dashboard/SemesterBlock/ClassDetails/index.tsx
  16:8  error  Unused classes found in ClassDetails.module.scss: select  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/GradTrak/Dashboard/SemesterBlock/index.tsx
   29:8   error  Unused classes found in SemesterBlock.module.scss: panel, header, title, collapsed, view, open, dropdown-content  css-modules/no-unused-class
  484:36  error  Class or exported property 'dropdown' not found                                                                   css-modules/no-undef-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/GradTrak/Dashboard/index.tsx
   520:32  error  Unexpected any. Specify a different type              @typescript-eslint/no-explicit-any
   533:32  error  Unexpected any. Specify a different type              @typescript-eslint/no-explicit-any
   889:36  error  Class or exported property 'dropdown' not found       css-modules/no-undef-class
  1074:46  error  Class or exported property 'degreeSection' not found  css-modules/no-undef-class
  1121:46  error  Class or exported property 'degreeSection' not found  css-modules/no-undef-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/GradTrak/Onboarding/AddDegree/index.tsx
  11:8  error  Unused classes found in AddDegree.module.scss: degree-select  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/GradTrak/Onboarding/OnboardingSetUp/index.tsx
  6:8  error  Unused classes found in OnboardingSetUp.module.scss: checkbox, text, value  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/GradeDistributions/index.tsx
  21:3  error  'DARK_COLORS' is defined but never used   @typescript-eslint/no-unused-vars
  23:3  error  'LIGHT_COLORS' is defined but never used  @typescript-eslint/no-unused-vars

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Legal/Terms/index.tsx
  3:8  error  Unused classes found in Terms.module.scss: subHeading, list  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Profile/Account/index.tsx
  8:8  error  Unused classes found in Profile.module.scss: root, body, sidebar, navGroup, navItem, active, content, collectionsSection, collectionsHeader, ratingsSection, ratingsHeader, addRatingButton, newCollectionButton  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Profile/Bookmarks/CollectionCard/index.tsx
  31:8  error  Unused classes found in CollectionCard.module.scss: root, colorBackground, cardsStack, footer, menuButton, footerContent, collectionName, classCount  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Profile/Bookmarks/index.tsx
  20:8  error  Unused classes found in Profile.module.scss: root, body, sidebar, navGroup, navItem, active, content, section, ratingsSection, ratingsHeader, addRatingButton  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Profile/Ratings/index.tsx
  35:8  error  Unused classes found in Profile.module.scss: root, body, sidebar, navGroup, navItem, active, content, section, collectionsSection, collectionsHeader, newCollectionButton  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Profile/Support/index.tsx
  3:8  error  Unused classes found in Profile.module.scss: root, body, sidebar, navGroup, navItem, active, content, section, sectionTitle, collectionsSection, collectionsHeader, ratingsSection, ratingsHeader, addRatingButton, newCollectionButton  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Profile/index.tsx
  13:8  error  Unused classes found in Profile.module.scss: contentInner, pageTitle, pageContent, section, sectionTitle, collectionsSection, collectionsHeader, ratingsSection, ratingsHeader, addRatingButton, newCollectionButton  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Schedule/Comparison/index.tsx
  16:8  error  Unused classes found in Comparison.module.scss: paragraph  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Schedule/Editor/EventDialog/index.tsx
  24:8  error  Unused classes found in EventDialog.module.scss: day-select  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Schedule/Editor/GenerateSchedulesDialog/index.tsx
  4:10  error  'Color' is defined but never used  @typescript-eslint/no-unused-vars

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Schedule/Editor/SideBar/Class/Section/index.tsx
  40:17  error  Class or exported property 'noHover' not found  css-modules/no-undef-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Schedule/Editor/SideBar/Class/index.tsx
  182:32  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  183:33  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Schedule/Editor/SideBar/Event/index.tsx
  16:8   error  Unused classes found in Event.module.scss: icon  css-modules/no-unused-class
  60:32  error  Unexpected any. Specify a different type         @typescript-eslint/no-explicit-any
  61:33  error  Unexpected any. Specify a different type         @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/app/Schedule/Editor/Week/index.tsx
  12:14  warning  Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components  react-refresh/only-export-components

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/BubbleCard/index.tsx
   41:14  error    '_isHovered' is defined but never used                                                                                          @typescript-eslint/no-unused-vars
  104:10  warning  Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components  react-refresh/only-export-components

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/Capacity/index.tsx
  9:14  warning  Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components  react-refresh/only-export-components

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/Carousel/CarouselNoTitle/index.tsx
  7:8  error  Unused classes found in Carousel.module.scss: item, link, title, icon  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/Chart/ChartContext.tsx
  7:17  warning  Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components  react-refresh/only-export-components

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/Chart/ChartTooltip.tsx
   8:55  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
   8:60  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  10:33  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  24:21  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/Chart/index.tsx
   5:10  warning  Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components  react-refresh/only-export-components
   8:3   warning  Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components  react-refresh/only-export-components
   9:3   warning  Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components  react-refresh/only-export-components
  10:3   warning  Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components  react-refresh/only-export-components
  11:3   warning  Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components  react-refresh/only-export-components

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/Chart/types.ts
  27:28  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  27:42  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  28:28  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  28:56  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  29:43  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  37:22  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  38:22  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  44:13  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  45:11  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/Class/Overview/UserSubmittedData.tsx
  24:8  error  Unused classes found in Overview.module.scss: link  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/Class/Ratings/RatingButton/index.tsx
  20:11  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  22:22  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/Class/Ratings/UserFeedbackModal/FeedbackForm.tsx
  6:8  error  Unused classes found in UserFeedbackModal.module.scss: modalHeaderWrapper, modalHeader, progressBar, progressIndicator, modalBody, formContentWrapper  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/Class/Ratings/UserFeedbackModal/RatingFormBody.tsx
  10:8  error  Unused classes found in UserFeedbackModal.module.scss: modalHeaderWrapper, modalHeader, progressBar, progressIndicator, modalBody, formContentWrapper, inlineQuestion, ratingScale, ratingButtons, ratingButton, selected, booleanBadges, booleanBadge  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/Class/Ratings/UserFeedbackModal/RatingModalLayout.tsx
  7:8  error  Unused classes found in UserFeedbackModal.module.scss: formContentWrapper, formGroup, questionPair, inlineQuestion, ratingScale, ratingButtons, ratingButton, selected, booleanBadges, booleanBadge  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/Class/Ratings/metricsUtil.ts
  108:19  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/ClassBrowser/List/index.tsx
  12:8  error  Unused classes found in List.module.scss: loading  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/ClassCard/index.tsx
  21:8  error  'ColorSelector' is defined but never used        @typescript-eslint/no-unused-vars
  99:3  error  'bookmarked' is assigned a value but never used  @typescript-eslint/no-unused-vars

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/ColorSelector/index.tsx
  8:8  error  Unused classes found in ColorSelector.module.scss: colorDotOutline  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/CourseAnalytics/HoverInfoCard/index.tsx
  5:8  error  Unused classes found in HoverInfoCard.module.scss: label, value, metricGroup, metric  css-modules/no-unused-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/MajorSearch/browser.ts
  3:34  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  3:57  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/MajorSearch/index.tsx
    5:8   error  Unused classes found in MajorSearch.module.scss: recentCourses, loading  css-modules/no-unused-class
  117:38  error  Class or exported property 'noResults' not found                         css-modules/no-undef-class

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/ScheduleCard/index.tsx
  79:18  error  '_' is assigned a value but never used    @typescript-eslint/no-unused-vars
  79:53  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/ScheduleSummary/Event/index.tsx
  11:8  error  Unused classes found in Event.module.scss: heading, description  css-modules/no-unused-class
  35:3  error  'flipPopup' is defined but never used                            @typescript-eslint/no-unused-vars

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/ScheduleSummary/index.tsx
  11:14  warning  Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components  react-refresh/only-export-components

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/components/Time/index.tsx
   1:33  error  'Fragment' is defined but never used                                                              @typescript-eslint/no-unused-vars
   5:8   error  Unused classes found in Time.module.scss: tooltipCard, day, label, noonReference, event, divider  css-modules/no-unused-class
  42:9   error  'bottom' is assigned a value but never used                                                       @typescript-eslint/no-unused-vars
  52:9   error  'height' is assigned a value but never used                                                       @typescript-eslint/no-unused-vars

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/lib/course.ts
  54:42  error  '_' is defined but never used  @typescript-eslint/no-unused-vars
  57:42  error  '_' is defined but never used  @typescript-eslint/no-unused-vars
  60:42  error  '_' is defined but never used  @typescript-eslint/no-unused-vars
  63:43  error  '_' is defined but never used  @typescript-eslint/no-unused-vars

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/utils/fuzzy-find.ts
  205:31  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  205:51  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

/home/runner/work/berkeleytime/berkeleytime/apps/frontend/src/utils/ratingErrorMessages.ts
  49:37  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any
  79:15  error  Unexpected any. Specify a different type  @typescript-eslint/no-explicit-any

✖ 127 problems (117 errors, 10 warnings)

npm error Lifecycle script `lint` failed with error:
npm error code 1
npm error path /home/runner/work/berkeleytime/berkeleytime/apps/frontend
npm error workspace frontend
npm error location /home/runner/work/berkeleytime/berkeleytime/apps/frontend
npm error command failed
npm error command sh -c eslint src/
[WARN] command finished with error, but continuing...
::error::staff-frontend#lint: command (/home/runner/work/berkeleytime/berkeleytime/apps/staff-frontend) /opt/hostedtoolcache/node/22.12.0/x64/bin/npm run lint exited (2)
::error::ag-frontend#lint: command (/home/runner/work/berkeleytime/berkeleytime/apps/ag-frontend) /opt/hostedtoolcache/node/22.12.0/x64/bin/npm run lint exited (1)
::error::datapuller#lint: command (/home/runner/work/berkeleytime/berkeleytime/apps/datapuller) /opt/hostedtoolcache/node/22.12.0/x64/bin/npm run lint exited (1)
::error::backend#lint: command (/home/runner/work/berkeleytime/berkeleytime/apps/backend) /opt/hostedtoolcache/node/22.12.0/x64/bin/npm run lint exited (1)
::error::frontend#lint: command (/home/runner/work/berkeleytime/berkeleytime/apps/frontend) /opt/hostedtoolcache/node/22.12.0/x64/bin/npm run lint exited (1)

 Tasks:    0 successful, 5 total
Cached:    0 cached, 5 total
  Time:    7.722s 
Failed:    ag-frontend#lint, backend#lint, datapuller#lint, frontend#lint, staff-frontend#lint

 ERROR  run failed: command  exited (2)

@ARtheboss ARtheboss merged commit ca210ef into main Dec 26, 2025
17 checks passed
@ARtheboss ARtheboss deleted the fix/scheduler-all branch December 26, 2025 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants