Closed
Description
I'm trying to enable recommendedTypeChecked
, coming from recommended
, 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-files
So I add:
{
files: ["**/*.yml"],
extends: [vueTsConfigs.disableTypeChecked],
},
Which has two issues:
- TS says
extends
doesn't exist in the type input fordefineConfigWithVueTs
- An incorrect error is thrown when running eslint: Please wrap the config object with
defineConfigWithVueTs()
. I am indeed wrapping the config with that.