Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
So What Had Happened Was
Now—you can open the root
si/folder and get working linting. You don't need to opensi/app/weborsi/lib/vue-libby itself to get linting to work.We have some rules that I turned into warnings. I didn't want to turn them off because sometimes I want the user to see the note in case they want to take action on it. But, I also don't want them to stop a build from passing. It is a gray area.
However, there are some linting rules that are warnings (e.g. console, let not const, etc) that we don't want passing builds, but, could be really annoying in that pop-over at the bottom of the web app when developing locally?
Let's discuss!
Things I've Learned About VScode Running ESLint
pnpm installs, it is incredibly likely you'll need to entirely close VSCode. Simpy restarting the ESLint server does not always pick up the changed packagesWhat this means for you: after this merges, the first time you work in one of the TS app or lib dirs you'll need to run
pnpm ifor all the dev package changes. And you will need to fully quit VScode and re-open it.How was it tested?
pnpm lint:fixpnpm build:checkDoes it require a docs change?
Yes... here is what my VSCode setup looks like:
ESLintpluginPrettierpluginNOTE: I made a new VSCode profile in order to test that, and then made it the default. You may or may not want to do that