no-aArgs.rst (560B)
1 no-aArgs 2 ======== 3 4 Checks that function argument names don't start with lowercase 'a' followed by 5 a capital letter. This is to prevent the use of Hungarian notation whereby the 6 first letter is a prefix that indicates the type or intended use of a variable. 7 8 Examples of incorrect code for this rule: 9 ----------------------------------------- 10 11 .. code-block:: js 12 13 function(aFoo, aBar) {} 14 (aFoo, aBar) => {} 15 16 Examples of correct code for this rule: 17 --------------------------------------- 18 19 .. code-block:: js 20 21 function(foo, bar) {} 22 (foo, bar) => {})