bcgov / cas-reporting

This is for the Clean Growth Digital Services team for work related to reporting.
Apache License 2.0
0 stars 0 forks source link

Tech debt: Refactor Eslint configs to Flat Config format #226

Open joshgamache opened 1 month ago

joshgamache commented 1 month ago

This ticket is soft-blocked. Waiting on an update from NextJS to support ESLint flat config.

Not available as of NextJS 14.2.

Description of the Tech Debt

Eslint is changing it's configuration file format in 9.0.0 -- it is being changed to use a flat config file. Though 8.57.0 already supports this format, NextJS 14 still has compatability issues. Once NextJS adds full support and we update our pacakge to match, we should also make the move. There is a Nx Generator that can do much of the lift for us. Flagged this in a tech-debt card.

Tech Debt Triage

The purpose of our technical debt triage process is to analyze technical debt to determine risk level of the technical debt and the value in tackling that technical debt.

Risk Value Scoring:

Level Value
High
3
Medium
2
Low
1
Technical Debt - Risk Types Level Value
Business Area Risk - Risk of business area visibility / damage to user experience
Developer Fault Risk - How likely will this tech debt cause a future error related to coding on top of it
System Fault Risk - Risk of system errors or application downtime
Time Scale Risk - Compound risk effect if left alone. How much more difficult to fix or dangerous will this become over time?
Time Sink Risk - How much will this tech debt slow the development process down
TOTAL SCORE: