File "SuperfluousWhitespaceUnitTest.1.js"

Full Path: /home/warrior1/public_html/themes/storefront/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.1.js
File size: 584 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