Rules
Per-package rules
- NoRedundantDeps Ensure that dependencies are not declared in both
dependenciesandpeerDependencies - EnforceRationale Ensure that specified fields in JSON files have an entry in a
rationalefield in the same file explaining the addition. - ESLintPreferConstRule Ensure that the prefer-const ESLint rule is enabled
Per-source file rules
- CrossPackageDependencyDetector Find usage of imports across package boundaries
- NodeModulesReferenceDetector Catch errant usages of
node_modules(instead of proper imports) - RedundantImportsDetector Find redundant imports
- SrcDetector Catch usage of
srcin import paths, a clue that things are not being imported correctly. - TransitiveDependencyDetector Find usage of dependencies of dependencies.