File "SuperfluousWhitespaceUnitTest.1.js.fixed"

Full Path: /home/warrior1/public_html/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.1.js.fixed
File size: 565 bytes
MIME-type: text/plain
Charset: utf-8

alert('hi');
alert('hello');

if (something) {

}


function myFunction()
{
    alert('code here');

    alert('code here');

    // Hello.

    /*
        HI
    */

}

function myFunction2()
{
    alert('code here');

    alert('code here');

}

MyFunction = function()
{
    alert('code here');

    alert('code here');

};

// phpcs:set Squiz.WhiteSpace.SuperfluousWhitespace ignoreBlankLines true

function myFunction2()
{
    alert('code here');
    
    alert('code here');
    
}

// phpcs:set Squiz.WhiteSpace.SuperfluousWhitespace ignoreBlankLines false