Skip to content

Files

Latest commit

 

History

History
21 lines (13 loc) · 399 Bytes

Style-RedundantCurrentDirectoryInPath.md

File metadata and controls

21 lines (13 loc) · 399 Bytes

Pattern: Redundant current directory in path

Issue: -

Description

Checks for uses a redundant current directory in path.

Examples

# bad
require_relative './path/to/feature'

# good
require_relative 'path/to/feature'

Further Reading