You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TS says extends doesn't exist in the type input for defineConfigWithVueTs
An incorrect error is thrown when running eslint: Please wrap the config object with defineConfigWithVueTs(). I am indeed wrapping the config with that.
The text was updated successfully, but these errors were encountered:
The error was because all the vueTsConfigs.*presets are meant to be replaced, but it didn’t catch the pattern in your config.
Wrapping it in another defineConfigWithVueTs makes it a plain ESLint config object that can be extended.
I'm trying to enable
recommendedTypeChecked
, coming fromrecommended
, and eslint is crashing on a typecheck rule that's running on a yml file. So, I'd simply like to disable type checked rules for yml files. I'm following https://typescript-eslint.io/getting-started/typed-linting/#how-can-i-disable-type-aware-linting-for-a-subset-of-filesSo I add:
Which has two issues:
extends
doesn't exist in the type input fordefineConfigWithVueTs
defineConfigWithVueTs()
. I am indeed wrapping the config with that.The text was updated successfully, but these errors were encountered: