# Rules
# Per-package rules
- NoRedundantDeps
Ensure that dependencies are not declared in both
dependencies
andpeerDependencies
- EnforceRationale
Ensure that specified fields in JSON files have an entry in a
rationale
field in the same file explaining the addition. - ESLintPreferConstRule Esnure 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 redunant imports
- SrcDetector
Catch usage of
src
in import paths, a clue that things are not being imported correctly. - TransitiveDependencyDetector Find usage of dependencies of dependencies.