== Why is this an issue? include::../description.adoc[] === Exceptions This rule ignores Immediately Invoked Function Expressions (IIFE), which are functions that are created and invoked without ever being assigned a name. [source,javascript] ---- (function () { // Ignored by this rule function open() { // Classic function declaration; not ignored // ... } function read() { // ... } function readlines() { // ... } })(); ---- This rule also ignores React Functional Components, which are JavaScript functions named with a capital letter and returning a React element (JSX syntax). [source,javascript] ---- function Welcome() { const greeting = 'Hello, World!'; // ... return (

{greeting}

); } ---- ifdef::env-github,rspecator-view[] ''' == Implementation Specification (visible only on this page) include::../message.adoc[] === Parameters .max **** _INTEGER_ ---- 200 ---- Maximum authorized lines of code in a function **** ''' == Comments And Links (visible only on this page) include::../comments-and-links.adoc[] endif::env-github,rspecator-view[]