- Data Center Edition
- Version 7.9.1 (build 27448)
- LGPL v3
Seeing code smell error - typescript:S4328
Dependencies should be explicit
Dependencies should be explicitly listed in the
package.json file. Importing a module that is not declared as a dependency makes it an implicit one and is bound to create problems.
Above dependency need to be imported in individual files. Ask is to ignore this rule within code base. We have approx. 150 developers working on multiple projects with the same parent project. So //NoSonar will not work.
We do have a sonar file with some exclusions like
“**/*.abc.tsx, **/jest.config.js, /abc-api/”,
Please suggest the format to add a line to ignore
typescript:S4328 or any other way.
Thanks in advance,