complete/prefer-path-resolve
💼 This rule is enabled in the ✅ recommended config.
📝 Disallows the path.join method with a parent directory segment.
🔧 This rule is automatically fixable by the
--fix CLI option.
Rule Details
Section titled “Rule Details”// Badpath.join(projectRoot, "..");
// Goodpath.resolve(projectRoot, "..");Options
Section titled “Options”This rule is not configurable.
