Closed budarin closed 7 months ago
Hi, It seems that your configuration is wrong:
The pattern src/core/domain/entities/*
does not match with the file src/core/domain/entities/task/types.ts
. It would match with src/core/domain/entities/types.ts
. So, I suppose that your pattern should be src/core/domain/entities/*/*
, or src/core/domain/entities/**/*
, if you want to match files at any folder level.
You can read the micromatch documentation for further info.
Hi, It seems that your configuration is wrong:
Thanks! it helped!
Describe the bug Folder structure:
when 'entities' have been described as
and then allowed in element-types as
and imported types from
entities
incontracts
it leads to the error:
Importing unknown elements is not allowed
only describing
entities
twice asfile
and asfolder
prevents the occurrence of an error
Expected behavior It is expected that files of the types described in element-types as files would be recognized by the plugin as known
Logs
Operating system, Node.js an npm versions, and eslint version (please complete the following information):