Skip to content

[FALSE POSITIVE] [E9507] i18n directory "src-rules/src/i18n" found in repository but is not included in [package.json] #828

@mcm1957

Description

@mcm1957

I'm sure that

  • This issue really reports a false-positive detection
  • This issue does not request a change or removal of existing check (use dedicated template for this)
  • This issue does not request a new feature (use dedicated template for this)
  • There is no other (open) issue with the same topic (use the search!)

Complete issue line reported

[E9507] i18n directory "src-rules/src/i18n" found in repository but is not included in package.json "files". Translations will be missing from the npm package.

Description of problem

[E9507] i18n directory "src-rules/src/i18n" found in repository but is not included in package.json "files". Translations will be missing from the npm package.

i18n within src directories must be excluded from search / warning

Can be reproduced

Yes

Link to repository

(https://github.com/iobroker-community-adapters/ioBroker.email

Checker version

5.10.1

@copilot
To fix this problem please add an list of directories (as an extendable arry) which specifies directories which should be ignored when searching for i18n directory trees.

Initially populate this array with the following directories
src
admin-src
rules-src
src-admin
src-editor
src-rules
src-widgets
admin/src

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions