Skip to content

Files

Latest commit

 

History

History
14 lines (8 loc) · 556 Bytes

Universal.NamingConventions.NoReservedKeywordParameterNames.md

File metadata and controls

14 lines (8 loc) · 556 Bytes

Pattern: Reserved keyword as function parameter

Issue: -

Description

Disallows function parameters using reserved keywords as names, as this can quickly become confusing when people use them in function calls using named parameters

  • The sniff has modular error codes to allow for making exceptions for specific keywords. The error codes follow the following pattern: [keyword]Found.

Further Reading