BlueBindy / residency-checker

Checker for Irish naturalisation residency eligibility
0 stars 2 forks source link

Testing: Jshint #13

Open BlueBindy opened 1 year ago

BlueBindy commented 1 year ago

script.js red yellow and red underlined squiggles jshint script.js returns command not found where should jshint files be stored in directory what conditions should be included in jshintrc

BlueBindy commented 1 year ago

Once deleted as JSHint files from my directory, used jshint.com, configured for New JS features ES6, got this:

There are 2 functions in this file.

Function with the largest signature take 2 arguments, while the median is 1.

Largest function has 22 statements in it, while the median is 19.5.

The most complex function has a cyclomatic complexity value of 12 while the median is 8.5.

One unused variable

38 | submitButton