Page 1 of 4

JavaScript Linter

Posted: Sat Dec 09, 2023 10:48 pm
by hiran
Based on this post I experimented around by adding a linter to the project.

The linter is https://eslint.org/
and I made it familar to the globally available variables documented at https://wiki.alioth.net/index.php/Oolit ... ce:_Global
The modifications are visible here: https://github.com/OoliteProject/oolite/tree/eslint

Could someone with better JavaScript/Oolite experience check the build log and assess whether it is meaningful?
https://github.com/OoliteProject/oolite ... 9480926016

In case the link does not resolve:
Action build-all, Run 257, Job common-steps, Step 'Check Javascript with linter'

Re: JavaScript Linter

Posted: Sat Dec 09, 2023 11:01 pm
by hiran
Very funny. Looking at some of the messages myself, I stumbled over this line:

Code: Select all

/*jslint white: true, undef: true, eqeqeq: true, bitwise: true, regexp: true, newcap: true, immed: true */
It is just too close to eslint configuration comments - which is evidence I am not the first to run a linter on that JavaScript code.

What happened?
And does anyone know whether jslint or eslint should be preferred?

Re: JavaScript Linter

Posted: Sun Dec 10, 2023 6:32 pm
by hiran
hiran wrote: Sat Dec 09, 2023 11:01 pm
And does anyone know whether jslint or eslint should be preferred?
eslint is a lot better documented, and have you tried running jslint from command line?
I found my answer.

Now I'd be glad to hear whether the linter is coming up with useful stuff or just garbage.
Here is an excerpt from the build logs:

Code: Select all

2023-12-09T22:42:35.6917413Z /home/runner/work/oolite/oolite/oolite/DebugOXP/Debug.oxp/Scripts/oolite-debug-console.js
2023-12-09T22:42:35.6918647Z   223:40  error  'prettifyArray' is not defined                               no-undef
2023-12-09T22:42:35.6920378Z   224:23  error  'prettifyObject' is not defined                              no-undef
2023-12-09T22:42:35.6922370Z   226:22  error  'prettify' is not defined                                    no-undef
2023-12-09T22:42:35.6924215Z   228:2   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.6925688Z   265:2   error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.6927075Z   267:2   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.6928791Z   290:24  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.6930321Z   290:55  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.6931648Z   293:4   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.6933813Z   302:4   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.6935151Z   308:3   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.7143008Z   324:13  error  'prettifyElement' is not defined                             no-undef
2023-12-09T22:42:35.7144663Z   356:7   error  'isClassicIdentifier' is not defined                         no-undef
2023-12-09T22:42:35.7146234Z   359:20  error  'prettifyElement' is not defined                             no-undef
2023-12-09T22:42:35.7147611Z   404:11  error  'prettifyFunction' is not defined                            no-undef
2023-12-09T22:42:35.7148855Z   407:37  error  'prettifyArray' is not defined                               no-undef
2023-12-09T22:42:35.7150078Z   412:11  error  'prettifyObject' is not defined                              no-undef
2023-12-09T22:42:35.7191926Z   416:11  error  'prettifyArray' is not defined                               no-undef
2023-12-09T22:42:35.7193198Z   438:9   error  'prettify' is not defined                                    no-undef
2023-12-09T22:42:35.7194423Z   450:6   error  'defaultMacros' is not defined                               no-undef
2023-12-09T22:42:35.7195614Z   452:3   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.7196805Z   458:3   error  'macros' is not defined                                      no-undef
2023-12-09T22:42:35.7197952Z   459:3   error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7199120Z   459:32  error  'macros' is not defined                                      no-undef
2023-12-09T22:42:35.7200276Z   461:3   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.7201458Z   465:3   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.7202632Z   478:6   error  'defaultMacros' is not defined                               no-undef
2023-12-09T22:42:35.7203807Z   480:3   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.7204990Z   484:6   error  'macros' is not defined                                      no-undef
2023-12-09T22:42:35.7206133Z   486:10  error  'macros' is not defined                                      no-undef
2023-12-09T22:42:35.7207766Z   487:3   error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7208940Z   487:32  error  'macros' is not defined                                      no-undef
2023-12-09T22:42:35.7210135Z   489:3   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.7211327Z   493:3   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.7212511Z   501:19  error  'defaultMacros' is not defined                               no-undef
2023-12-09T22:42:35.7213800Z   508:11  error  'prop' is already defined                                    no-redeclare
2023-12-09T22:42:35.7215014Z   508:19  error  'macros' is not defined                                      no-undef
2023-12-09T22:42:35.7216200Z   510:8   error  'defaultMacros' is not defined                               no-undef
2023-12-09T22:42:35.7217385Z   513:2   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.7218594Z   519:6   error  'defaultMacros' is not defined                               no-undef
2023-12-09T22:42:35.7219771Z   519:35  error  'defaultMacros' is not defined                               no-undef
2023-12-09T22:42:35.7221177Z   520:12  error  'macros' is not defined                                      no-undef
2023-12-09T22:42:35.7222332Z   520:34  error  'macros' is not defined                                      no-undef
2023-12-09T22:42:35.7223508Z   533:14  error  'resolveMacro' is not defined                                no-undef
2023-12-09T22:42:35.7224690Z   536:3   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.7225858Z   540:3   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.7227060Z   554:18  error  'resolveMacro' is not defined                                no-undef
2023-12-09T22:42:35.7228286Z   564:3   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.7229473Z   571:3   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.7230952Z   624:26  error  Unexpected control character(s) in regular expression: \x08  no-control-regex
2023-12-09T22:42:35.7232381Z   630:27  error  Unnecessary escape character: \'                             no-useless-escape
2023-12-09T22:42:35.7233754Z   631:27  error  Unnecessary escape character: \"                             no-useless-escape
2023-12-09T22:42:35.7235094Z   647:11  error  Unnecessary escape character: \$                             no-useless-escape
2023-12-09T22:42:35.7236424Z   652:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7237743Z   653:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7239043Z   654:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7240340Z   655:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7241654Z   656:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7242954Z   657:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7244237Z   658:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7245504Z   659:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7246793Z   660:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7248079Z   661:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7249592Z   662:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7250893Z   663:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7252174Z   664:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7253460Z   665:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7254762Z   666:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7256044Z   667:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7257320Z   668:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7258594Z   669:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7259875Z   670:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7261159Z   671:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7262655Z   672:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7263925Z   673:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7265236Z   674:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7266525Z   675:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7267802Z   676:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7269066Z   677:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7270350Z   678:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7292410Z   679:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7293794Z   680:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7295092Z   681:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7296393Z   682:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7297689Z   683:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7298981Z   684:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7300257Z   685:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7301551Z   686:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7302838Z   687:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7304138Z   688:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7305452Z   689:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7306758Z   690:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7308065Z   691:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7309343Z   692:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7311230Z   693:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7312558Z   694:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7313908Z   695:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7315196Z   696:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7316487Z   697:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7317766Z   698:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7319047Z   699:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7320347Z   700:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7321664Z   701:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7322972Z   702:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7324493Z   703:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7325794Z   704:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7327113Z   705:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7328397Z   706:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7329680Z   707:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7330967Z   708:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
2023-12-09T22:42:35.7332208Z   720:56  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7333404Z   721:1   error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7334571Z   725:5   error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7335743Z   725:48  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7336929Z   726:5   error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7338088Z   726:63  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7339257Z   730:23  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7340418Z   732:28  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7341615Z   733:27  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7342771Z   733:70  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7343936Z   736:1   error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7345099Z   736:32  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7346243Z   740:23  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7347422Z   742:28  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7348579Z   743:27  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7349728Z   749:23  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7351080Z   751:28  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7352250Z   752:27  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7353719Z   752:71  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7354888Z   755:1   error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7356089Z   755:32  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7357251Z   759:23  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7358409Z   761:28  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7359563Z   762:27  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7360711Z   762:73  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7361857Z   765:1   error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7363033Z   765:34  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7364183Z   781:2   error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7365329Z   781:31  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7366714Z   786:23  error  'Entity' is not defined                                      no-undef
2023-12-09T22:42:35.7367878Z   788:2   error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7369028Z   813:12  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7370164Z   815:2   error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7371411Z   837:44  error  'PARAM' is defined but never used                            no-unused-vars
2023-12-09T22:42:35.7372653Z   839:27  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7373810Z   840:2   error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7374978Z   840:33  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7376145Z   848:33  error  'Timer' is not defined                                       no-undef
2023-12-09T22:42:35.7377298Z   848:59  error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7378441Z   851:2   error  'console' is not defined                                     no-undef
2023-12-09T22:42:35.7379605Z   857:3   error  'consoleMessage' is not defined                              no-undef
2023-12-09T22:42:35.7380795Z   857:36  error  'prettify' is not defined                                    no-undef
2023-12-09T22:42:35.7381967Z   863:30  error  'special' is not defined                                     no-undef
2023-12-09T22:42:35.7382608Z 
2023-12-09T22:42:35.7383174Z /home/runner/work/oolite/oolite/oolite/Resources/AIs/oolite-pirateAI.js
2023-12-09T22:42:35.7384165Z    34:2   error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7384877Z    36:2   error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7385565Z    37:2   error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7386264Z    39:2   error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7386956Z    41:2   error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7387632Z    44:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7388324Z    45:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7389017Z    50:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7389699Z    54:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7390389Z    55:21  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7391416Z    56:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7392211Z    62:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7392908Z    63:21  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7393814Z    64:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7394503Z    70:22  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7395177Z    71:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7395879Z    74:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7396566Z    75:21  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7397234Z    76:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7397917Z    82:20  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7398598Z    83:21  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7399264Z    84:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7399944Z    91:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7400622Z    92:19  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7401300Z    93:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7401974Z    97:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7402659Z    98:19  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7403338Z    99:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7404013Z   104:22  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7404701Z   105:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7405602Z   106:19  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7406282Z   107:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7406966Z   112:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7407653Z   116:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7408326Z   117:18  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7409024Z   122:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7409709Z   130:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7410391Z   131:18  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7411062Z   134:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7411738Z   139:11  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7412152Z 
2023-12-09T22:42:35.7412789Z /home/runner/work/oolite/oolite/oolite/Resources/AIs/oolite-pirateFighterAI.js
2023-12-09T22:42:35.7413880Z    35:2   error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7414599Z    37:2   error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7415295Z    38:2   error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7415979Z    40:2   error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7416674Z    42:2   error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7417365Z    45:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7418052Z    46:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7418738Z    51:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7419428Z    55:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7420114Z    56:21  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7420782Z    57:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7421464Z    63:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7422151Z    64:21  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7422822Z    65:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7423500Z    71:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7424184Z    72:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7424855Z    76:22  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7425546Z    77:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7426230Z    80:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7426914Z    81:21  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7427587Z    82:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7428266Z    88:20  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7428938Z    89:21  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7429619Z    90:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7430813Z    97:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7431776Z    98:19  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7432462Z   101:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7433157Z   102:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7433850Z   106:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7434532Z   113:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7435223Z   114:19  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7435913Z   115:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7436588Z   120:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7437284Z   121:19  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7437970Z   122:15  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7438655Z   124:17  error  'ai' is not defined  no-undef
2023-12-09T22:42:35.7439332Z   126:11  error  'ai' is not defined  no-undef

Re: JavaScript Linter

Posted: Sun Dec 10, 2023 10:15 pm
by phkb
First thing to note:

Code: Select all

"ecmaVersion": "latest"
I think we're at ecma version 5.0 based on line 652 of oolite-debug-console.js:

Code: Select all

	 // ECMAScript 5 keywords.
As for the messages, most of them are bogus in the sense they are reporting an "error" that isn't. For instance:

Code: Select all

2023-12-09T22:42:35.6920378Z   224:23  error  'prettifyObject' is not defined                              no-undef
But in the file we have:

Code: Select all

this.prettifyObject = function prettifyObject(value, indent)
So, not really an error. I'm not sure why eslist can't see the function declaration.

Not sure why this would be flagged as a error

Code: Select all

2023-12-09T22:42:35.7236424Z   652:1   error  Mixed spaces and tabs                                        no-mixed-spaces-and-tabs
Feels more like a warning if anything.

This error might be valid:

Code: Select all

2023-12-09T22:42:35.7213800Z   508:11  error  'prop' is already defined                                    no-redeclare
In the function in question, there are two loops that use "prop", and each loop does a for (var prop in...) . My "high-level language" brain says "Well, the prop is defined in the context of each loop, so there isn't really a redefinition". But JS isn't that high level. What I do know is that this code doesn't generate an error, even when pedanticMode is switched on. So, again not an error but possibly a warning.

It's possible that eslint can be configured to handle our setup. A lot of the "not defined" errors could be eliminated by adding them to reserved words.

Re: JavaScript Linter

Posted: Mon Dec 11, 2023 7:06 am
by another_commander
The console code has been running unchanged for years. Surely we would have noticed if something was so horribly wrong till now, right? I am using the console extensively when debugging and also when testing OXPs and also for generating most of the scenes of the screenshots I post so I do use it quite extensively to be confident that I would have seen bugs by now if there were any.

I think that effort is being made to debug something that doesn't require debugging. I feel confident that the core js files are robust enough and any eventual bugs that might pop up would be more related to entity behaviours rather than syntactical issues. YMMV.

Re: JavaScript Linter

Posted: Mon Dec 11, 2023 7:11 am
by phkb
I agree. The impetus for this change came from an OXP dev struggling with syntax errors in their JS, rather than anything in core code.

Re: JavaScript Linter

Posted: Mon Dec 11, 2023 7:37 pm
by hiran
another_commander wrote: Mon Dec 11, 2023 7:06 am
I think that effort is being made to debug something that doesn't require debugging. I feel confident that the core js files are robust enough and any eventual bugs that might pop up would be more related to entity behaviours rather than syntactical issues. YMMV.
phkb wrote: Mon Dec 11, 2023 7:11 am
I agree. The impetus for this change came from an OXP dev struggling with syntax errors in their JS, rather than anything in core code.
I agree to both of you. I just wanted to run elint somehwere where all of us could share the experience, and the Oolite built-in javascripts came to mind. After all at this moment not the code is at stake - it is the linter.
Forreal OXP testing the OXP authors will have to run it - or alternatively add it to some validation step we do before adding a new download URL to the catalog. The latter would introduce a lot of frustrating ping-pong so it is no good option.

But first we need to have a meaningful configuration - otherwise we come up with issues that are none. What I know is that each check on it's own can be turned on or off, and we can also decide whether it should generate a warning or an error. Currently eslint is configured in 'recommended' mode plus I added some identifiers: https://github.com/OoliteProject/oolite ... rc.json#L5

So it is up to us to check which of them we want or don't, and it is even possible to write custom checks. But the most important one could be the JavaScript version. Although I am not sure which of them to choose: https://eslint.org/docs/latest/use/conf ... ge-options

Re: JavaScript Linter

Posted: Mon Dec 11, 2023 8:15 pm
by another_commander
hiran wrote: Mon Dec 11, 2023 7:37 pm
But the most important one could be the JavaScript version. Although I am not sure which of them to choose: https://eslint.org/docs/latest/use/conf ... ge-options
Image

Re: JavaScript Linter

Posted: Mon Dec 11, 2023 9:09 pm
by hiran
I switched the parser version from latest to 5 now:
https://github.com/OoliteProject/oolite ... rc.json#L7
I guess the errors look much better now.

Job 261 contains a new log we can check. Here's some excerpt:

Code: Select all

2023-12-11T20:55:22.9322289Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-class-test-Quaternion.js
2023-12-11T20:55:22.9322490Z    43:19  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9322686Z    44:36  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9322872Z    46:15  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9323060Z    47:36  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9323243Z    49:19  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9323423Z    50:44  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9323608Z    55:15  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9323785Z    69:15  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9323968Z    70:15  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9324154Z    86:15  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9324334Z    87:15  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9324513Z    95:15  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9324704Z   105:11  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9324887Z   106:26  error  'Vector3D' is not defined    no-undef
2023-12-11T20:55:22.9325073Z   115:11  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9325254Z   125:11  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9325436Z   135:11  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9325622Z   144:11  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9325804Z   150:11  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9325983Z   152:23  error  'Vector3D' is not defined    no-undef
2023-12-11T20:55:22.9326174Z   159:11  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9326354Z   161:23  error  'Vector3D' is not defined    no-undef
2023-12-11T20:55:22.9326534Z   168:11  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9326719Z   170:23  error  'Vector3D' is not defined    no-undef
2023-12-11T20:55:22.9326899Z   181:17  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9327082Z   182:39  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9327269Z   190:15  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9327449Z   198:15  error  'Quaternion' is not defined  no-undef
2023-12-11T20:55:22.9327530Z 
2023-12-11T20:55:22.9328264Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-class-test-SoundSource.js
2023-12-11T20:55:22.9328489Z   41:2  error  Parsing error: The keyword 'const' is reserved
2023-12-11T20:55:22.9328495Z 
2023-12-11T20:55:22.9329232Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-class-test-Timer.js
2023-12-11T20:55:22.9329669Z   40:17  error  'zeroTimer' is assigned a value but never used  no-unused-vars
2023-12-11T20:55:22.9329964Z   40:28  error  'reportTimer' is defined but never used         no-unused-vars
2023-12-11T20:55:22.9330226Z   47:19  error  'Timer' is not defined                          no-undef
2023-12-11T20:55:22.9330478Z   58:28  error  'Timer' is not defined                          no-undef
2023-12-11T20:55:22.9330726Z   81:19  error  'Timer' is not defined                          no-undef
2023-12-11T20:55:22.9330734Z 
2023-12-11T20:55:22.9331442Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-class-test-Vector3D.js
2023-12-11T20:55:22.9331633Z    48:19  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9331812Z    49:36  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9331997Z    51:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9332173Z    52:36  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9332354Z    54:19  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9332533Z    55:44  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9332708Z    60:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9332888Z    73:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9333061Z    74:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9333234Z    88:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9333415Z    90:27  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9333589Z    93:30  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9333763Z    96:22  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9333949Z   102:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9334130Z   103:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9334310Z   111:24  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9334494Z   114:24  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9334669Z   120:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9334852Z   121:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9335027Z   130:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9335203Z   131:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9335384Z   132:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9335561Z   146:24  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9335738Z   149:24  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9335922Z   152:24  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9336100Z   155:24  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9336282Z   161:22  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9336475Z   164:22  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9336652Z   172:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9336829Z   173:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9337011Z   174:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9337186Z   195:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9337367Z   196:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9337544Z   210:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9337873Z   211:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9338153Z   221:26  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9338331Z   224:26  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9338506Z   227:26  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9338687Z   230:26  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9338935Z   236:19  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9339180Z   249:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9339429Z   250:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9339605Z   251:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9339779Z   259:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9339963Z   260:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9340138Z   262:17  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9340314Z   265:17  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9340496Z   268:17  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9340673Z   271:17  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9340883Z   281:17  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9341064Z   282:39  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9341240Z   293:17  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9341426Z   294:39  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9341603Z   305:17  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9341778Z   306:39  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9341961Z   313:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9342137Z   321:15  error  'Vector3D' is not defined  no-undef
2023-12-11T20:55:22.9342142Z 
2023-12-11T20:55:22.9342822Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-script-test-rig.js
2023-12-11T20:55:22.9343073Z   107:30  error  'Vector3D' is not defined                  no-undef
2023-12-11T20:55:22.9343314Z   116:30  error  'Quaternion' is not defined                no-undef
2023-12-11T20:55:22.9343551Z   199:57  error  'log' is not defined                       no-undef
2023-12-11T20:55:22.9343787Z   208:3   error  'consoleMessage' is not defined            no-undef
2023-12-11T20:55:22.9344023Z   212:3   error  'consoleMessage' is not defined            no-undef
2023-12-11T20:55:22.9344261Z   244:3   error  'consoleMessage' is not defined            no-undef
2023-12-11T20:55:22.9344492Z   248:3   error  'consoleMessage' is not defined            no-undef
2023-12-11T20:55:22.9344721Z   271:4   error  'consoleMessage' is not defined            no-undef
2023-12-11T20:55:22.9344951Z   275:6   error  'console' is not defined                   no-undef
2023-12-11T20:55:22.9345177Z   275:31  error  'console' is not defined                   no-undef
2023-12-11T20:55:22.9345403Z   277:14  error  'console' is not defined                   no-undef
2023-12-11T20:55:22.9345636Z   278:21  error  'log' is not defined                       no-undef
2023-12-11T20:55:22.9345916Z   287:10  error  'reportSuccess' is defined but never used  no-unused-vars
2023-12-11T20:55:22.9346200Z   294:10  error  'reportFailure' is defined but never used  no-unused-vars
2023-12-11T20:55:22.9346440Z   305:3   error  'consoleMessage' is not defined            no-undef
2023-12-11T20:55:22.9346673Z   311:3   error  'consoleMessage' is not defined            no-undef
2023-12-11T20:55:22.9346914Z   325:4   error  'consoleMessage' is not defined            no-undef
2023-12-11T20:55:22.9347132Z   330:2   error  'log' is not defined                       no-undef
2023-12-11T20:55:22.9347350Z   341:5   error  'log' is not defined                       no-undef
2023-12-11T20:55:22.9347354Z 
2023-12-11T20:55:22.9348081Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-test-expandDescription.js
2023-12-11T20:55:22.9348333Z   108:39  error  'System' is not defined  no-undef
2023-12-11T20:55:22.9348339Z 
2023-12-11T20:55:22.9349037Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-test-frameCallbacks.js
2023-12-11T20:55:22.9349268Z   47:3  error  Parsing error: The keyword 'const' is reserved
2023-12-11T20:55:22.9349377Z 
2023-12-11T20:55:22.9349868Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/PNGTestSuite/PNGTestSuite.oxp/Config/script.js
2023-12-11T20:55:22.9350155Z   49:2  error  Parsing error: The keyword 'const' is reserved
2023-12-11T20:55:22.9350161Z 
2023-12-11T20:55:22.9350712Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/RetroMissions/RetroMissions.oxp/Scripts/ahruman-reaper.js
2023-12-11T20:55:22.9350876Z   14:6  error  Parsing error: Unexpected token targets
2023-12-11T20:55:22.9350881Z 
2023-12-11T20:55:22.9351545Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/materialTestSuite/Material Test Suite.oxp/Scripts/oolite-material-test-suite.js
2023-12-11T20:55:22.9351837Z    43:7   error  'console' is assigned a value but never used  no-unused-vars
2023-12-11T20:55:22.9352101Z    43:17  error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9352346Z    47:3   error  'log' is not defined                          no-undef
2023-12-11T20:55:22.9352607Z    54:22  error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9352860Z    60:4   error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9353094Z    71:4   error  'log' is not defined                          no-undef
2023-12-11T20:55:22.9353342Z    85:6   error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9353583Z    87:3   error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9353830Z    99:30  error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9354084Z   100:29  error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9354319Z   107:4   error  'log' is not defined                          no-undef
2023-12-11T20:55:22.9354562Z   113:3   error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9354893Z   115:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-11T20:55:22.9355217Z   116:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-11T20:55:22.9355482Z   116:31  error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9355798Z   117:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-11T20:55:22.9356053Z   117:50  error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9356372Z   118:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-11T20:55:22.9356621Z   118:39  error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9356929Z   119:6   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-11T20:55:22.9357185Z   122:54  error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9357427Z   126:3   error  'log' is not defined                          no-undef
2023-12-11T20:55:22.9357675Z   135:3   error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9357929Z   136:3   error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9358177Z   187:24  error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9358432Z   188:26  error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9358678Z   189:31  error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9358911Z   193:5   error  'log' is not defined                          no-undef
2023-12-11T20:55:22.9359160Z   194:5   error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9359479Z   209:3   error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9359722Z   210:3   error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9359978Z   210:30  error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9360223Z   210:70  error  'debugConsole' is not defined                 no-undef
2023-12-11T20:55:22.9360572Z   214:3   error  'log' is not defined                          no-undef
2023-12-11T20:55:22.9360859Z   226:4   error  'log' is not defined                          no-undef
2023-12-11T20:55:22.9361090Z   233:2   error  'log' is not defined                          no-undef
2023-12-11T20:55:22.9361096Z 
2023-12-11T20:55:22.9361321Z ✖ 100538 problems (100538 errors, 0 warnings)
2023-12-11T20:55:22.9361618Z   303 errors and 0 warnings potentially fixable with the `--fix` option.

Re: JavaScript Linter

Posted: Tue Dec 12, 2023 4:16 am
by phkb
Almost all those errors are related to the fact that eslint doesn't know the Oolite object model. Things like "Vector3D" and "Quaternion" are uniquely Oolite, and would need to be added to a list of reserved words.

Re: JavaScript Linter

Posted: Tue Dec 12, 2023 7:43 am
by hiran
Done. I added these two here and here.

Here is another log excerpt:

Code: Select all

2023-12-12T07:29:14.6987682Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_exceptions.js
2023-12-12T07:29:14.6987864Z     5:21  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6988048Z     7:43  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6988224Z     9:17  error  'print' is not defined       no-undef
2023-12-12T07:29:14.6988400Z    11:17  error  'print' is not defined       no-undef
2023-12-12T07:29:14.6988584Z    15:13  error  'print' is not defined       no-undef
2023-12-12T07:29:14.6988758Z    19:9   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6989010Z    23:13  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6989195Z    24:13  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6989369Z    37:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6989548Z    40:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6989789Z    42:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6989962Z    48:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6990139Z    51:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6990312Z    53:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6990485Z    59:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6990666Z    62:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6990838Z    64:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6991018Z    68:20  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6991262Z    70:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6991434Z    73:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6991607Z    75:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6991842Z    81:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6992019Z    84:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6992199Z    86:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6992372Z    90:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6992550Z    91:24  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6992733Z    91:51  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6992906Z    96:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6993079Z    99:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6993259Z   103:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6993436Z   105:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6993727Z   108:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6993926Z   110:30  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6994104Z   114:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6994277Z   117:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6994459Z   122:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6994633Z   125:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6994819Z   126:20  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6994992Z   130:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6995166Z   133:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6995350Z   138:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6995524Z   141:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6995707Z   142:20  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6995889Z   146:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6996063Z   149:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6996247Z   151:45  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6996427Z   155:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6996603Z   158:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6996782Z   164:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6996787Z 
2023-12-12T07:29:14.6997204Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_ids.js
2023-12-12T07:29:14.6997379Z    46:9   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6997562Z    48:9   error  'dump' is not defined        no-undef
2023-12-12T07:29:14.6997742Z    52:12  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6998002Z    62:1   error  'data' is not defined        no-undef
2023-12-12T07:29:14.6998189Z    73:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6998366Z    74:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6998544Z    76:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6998725Z    80:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6998972Z    83:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6999154Z    84:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6999328Z    93:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6999503Z    94:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6999685Z    95:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6999860Z    98:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7000039Z   101:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7000226Z   104:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7000478Z   106:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7000660Z   107:21  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7000912Z   110:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7001092Z   111:21  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7001271Z   121:20  error  'data' is not defined        no-undef
2023-12-12T07:29:14.7001456Z   122:16  error  'data' is not defined        no-undef
2023-12-12T07:29:14.7001461Z 
2023-12-12T07:29:14.7001907Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_observer.js
2023-12-12T07:29:14.7002141Z   2:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7002147Z 
2023-12-12T07:29:14.7002610Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_overloaded.js
2023-12-12T07:29:14.7002798Z    1:13  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7002987Z    2:13  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7003165Z    4:1   error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7003340Z    7:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7003519Z    7:33  error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7003699Z    8:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7003877Z    8:33  error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7004048Z    9:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7004218Z    9:33  error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7004397Z   10:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7004571Z   10:33  error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7004745Z   11:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7004922Z   11:33  error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7005096Z   13:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7005103Z 
2023-12-12T07:29:14.7005563Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_primitives.js
2023-12-12T07:29:14.7005793Z    14:1   error  'contractid_prefix' is not defined  no-undef
2023-12-12T07:29:14.7006010Z    15:1   error  'contractid_suffix' is not defined  no-undef
2023-12-12T07:29:14.7006225Z    18:18  error  'Components' is not defined         no-undef
2023-12-12T07:29:14.7006425Z    56:9   error  'print' is not defined              no-undef
2023-12-12T07:29:14.7006624Z    58:9   error  'dump' is not defined               no-undef
2023-12-12T07:29:14.7006838Z    85:27  error  'contractid_prefix' is not defined  no-undef
2023-12-12T07:29:14.7007044Z    85:56  error  'contractid_suffix' is not defined  no-undef
2023-12-12T07:29:14.7007247Z    87:17  error  'Components' is not defined         no-undef
2023-12-12T07:29:14.7007454Z    92:34  error  'Components' is not defined         no-undef
2023-12-12T07:29:14.7007726Z   127:9   error  'i' is not defined                  no-undef
2023-12-12T07:29:14.7007928Z   127:16  error  'i' is not defined                  no-undef
2023-12-12T07:29:14.7008133Z   127:33  error  'i' is not defined                  no-undef
2023-12-12T07:29:14.7008329Z   128:22  error  'i' is not defined                  no-undef
2023-12-12T07:29:14.7008392Z 
2023-12-12T07:29:14.7008870Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_propertybag.js
2023-12-12T07:29:14.7009097Z   2:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7009102Z 
2023-12-12T07:29:14.7009540Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_variant.js
2023-12-12T07:29:14.7009762Z   2:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7009768Z 
2023-12-12T07:29:14.7010255Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_variant_array.js
2023-12-12T07:29:14.7010534Z   2:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7010539Z 
2023-12-12T07:29:14.7010974Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/readonlyattributes.js
2023-12-12T07:29:14.7011238Z   45:2   error  'StartTest' is not defined    no-undef
2023-12-12T07:29:14.7011433Z   52:16  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7011619Z   54:10  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7011807Z   57:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7011995Z   58:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7012177Z   59:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7012356Z   60:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7012625Z   61:3   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7012807Z   69:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7012996Z   70:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7013175Z   71:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7013358Z   72:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7013544Z   74:2   error  'StopTest' is not defined     no-undef
2023-12-12T07:29:14.7013551Z 
2023-12-12T07:29:14.7013995Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/readwriteattributes.js
2023-12-12T07:29:14.7014186Z    45:2   error  'StartTest' is not defined    no-undef
2023-12-12T07:29:14.7014387Z    52:16  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7014573Z    54:10  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7014753Z    55:2   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7014940Z    58:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7015206Z    59:3   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7015476Z    60:3   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7015660Z    62:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7015843Z    66:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7016027Z    66:42  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7016209Z    67:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7016384Z    67:41  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7016570Z    68:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7016744Z    68:45  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7016922Z    69:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7017104Z    69:38  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7017362Z    70:3   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7017616Z    73:2   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7017791Z    74:2   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7017963Z    75:2   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7018141Z    76:2   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7018321Z    78:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7018555Z    78:43  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7018740Z    79:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7018913Z    79:42  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7019091Z    80:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7019269Z    80:45  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7019448Z    81:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7019622Z    81:38  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7019807Z    93:2   error  'StopTest' is not defined     no-undef
2023-12-12T07:29:14.7020118Z    96:1   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7020297Z    96:3   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7020612Z    98:1   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7020794Z    98:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7020979Z   100:5   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7020985Z 
2023-12-12T07:29:14.7021361Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/scriptable.js
2023-12-12T07:29:14.7021545Z    46:1   error  'StartTest' is not defined    no-undef
2023-12-12T07:29:14.7021732Z    49:1   error  'StopTest' is not defined     no-undef
2023-12-12T07:29:14.7021910Z    52:2   error  'CONTRACTID' is not defined   no-undef
2023-12-12T07:29:14.7022086Z    53:2   error  'CLASS' is not defined        no-undef
2023-12-12T07:29:14.7022274Z    53:10  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7022463Z    53:29  error  'CONTRACTID' is not defined   no-undef
2023-12-12T07:29:14.7022646Z    54:2   error  'IFACE' is not defined        no-undef
2023-12-12T07:29:14.7022830Z    54:10  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7023009Z    56:2   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7023196Z    56:15  error  'CLASS' is not defined        no-undef
2023-12-12T07:29:14.7023376Z    56:36  error  'IFACE' is not defined        no-undef
2023-12-12T07:29:14.7023556Z    62:2   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7023740Z    63:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7023918Z    66:2   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7024099Z    69:22  error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7024284Z    71:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7024466Z    75:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7024652Z    78:3   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7024829Z    82:2   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7025010Z    84:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7025195Z    88:10  error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7025376Z    92:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7025553Z    98:2   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7025743Z   100:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7025927Z   104:7   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7026109Z   109:18  error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7026300Z   110:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7026483Z   115:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7026736Z   118:10  error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7026748Z 
2023-12-12T07:29:14.7027093Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/testin.js
2023-12-12T07:29:14.7027281Z    45:3   error  'StartTest' is not defined    no-undef
2023-12-12T07:29:14.7027476Z    47:15  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7027721Z    48:15  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7027982Z    58:1   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7028246Z    59:1   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7028500Z    60:1   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7028686Z   131:3   error  'StopTest' is not defined     no-undef
2023-12-12T07:29:14.7028882Z   135:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7029068Z   142:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7029256Z   149:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7029504Z   189:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7029688Z   196:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7029746Z 
2023-12-12T07:29:14.7030094Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/xpcfun.js
2023-12-12T07:29:14.7030422Z    50:5   error  'FILE_BUGNUMBERS' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7030733Z    55:10  error  'AddTestCase' is defined but never used               no-unused-vars
2023-12-12T07:29:14.7031018Z    56:5   error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7031294Z    56:15  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7031567Z    57:12  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7031845Z    57:22  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7032107Z    60:15  error  'ID' is not defined                                   no-undef
2023-12-12T07:29:14.7032424Z    73:10  error  'StartTest' is defined but never used                 no-unused-vars
2023-12-12T07:29:14.7032691Z    74:5   error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7032961Z    75:5   error  'FILE_FAILED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7033233Z    76:5   error  'FILE_PASSED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7033492Z    77:5   error  'FILE_PASSED' is not defined                          no-undef
2023-12-12T07:29:14.7033866Z    78:5   error  'COMPLETED' is not defined                            no-undef
2023-12-12T07:29:14.7034122Z    79:5   error  'ID' is not defined                                   no-undef
2023-12-12T07:29:14.7034379Z    81:5   error  'FILE_TITLE' is not defined                           no-undef
2023-12-12T07:29:14.7034646Z    83:22  error  'FILE_TITLE' is not defined                           no-undef
2023-12-12T07:29:14.7034912Z    86:9   error  'document' is not defined                             no-undef
2023-12-12T07:29:14.7035226Z    95:10  error  'StopTest' is defined but never used                  no-unused-vars
2023-12-12T07:29:14.7035499Z   102:9   error  'document' is not defined                             no-undef
2023-12-12T07:29:14.7035817Z   105:10  error  'AddComment' is defined but never used                no-unused-vars
2023-12-12T07:29:14.7036087Z   110:26  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7036361Z   111:18  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7036684Z   123:10  error  'writeParseableResults' is defined but never used     no-unused-vars
2023-12-12T07:29:14.7036958Z   125:26  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7037314Z   126:18  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7037579Z   142:35  error  'FILE_TITLE' is not defined                           no-undef
2023-12-12T07:29:14.7037849Z   143:35  error  'FILE_PASSED' is not defined                          no-undef
2023-12-12T07:29:14.7038118Z   144:35  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7038459Z   145:35  error  'FILE_PASSED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7038731Z   146:35  error  'FILE_FAILED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7038992Z   177:9   error  'FILE_PASSED' is not defined                          no-undef
2023-12-12T07:29:14.7039253Z   178:9   error  'FILE_FAILED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7039520Z   180:9   error  'FILE_PASSED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7039831Z   187:10  error  'PrintResult' is defined but never used               no-unused-vars
2023-12-12T07:29:14.7040207Z   187:22  error  'e' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7040497Z   187:25  error  'a' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7040851Z   187:28  error  's' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7041145Z   187:31  error  'p' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7041468Z   190:10  error  'PrintHTMLFormattedResult' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7041754Z   190:36  error  'e' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7042048Z   190:39  error  'a' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7042333Z   190:42  error  's' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7042627Z   190:45  error  'p' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7042901Z   194:9   error  'document' is not defined                             no-undef
2023-12-12T07:29:14.7043166Z   196:9   error  'print' is not defined                                no-undef
2023-12-12T07:29:14.7043484Z   200:10  error  'GetFailedCases' is defined but never used            no-unused-vars
2023-12-12T07:29:14.7043760Z   201:26  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7044031Z   202:18  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7044334Z   218:10  error  'Enumerate' is defined but never used                 no-unused-vars
2023-12-12T07:29:14.7044633Z   233:5   error  'GLOBAL' is assigned a value but never used           no-unused-vars
2023-12-12T07:29:14.7044639Z 
2023-12-12T07:29:14.7045079Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/xpctest_primitives.js
2023-12-12T07:29:14.7045346Z    52:1   error  'StartTest' is not defined                         no-undef
2023-12-12T07:29:14.7045620Z    55:1   error  'contractid_prefix' is not defined                 no-undef
2023-12-12T07:29:14.7045884Z    58:18  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7046135Z   100:9   error  'i' is not defined                                 no-undef
2023-12-12T07:29:14.7046382Z   100:16  error  'i' is not defined                                 no-undef
2023-12-12T07:29:14.7046633Z   100:33  error  'i' is not defined                                 no-undef
2023-12-12T07:29:14.7046874Z   101:22  error  'i' is not defined                                 no-undef
2023-12-12T07:29:14.7047190Z   106:5   error  'failureCount' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7047444Z   115:1   error  'StopTest' is not defined                          no-undef
2023-12-12T07:29:14.7047745Z   139:9   error  'test1_result' is defined but never used           no-unused-vars
2023-12-12T07:29:14.7048083Z   141:27  error  'contractid_prefix' is not defined                 no-undef
2023-12-12T07:29:14.7048339Z   143:17  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7048597Z   148:2   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7048934Z   149:4   error  Mixed spaces and tabs                              no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7049323Z   150:4   error  Mixed spaces and tabs                              no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7049586Z   156:3   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7049839Z   157:3   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7050154Z   162:1   error  Mixed spaces and tabs                              no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7050416Z   162:35  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7050672Z   171:3   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7051062Z   172:3   error  Mixed spaces and tabs                              no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7051672Z   173:4   error  Mixed spaces and tabs                              no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7051972Z   177:5   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7052366Z   180:5   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7053056Z   184:4   error  'test2_result' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7053712Z   188:3   error  'WriteLine' is not defined                         no-undef
2023-12-12T07:29:14.7054318Z   197:9   error  'print' is not defined                             no-undef
2023-12-12T07:29:14.7054913Z   199:9   error  'dump' is not defined                              no-undef
2023-12-12T07:29:14.7055257Z 
2023-12-12T07:29:14.7055717Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/bug451678_subscript.js
2023-12-12T07:29:14.7056574Z   1:5   error  'tags' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7057186Z   2:10  error  'makeTags' is defined but never used       no-unused-vars
2023-12-12T07:29:14.7057527Z 
2023-12-12T07:29:14.7057985Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/bug596580_versioned.js
2023-12-12T07:29:14.7058703Z   2:5  error  Parsing error: Unexpected token x
2023-12-12T07:29:14.7058963Z 
2023-12-12T07:29:14.7059401Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/component_import.js
2023-12-12T07:29:14.7060245Z    37:1   error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7060854Z    46:22  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7061449Z    50:27  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7062060Z    54:23  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7062680Z    60:7   error  'thereIsNoSuchIdentifier' is not defined           no-undef
2023-12-12T07:29:14.7063335Z    70:55  error  'aLanguage' is defined but never used              no-unused-vars
2023-12-12T07:29:14.7063971Z    76:21  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7064555Z    77:21  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7065145Z    80:11  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7065723Z    90:12  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7066311Z    94:27  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7066893Z    98:23  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7067519Z   103:55  error  'aLanguage' is defined but never used              no-unused-vars
2023-12-12T07:29:14.7068271Z   108:19  error  'XPCOMUtils' is not defined                        no-undef
2023-12-12T07:29:14.7068856Z   108:42  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7069492Z   120:5   error  'NSGetFactory' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7070200Z   120:20  error  'XPCOMUtils' is not defined                        no-undef
2023-12-12T07:29:14.7070531Z 
2023-12-12T07:29:14.7070962Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bogus_files.js
2023-12-12T07:29:14.7071781Z   42:5   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7072293Z   45:5   error  'print' is not defined                no-undef
2023-12-12T07:29:14.7072800Z   49:3   error  'do_check_eq' is not defined          no-undef
2023-12-12T07:29:14.7073287Z   51:5   error  'do_check_eq' is not defined          no-undef
2023-12-12T07:29:14.7073966Z   54:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7074597Z   69:3   error  'do_check_eq' is not defined          no-undef
2023-12-12T07:29:14.7075092Z   69:22  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7075675Z   73:3   error  'do_check_eq' is not defined          no-undef
2023-12-12T07:29:14.7076178Z   73:22  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7076463Z 
2023-12-12T07:29:14.7076885Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug408412.js
2023-12-12T07:29:14.7077681Z   39:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7078219Z   40:14  error  'do_get_file' is not defined          no-undef
2023-12-12T07:29:14.7078712Z   41:13  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7079210Z   42:35  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7079712Z   46:5   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7080215Z   47:5   error  'do_throw' is not defined             no-undef
2023-12-12T07:29:14.7080711Z   49:5   error  'do_check_neq' is not defined         no-undef
2023-12-12T07:29:14.7081001Z 
2023-12-12T07:29:14.7081417Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug451678.js
2023-12-12T07:29:14.7082192Z   39:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7082491Z 
2023-12-12T07:29:14.7082907Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug596580.js
2023-12-12T07:29:14.7083660Z   1:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7083969Z 
2023-12-12T07:29:14.7084381Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug604362.js
2023-12-12T07:29:14.7085175Z    1:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7085709Z    2:12  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7086215Z    3:12  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7086714Z    6:11  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7087199Z    8:10  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7087692Z    9:9   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7088198Z   10:20  error  'do_check_neq' is not defined         no-undef
2023-12-12T07:29:14.7088699Z   11:3   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7088992Z 
2023-12-12T07:29:14.7089403Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug608142.js
2023-12-12T07:29:14.7090188Z   39:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7090731Z   40:14  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7091224Z   52:14  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7091813Z   53:20  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7092322Z   58:13  error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7092814Z   60:8   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7093304Z   65:5   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7093659Z 
2023-12-12T07:29:14.7094100Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug_442086.js
2023-12-12T07:29:14.7094898Z   52:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7095573Z   57:15  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7096080Z   60:32  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7096571Z   65:16  error  'do_throw' is not defined             no-undef
2023-12-12T07:29:14.7096854Z 
2023-12-12T07:29:14.7097253Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_import.js
2023-12-12T07:29:14.7098100Z   95:3  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7098403Z 
2023-12-12T07:29:14.7098899Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_js_weak_references.js
2023-12-12T07:29:14.7099811Z   39:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7100357Z   42:14  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7100866Z   44:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7101364Z   45:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7101854Z   46:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7102350Z   49:3   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7102848Z   52:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7103325Z   53:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7103818Z   54:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7104312Z   61:15  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7104798Z   62:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7105287Z   64:3   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7105778Z   68:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7106053Z 
2023-12-12T07:29:14.7106509Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_localeCompare.js
2023-12-12T07:29:14.7107348Z   1:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7107890Z   2:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7108389Z   3:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7108888Z   4:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7109381Z   5:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7109661Z 
2023-12-12T07:29:14.7110136Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_recursive_import.js
2023-12-12T07:29:14.7110977Z   40:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7111525Z   42:3   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7112026Z   45:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7112519Z   48:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7113015Z   51:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7113300Z 
2023-12-12T07:29:14.7113852Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_xpcomutils.js
2023-12-12T07:29:14.7114630Z   46:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7114929Z 
2023-12-12T07:29:14.7115740Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-class-test-SoundSource.js
2023-12-12T07:29:14.7116716Z   41:2  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7117020Z 
2023-12-12T07:29:14.7117703Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-class-test-Timer.js
2023-12-12T07:29:14.7118783Z   40:17  error  'zeroTimer' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7119446Z   40:28  error  'reportTimer' is defined but never used         no-unused-vars
2023-12-12T07:29:14.7120065Z   47:19  error  'Timer' is not defined                          no-undef
2023-12-12T07:29:14.7120643Z   58:28  error  'Timer' is not defined                          no-undef
2023-12-12T07:29:14.7121197Z   81:19  error  'Timer' is not defined                          no-undef
2023-12-12T07:29:14.7121526Z 
2023-12-12T07:29:14.7122206Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-script-test-rig.js
2023-12-12T07:29:14.7123232Z   199:57  error  'log' is not defined                       no-undef
2023-12-12T07:29:14.7123853Z   208:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7124405Z   212:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7124954Z   244:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7125490Z   248:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7126029Z   271:4   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7126568Z   275:6   error  'console' is not defined                   no-undef
2023-12-12T07:29:14.7127096Z   275:31  error  'console' is not defined                   no-undef
2023-12-12T07:29:14.7127617Z   277:14  error  'console' is not defined                   no-undef
2023-12-12T07:29:14.7128145Z   278:21  error  'log' is not defined                       no-undef
2023-12-12T07:29:14.7128726Z   287:10  error  'reportSuccess' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7129351Z   294:10  error  'reportFailure' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7129929Z   305:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7130473Z   311:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7131009Z   325:4   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7131547Z   330:2   error  'log' is not defined                       no-undef
2023-12-12T07:29:14.7132062Z   341:5   error  'log' is not defined                       no-undef
2023-12-12T07:29:14.7132357Z 
2023-12-12T07:29:14.7133076Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-test-expandDescription.js
2023-12-12T07:29:14.7133995Z   108:39  error  'System' is not defined  no-undef
2023-12-12T07:29:14.7134275Z 
2023-12-12T07:29:14.7134965Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-test-frameCallbacks.js
2023-12-12T07:29:14.7135919Z   47:3  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7136220Z 
2023-12-12T07:29:14.7136703Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/PNGTestSuite/PNGTestSuite.oxp/Config/script.js
2023-12-12T07:29:14.7137462Z   49:2  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7137758Z 
2023-12-12T07:29:14.7138303Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/RetroMissions/RetroMissions.oxp/Scripts/ahruman-reaper.js
2023-12-12T07:29:14.7139049Z   14:6  error  Parsing error: Unexpected token targets
2023-12-12T07:29:14.7139326Z 
2023-12-12T07:29:14.7139983Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/materialTestSuite/Material Test Suite.oxp/Scripts/oolite-material-test-suite.js
2023-12-12T07:29:14.7141041Z    43:7   error  'console' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7141664Z    43:17  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7142240Z    47:3   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7142798Z    54:22  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7143462Z    60:4   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7144009Z    71:4   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7144553Z    85:6   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7145120Z    87:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7145678Z    99:30  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7146239Z   100:29  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7146808Z   107:4   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7147429Z   113:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7148121Z   115:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7148828Z   116:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7149467Z   116:31  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7150109Z   117:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7150729Z   117:50  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7151363Z   118:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7151993Z   118:39  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7152616Z   119:6   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7153250Z   122:54  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7153926Z   126:3   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7154472Z   135:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7155030Z   136:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7155592Z   187:24  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7156151Z   188:26  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7156701Z   189:31  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7157254Z   193:5   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7157801Z   194:5   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7158351Z   209:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7158910Z   210:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7159466Z   210:30  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7160017Z   210:70  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7160564Z   214:3   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7161096Z   226:4   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7161622Z   233:2   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7161929Z 
2023-12-12T07:29:14.7162152Z ✖ 100436 problems (100436 errors, 0 warnings)
2023-12-12T07:29:14.7162712Z   303 errors and 0 warnings potentially fixable with the `--fix` option.

Re: JavaScript Linter

Posted: Tue Dec 12, 2023 7:51 am
by hiran
I get the feeling to find the full (authorative) list of JavaScript properties and methods we need to look into
https://github.com/OoliteProject/oolite ... JSGlobal.m

For the additional types like Quaternion and Vector3D I only see matching classes in
https://github.com/OoliteProject/oolite ... /Scripting

but it would indicate there are a few more that are also not on the Wiki.

Re: JavaScript Linter

Posted: Wed Dec 13, 2023 6:51 am
by hiran
hiran wrote: Tue Dec 12, 2023 7:43 am
Done. I added these two here and here.

Here is another log excerpt:

Code: Select all

2023-12-12T07:29:14.6987682Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_exceptions.js
2023-12-12T07:29:14.6987864Z     5:21  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6988048Z     7:43  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6988224Z     9:17  error  'print' is not defined       no-undef
2023-12-12T07:29:14.6988400Z    11:17  error  'print' is not defined       no-undef
2023-12-12T07:29:14.6988584Z    15:13  error  'print' is not defined       no-undef
2023-12-12T07:29:14.6988758Z    19:9   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6989010Z    23:13  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6989195Z    24:13  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6989369Z    37:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6989548Z    40:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6989789Z    42:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6989962Z    48:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6990139Z    51:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6990312Z    53:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6990485Z    59:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6990666Z    62:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6990838Z    64:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6991018Z    68:20  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6991262Z    70:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6991434Z    73:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6991607Z    75:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6991842Z    81:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6992019Z    84:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6992199Z    86:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6992372Z    90:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6992550Z    91:24  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6992733Z    91:51  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6992906Z    96:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6993079Z    99:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6993259Z   103:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6993436Z   105:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6993727Z   108:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6993926Z   110:30  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6994104Z   114:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6994277Z   117:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6994459Z   122:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6994633Z   125:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6994819Z   126:20  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6994992Z   130:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6995166Z   133:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6995350Z   138:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6995524Z   141:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6995707Z   142:20  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6995889Z   146:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6996063Z   149:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6996247Z   151:45  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6996427Z   155:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6996603Z   158:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6996782Z   164:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6996787Z 
2023-12-12T07:29:14.6997204Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_ids.js
2023-12-12T07:29:14.6997379Z    46:9   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6997562Z    48:9   error  'dump' is not defined        no-undef
2023-12-12T07:29:14.6997742Z    52:12  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6998002Z    62:1   error  'data' is not defined        no-undef
2023-12-12T07:29:14.6998189Z    73:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6998366Z    74:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6998544Z    76:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6998725Z    80:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6998972Z    83:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6999154Z    84:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6999328Z    93:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6999503Z    94:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6999685Z    95:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6999860Z    98:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7000039Z   101:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7000226Z   104:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7000478Z   106:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7000660Z   107:21  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7000912Z   110:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7001092Z   111:21  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7001271Z   121:20  error  'data' is not defined        no-undef
2023-12-12T07:29:14.7001456Z   122:16  error  'data' is not defined        no-undef
2023-12-12T07:29:14.7001461Z 
2023-12-12T07:29:14.7001907Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_observer.js
2023-12-12T07:29:14.7002141Z   2:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7002147Z 
2023-12-12T07:29:14.7002610Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_overloaded.js
2023-12-12T07:29:14.7002798Z    1:13  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7002987Z    2:13  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7003165Z    4:1   error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7003340Z    7:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7003519Z    7:33  error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7003699Z    8:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7003877Z    8:33  error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7004048Z    9:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7004218Z    9:33  error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7004397Z   10:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7004571Z   10:33  error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7004745Z   11:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7004922Z   11:33  error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7005096Z   13:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7005103Z 
2023-12-12T07:29:14.7005563Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_primitives.js
2023-12-12T07:29:14.7005793Z    14:1   error  'contractid_prefix' is not defined  no-undef
2023-12-12T07:29:14.7006010Z    15:1   error  'contractid_suffix' is not defined  no-undef
2023-12-12T07:29:14.7006225Z    18:18  error  'Components' is not defined         no-undef
2023-12-12T07:29:14.7006425Z    56:9   error  'print' is not defined              no-undef
2023-12-12T07:29:14.7006624Z    58:9   error  'dump' is not defined               no-undef
2023-12-12T07:29:14.7006838Z    85:27  error  'contractid_prefix' is not defined  no-undef
2023-12-12T07:29:14.7007044Z    85:56  error  'contractid_suffix' is not defined  no-undef
2023-12-12T07:29:14.7007247Z    87:17  error  'Components' is not defined         no-undef
2023-12-12T07:29:14.7007454Z    92:34  error  'Components' is not defined         no-undef
2023-12-12T07:29:14.7007726Z   127:9   error  'i' is not defined                  no-undef
2023-12-12T07:29:14.7007928Z   127:16  error  'i' is not defined                  no-undef
2023-12-12T07:29:14.7008133Z   127:33  error  'i' is not defined                  no-undef
2023-12-12T07:29:14.7008329Z   128:22  error  'i' is not defined                  no-undef
2023-12-12T07:29:14.7008392Z 
2023-12-12T07:29:14.7008870Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_propertybag.js
2023-12-12T07:29:14.7009097Z   2:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7009102Z 
2023-12-12T07:29:14.7009540Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_variant.js
2023-12-12T07:29:14.7009762Z   2:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7009768Z 
2023-12-12T07:29:14.7010255Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_variant_array.js
2023-12-12T07:29:14.7010534Z   2:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7010539Z 
2023-12-12T07:29:14.7010974Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/readonlyattributes.js
2023-12-12T07:29:14.7011238Z   45:2   error  'StartTest' is not defined    no-undef
2023-12-12T07:29:14.7011433Z   52:16  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7011619Z   54:10  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7011807Z   57:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7011995Z   58:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7012177Z   59:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7012356Z   60:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7012625Z   61:3   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7012807Z   69:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7012996Z   70:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7013175Z   71:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7013358Z   72:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7013544Z   74:2   error  'StopTest' is not defined     no-undef
2023-12-12T07:29:14.7013551Z 
2023-12-12T07:29:14.7013995Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/readwriteattributes.js
2023-12-12T07:29:14.7014186Z    45:2   error  'StartTest' is not defined    no-undef
2023-12-12T07:29:14.7014387Z    52:16  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7014573Z    54:10  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7014753Z    55:2   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7014940Z    58:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7015206Z    59:3   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7015476Z    60:3   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7015660Z    62:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7015843Z    66:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7016027Z    66:42  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7016209Z    67:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7016384Z    67:41  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7016570Z    68:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7016744Z    68:45  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7016922Z    69:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7017104Z    69:38  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7017362Z    70:3   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7017616Z    73:2   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7017791Z    74:2   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7017963Z    75:2   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7018141Z    76:2   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7018321Z    78:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7018555Z    78:43  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7018740Z    79:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7018913Z    79:42  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7019091Z    80:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7019269Z    80:45  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7019448Z    81:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7019622Z    81:38  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7019807Z    93:2   error  'StopTest' is not defined     no-undef
2023-12-12T07:29:14.7020118Z    96:1   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7020297Z    96:3   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7020612Z    98:1   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7020794Z    98:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7020979Z   100:5   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7020985Z 
2023-12-12T07:29:14.7021361Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/scriptable.js
2023-12-12T07:29:14.7021545Z    46:1   error  'StartTest' is not defined    no-undef
2023-12-12T07:29:14.7021732Z    49:1   error  'StopTest' is not defined     no-undef
2023-12-12T07:29:14.7021910Z    52:2   error  'CONTRACTID' is not defined   no-undef
2023-12-12T07:29:14.7022086Z    53:2   error  'CLASS' is not defined        no-undef
2023-12-12T07:29:14.7022274Z    53:10  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7022463Z    53:29  error  'CONTRACTID' is not defined   no-undef
2023-12-12T07:29:14.7022646Z    54:2   error  'IFACE' is not defined        no-undef
2023-12-12T07:29:14.7022830Z    54:10  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7023009Z    56:2   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7023196Z    56:15  error  'CLASS' is not defined        no-undef
2023-12-12T07:29:14.7023376Z    56:36  error  'IFACE' is not defined        no-undef
2023-12-12T07:29:14.7023556Z    62:2   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7023740Z    63:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7023918Z    66:2   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7024099Z    69:22  error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7024284Z    71:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7024466Z    75:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7024652Z    78:3   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7024829Z    82:2   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7025010Z    84:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7025195Z    88:10  error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7025376Z    92:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7025553Z    98:2   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7025743Z   100:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7025927Z   104:7   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7026109Z   109:18  error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7026300Z   110:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7026483Z   115:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7026736Z   118:10  error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7026748Z 
2023-12-12T07:29:14.7027093Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/testin.js
2023-12-12T07:29:14.7027281Z    45:3   error  'StartTest' is not defined    no-undef
2023-12-12T07:29:14.7027476Z    47:15  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7027721Z    48:15  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7027982Z    58:1   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7028246Z    59:1   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7028500Z    60:1   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7028686Z   131:3   error  'StopTest' is not defined     no-undef
2023-12-12T07:29:14.7028882Z   135:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7029068Z   142:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7029256Z   149:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7029504Z   189:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7029688Z   196:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7029746Z 
2023-12-12T07:29:14.7030094Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/xpcfun.js
2023-12-12T07:29:14.7030422Z    50:5   error  'FILE_BUGNUMBERS' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7030733Z    55:10  error  'AddTestCase' is defined but never used               no-unused-vars
2023-12-12T07:29:14.7031018Z    56:5   error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7031294Z    56:15  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7031567Z    57:12  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7031845Z    57:22  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7032107Z    60:15  error  'ID' is not defined                                   no-undef
2023-12-12T07:29:14.7032424Z    73:10  error  'StartTest' is defined but never used                 no-unused-vars
2023-12-12T07:29:14.7032691Z    74:5   error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7032961Z    75:5   error  'FILE_FAILED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7033233Z    76:5   error  'FILE_PASSED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7033492Z    77:5   error  'FILE_PASSED' is not defined                          no-undef
2023-12-12T07:29:14.7033866Z    78:5   error  'COMPLETED' is not defined                            no-undef
2023-12-12T07:29:14.7034122Z    79:5   error  'ID' is not defined                                   no-undef
2023-12-12T07:29:14.7034379Z    81:5   error  'FILE_TITLE' is not defined                           no-undef
2023-12-12T07:29:14.7034646Z    83:22  error  'FILE_TITLE' is not defined                           no-undef
2023-12-12T07:29:14.7034912Z    86:9   error  'document' is not defined                             no-undef
2023-12-12T07:29:14.7035226Z    95:10  error  'StopTest' is defined but never used                  no-unused-vars
2023-12-12T07:29:14.7035499Z   102:9   error  'document' is not defined                             no-undef
2023-12-12T07:29:14.7035817Z   105:10  error  'AddComment' is defined but never used                no-unused-vars
2023-12-12T07:29:14.7036087Z   110:26  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7036361Z   111:18  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7036684Z   123:10  error  'writeParseableResults' is defined but never used     no-unused-vars
2023-12-12T07:29:14.7036958Z   125:26  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7037314Z   126:18  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7037579Z   142:35  error  'FILE_TITLE' is not defined                           no-undef
2023-12-12T07:29:14.7037849Z   143:35  error  'FILE_PASSED' is not defined                          no-undef
2023-12-12T07:29:14.7038118Z   144:35  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7038459Z   145:35  error  'FILE_PASSED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7038731Z   146:35  error  'FILE_FAILED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7038992Z   177:9   error  'FILE_PASSED' is not defined                          no-undef
2023-12-12T07:29:14.7039253Z   178:9   error  'FILE_FAILED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7039520Z   180:9   error  'FILE_PASSED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7039831Z   187:10  error  'PrintResult' is defined but never used               no-unused-vars
2023-12-12T07:29:14.7040207Z   187:22  error  'e' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7040497Z   187:25  error  'a' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7040851Z   187:28  error  's' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7041145Z   187:31  error  'p' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7041468Z   190:10  error  'PrintHTMLFormattedResult' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7041754Z   190:36  error  'e' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7042048Z   190:39  error  'a' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7042333Z   190:42  error  's' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7042627Z   190:45  error  'p' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7042901Z   194:9   error  'document' is not defined                             no-undef
2023-12-12T07:29:14.7043166Z   196:9   error  'print' is not defined                                no-undef
2023-12-12T07:29:14.7043484Z   200:10  error  'GetFailedCases' is defined but never used            no-unused-vars
2023-12-12T07:29:14.7043760Z   201:26  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7044031Z   202:18  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7044334Z   218:10  error  'Enumerate' is defined but never used                 no-unused-vars
2023-12-12T07:29:14.7044633Z   233:5   error  'GLOBAL' is assigned a value but never used           no-unused-vars
2023-12-12T07:29:14.7044639Z 
2023-12-12T07:29:14.7045079Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/xpctest_primitives.js
2023-12-12T07:29:14.7045346Z    52:1   error  'StartTest' is not defined                         no-undef
2023-12-12T07:29:14.7045620Z    55:1   error  'contractid_prefix' is not defined                 no-undef
2023-12-12T07:29:14.7045884Z    58:18  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7046135Z   100:9   error  'i' is not defined                                 no-undef
2023-12-12T07:29:14.7046382Z   100:16  error  'i' is not defined                                 no-undef
2023-12-12T07:29:14.7046633Z   100:33  error  'i' is not defined                                 no-undef
2023-12-12T07:29:14.7046874Z   101:22  error  'i' is not defined                                 no-undef
2023-12-12T07:29:14.7047190Z   106:5   error  'failureCount' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7047444Z   115:1   error  'StopTest' is not defined                          no-undef
2023-12-12T07:29:14.7047745Z   139:9   error  'test1_result' is defined but never used           no-unused-vars
2023-12-12T07:29:14.7048083Z   141:27  error  'contractid_prefix' is not defined                 no-undef
2023-12-12T07:29:14.7048339Z   143:17  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7048597Z   148:2   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7048934Z   149:4   error  Mixed spaces and tabs                              no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7049323Z   150:4   error  Mixed spaces and tabs                              no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7049586Z   156:3   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7049839Z   157:3   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7050154Z   162:1   error  Mixed spaces and tabs                              no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7050416Z   162:35  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7050672Z   171:3   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7051062Z   172:3   error  Mixed spaces and tabs                              no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7051672Z   173:4   error  Mixed spaces and tabs                              no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7051972Z   177:5   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7052366Z   180:5   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7053056Z   184:4   error  'test2_result' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7053712Z   188:3   error  'WriteLine' is not defined                         no-undef
2023-12-12T07:29:14.7054318Z   197:9   error  'print' is not defined                             no-undef
2023-12-12T07:29:14.7054913Z   199:9   error  'dump' is not defined                              no-undef
2023-12-12T07:29:14.7055257Z 
2023-12-12T07:29:14.7055717Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/bug451678_subscript.js
2023-12-12T07:29:14.7056574Z   1:5   error  'tags' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7057186Z   2:10  error  'makeTags' is defined but never used       no-unused-vars
2023-12-12T07:29:14.7057527Z 
2023-12-12T07:29:14.7057985Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/bug596580_versioned.js
2023-12-12T07:29:14.7058703Z   2:5  error  Parsing error: Unexpected token x
2023-12-12T07:29:14.7058963Z 
2023-12-12T07:29:14.7059401Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/component_import.js
2023-12-12T07:29:14.7060245Z    37:1   error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7060854Z    46:22  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7061449Z    50:27  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7062060Z    54:23  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7062680Z    60:7   error  'thereIsNoSuchIdentifier' is not defined           no-undef
2023-12-12T07:29:14.7063335Z    70:55  error  'aLanguage' is defined but never used              no-unused-vars
2023-12-12T07:29:14.7063971Z    76:21  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7064555Z    77:21  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7065145Z    80:11  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7065723Z    90:12  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7066311Z    94:27  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7066893Z    98:23  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7067519Z   103:55  error  'aLanguage' is defined but never used              no-unused-vars
2023-12-12T07:29:14.7068271Z   108:19  error  'XPCOMUtils' is not defined                        no-undef
2023-12-12T07:29:14.7068856Z   108:42  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7069492Z   120:5   error  'NSGetFactory' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7070200Z   120:20  error  'XPCOMUtils' is not defined                        no-undef
2023-12-12T07:29:14.7070531Z 
2023-12-12T07:29:14.7070962Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bogus_files.js
2023-12-12T07:29:14.7071781Z   42:5   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7072293Z   45:5   error  'print' is not defined                no-undef
2023-12-12T07:29:14.7072800Z   49:3   error  'do_check_eq' is not defined          no-undef
2023-12-12T07:29:14.7073287Z   51:5   error  'do_check_eq' is not defined          no-undef
2023-12-12T07:29:14.7073966Z   54:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7074597Z   69:3   error  'do_check_eq' is not defined          no-undef
2023-12-12T07:29:14.7075092Z   69:22  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7075675Z   73:3   error  'do_check_eq' is not defined          no-undef
2023-12-12T07:29:14.7076178Z   73:22  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7076463Z 
2023-12-12T07:29:14.7076885Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug408412.js
2023-12-12T07:29:14.7077681Z   39:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7078219Z   40:14  error  'do_get_file' is not defined          no-undef
2023-12-12T07:29:14.7078712Z   41:13  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7079210Z   42:35  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7079712Z   46:5   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7080215Z   47:5   error  'do_throw' is not defined             no-undef
2023-12-12T07:29:14.7080711Z   49:5   error  'do_check_neq' is not defined         no-undef
2023-12-12T07:29:14.7081001Z 
2023-12-12T07:29:14.7081417Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug451678.js
2023-12-12T07:29:14.7082192Z   39:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7082491Z 
2023-12-12T07:29:14.7082907Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug596580.js
2023-12-12T07:29:14.7083660Z   1:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7083969Z 
2023-12-12T07:29:14.7084381Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug604362.js
2023-12-12T07:29:14.7085175Z    1:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7085709Z    2:12  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7086215Z    3:12  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7086714Z    6:11  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7087199Z    8:10  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7087692Z    9:9   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7088198Z   10:20  error  'do_check_neq' is not defined         no-undef
2023-12-12T07:29:14.7088699Z   11:3   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7088992Z 
2023-12-12T07:29:14.7089403Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug608142.js
2023-12-12T07:29:14.7090188Z   39:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7090731Z   40:14  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7091224Z   52:14  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7091813Z   53:20  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7092322Z   58:13  error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7092814Z   60:8   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7093304Z   65:5   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7093659Z 
2023-12-12T07:29:14.7094100Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug_442086.js
2023-12-12T07:29:14.7094898Z   52:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7095573Z   57:15  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7096080Z   60:32  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7096571Z   65:16  error  'do_throw' is not defined             no-undef
2023-12-12T07:29:14.7096854Z 
2023-12-12T07:29:14.7097253Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_import.js
2023-12-12T07:29:14.7098100Z   95:3  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7098403Z 
2023-12-12T07:29:14.7098899Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_js_weak_references.js
2023-12-12T07:29:14.7099811Z   39:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7100357Z   42:14  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7100866Z   44:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7101364Z   45:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7101854Z   46:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7102350Z   49:3   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7102848Z   52:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7103325Z   53:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7103818Z   54:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7104312Z   61:15  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7104798Z   62:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7105287Z   64:3   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7105778Z   68:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7106053Z 
2023-12-12T07:29:14.7106509Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_localeCompare.js
2023-12-12T07:29:14.7107348Z   1:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7107890Z   2:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7108389Z   3:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7108888Z   4:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7109381Z   5:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7109661Z 
2023-12-12T07:29:14.7110136Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_recursive_import.js
2023-12-12T07:29:14.7110977Z   40:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7111525Z   42:3   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7112026Z   45:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7112519Z   48:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7113015Z   51:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7113300Z 
2023-12-12T07:29:14.7113852Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_xpcomutils.js
2023-12-12T07:29:14.7114630Z   46:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7114929Z 
2023-12-12T07:29:14.7115740Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-class-test-SoundSource.js
2023-12-12T07:29:14.7116716Z   41:2  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7117020Z 
2023-12-12T07:29:14.7117703Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-class-test-Timer.js
2023-12-12T07:29:14.7118783Z   40:17  error  'zeroTimer' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7119446Z   40:28  error  'reportTimer' is defined but never used         no-unused-vars
2023-12-12T07:29:14.7120065Z   47:19  error  'Timer' is not defined                          no-undef
2023-12-12T07:29:14.7120643Z   58:28  error  'Timer' is not defined                          no-undef
2023-12-12T07:29:14.7121197Z   81:19  error  'Timer' is not defined                          no-undef
2023-12-12T07:29:14.7121526Z 
2023-12-12T07:29:14.7122206Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-script-test-rig.js
2023-12-12T07:29:14.7123232Z   199:57  error  'log' is not defined                       no-undef
2023-12-12T07:29:14.7123853Z   208:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7124405Z   212:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7124954Z   244:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7125490Z   248:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7126029Z   271:4   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7126568Z   275:6   error  'console' is not defined                   no-undef
2023-12-12T07:29:14.7127096Z   275:31  error  'console' is not defined                   no-undef
2023-12-12T07:29:14.7127617Z   277:14  error  'console' is not defined                   no-undef
2023-12-12T07:29:14.7128145Z   278:21  error  'log' is not defined                       no-undef
2023-12-12T07:29:14.7128726Z   287:10  error  'reportSuccess' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7129351Z   294:10  error  'reportFailure' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7129929Z   305:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7130473Z   311:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7131009Z   325:4   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7131547Z   330:2   error  'log' is not defined                       no-undef
2023-12-12T07:29:14.7132062Z   341:5   error  'log' is not defined                       no-undef
2023-12-12T07:29:14.7132357Z 
2023-12-12T07:29:14.7133076Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-test-expandDescription.js
2023-12-12T07:29:14.7133995Z   108:39  error  'System' is not defined  no-undef
2023-12-12T07:29:14.7134275Z 
2023-12-12T07:29:14.7134965Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-test-frameCallbacks.js
2023-12-12T07:29:14.7135919Z   47:3  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7136220Z 
2023-12-12T07:29:14.7136703Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/PNGTestSuite/PNGTestSuite.oxp/Config/script.js
2023-12-12T07:29:14.7137462Z   49:2  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7137758Z 
2023-12-12T07:29:14.7138303Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/RetroMissions/RetroMissions.oxp/Scripts/ahruman-reaper.js
2023-12-12T07:29:14.7139049Z   14:6  error  Parsing error: Unexpected token targets
2023-12-12T07:29:14.7139326Z 
2023-12-12T07:29:14.7139983Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/materialTestSuite/Material Test Suite.oxp/Scripts/oolite-material-test-suite.js
2023-12-12T07:29:14.7141041Z    43:7   error  'console' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7141664Z    43:17  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7142240Z    47:3   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7142798Z    54:22  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7143462Z    60:4   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7144009Z    71:4   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7144553Z    85:6   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7145120Z    87:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7145678Z    99:30  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7146239Z   100:29  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7146808Z   107:4   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7147429Z   113:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7148121Z   115:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7148828Z   116:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7149467Z   116:31  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7150109Z   117:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7150729Z   117:50  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7151363Z   118:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7151993Z   118:39  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7152616Z   119:6   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7153250Z   122:54  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7153926Z   126:3   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7154472Z   135:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7155030Z   136:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7155592Z   187:24  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7156151Z   188:26  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7156701Z   189:31  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7157254Z   193:5   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7157801Z   194:5   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7158351Z   209:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7158910Z   210:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7159466Z   210:30  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7160017Z   210:70  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7160564Z   214:3   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7161096Z   226:4   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7161622Z   233:2   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7161929Z 
2023-12-12T07:29:14.7162152Z ✖ 100436 problems (100436 errors, 0 warnings)
2023-12-12T07:29:14.7162712Z   303 errors and 0 warnings potentially fixable with the `--fix` option.
Some strange errors come from js files in some test directory. If they are meant to test Oolite behaviour when it hits bad scripts it is not worth linting them.

Should I exclude them from the process?

Re: JavaScript Linter

Posted: Wed Dec 13, 2023 8:06 am
by another_commander
hiran wrote: Wed Dec 13, 2023 6:51 am
hiran wrote: Tue Dec 12, 2023 7:43 am
Done. I added these two here and here.

Here is another log excerpt:

Code: Select all

2023-12-12T07:29:14.6987682Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_exceptions.js
2023-12-12T07:29:14.6987864Z     5:21  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6988048Z     7:43  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6988224Z     9:17  error  'print' is not defined       no-undef
2023-12-12T07:29:14.6988400Z    11:17  error  'print' is not defined       no-undef
2023-12-12T07:29:14.6988584Z    15:13  error  'print' is not defined       no-undef
2023-12-12T07:29:14.6988758Z    19:9   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6989010Z    23:13  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6989195Z    24:13  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6989369Z    37:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6989548Z    40:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6989789Z    42:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6989962Z    48:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6990139Z    51:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6990312Z    53:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6990485Z    59:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6990666Z    62:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6990838Z    64:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6991018Z    68:20  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6991262Z    70:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6991434Z    73:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6991607Z    75:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6991842Z    81:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6992019Z    84:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6992199Z    86:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6992372Z    90:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6992550Z    91:24  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6992733Z    91:51  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6992906Z    96:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6993079Z    99:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6993259Z   103:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6993436Z   105:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6993727Z   108:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6993926Z   110:30  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6994104Z   114:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6994277Z   117:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6994459Z   122:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6994633Z   125:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6994819Z   126:20  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6994992Z   130:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6995166Z   133:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6995350Z   138:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6995524Z   141:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6995707Z   142:20  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6995889Z   146:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6996063Z   149:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6996247Z   151:45  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6996427Z   155:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6996603Z   158:1   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6996782Z   164:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6996787Z 
2023-12-12T07:29:14.6997204Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_ids.js
2023-12-12T07:29:14.6997379Z    46:9   error  'print' is not defined       no-undef
2023-12-12T07:29:14.6997562Z    48:9   error  'dump' is not defined        no-undef
2023-12-12T07:29:14.6997742Z    52:12  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6998002Z    62:1   error  'data' is not defined        no-undef
2023-12-12T07:29:14.6998189Z    73:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6998366Z    74:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6998544Z    76:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6998725Z    80:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6998972Z    83:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6999154Z    84:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6999328Z    93:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6999503Z    94:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6999685Z    95:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.6999860Z    98:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7000039Z   101:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7000226Z   104:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7000478Z   106:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7000660Z   107:21  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7000912Z   110:3   error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7001092Z   111:21  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7001271Z   121:20  error  'data' is not defined        no-undef
2023-12-12T07:29:14.7001456Z   122:16  error  'data' is not defined        no-undef
2023-12-12T07:29:14.7001461Z 
2023-12-12T07:29:14.7001907Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_observer.js
2023-12-12T07:29:14.7002141Z   2:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7002147Z 
2023-12-12T07:29:14.7002610Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_overloaded.js
2023-12-12T07:29:14.7002798Z    1:13  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7002987Z    2:13  error  'Components' is not defined  no-undef
2023-12-12T07:29:14.7003165Z    4:1   error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7003340Z    7:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7003519Z    7:33  error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7003699Z    8:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7003877Z    8:33  error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7004048Z    9:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7004218Z    9:33  error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7004397Z   10:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7004571Z   10:33  error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7004745Z   11:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7004922Z   11:33  error  'foo' is not defined         no-undef
2023-12-12T07:29:14.7005096Z   13:5   error  'print' is not defined       no-undef
2023-12-12T07:29:14.7005103Z 
2023-12-12T07:29:14.7005563Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_primitives.js
2023-12-12T07:29:14.7005793Z    14:1   error  'contractid_prefix' is not defined  no-undef
2023-12-12T07:29:14.7006010Z    15:1   error  'contractid_suffix' is not defined  no-undef
2023-12-12T07:29:14.7006225Z    18:18  error  'Components' is not defined         no-undef
2023-12-12T07:29:14.7006425Z    56:9   error  'print' is not defined              no-undef
2023-12-12T07:29:14.7006624Z    58:9   error  'dump' is not defined               no-undef
2023-12-12T07:29:14.7006838Z    85:27  error  'contractid_prefix' is not defined  no-undef
2023-12-12T07:29:14.7007044Z    85:56  error  'contractid_suffix' is not defined  no-undef
2023-12-12T07:29:14.7007247Z    87:17  error  'Components' is not defined         no-undef
2023-12-12T07:29:14.7007454Z    92:34  error  'Components' is not defined         no-undef
2023-12-12T07:29:14.7007726Z   127:9   error  'i' is not defined                  no-undef
2023-12-12T07:29:14.7007928Z   127:16  error  'i' is not defined                  no-undef
2023-12-12T07:29:14.7008133Z   127:33  error  'i' is not defined                  no-undef
2023-12-12T07:29:14.7008329Z   128:22  error  'i' is not defined                  no-undef
2023-12-12T07:29:14.7008392Z 
2023-12-12T07:29:14.7008870Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_propertybag.js
2023-12-12T07:29:14.7009097Z   2:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7009102Z 
2023-12-12T07:29:14.7009540Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_variant.js
2023-12-12T07:29:14.7009762Z   2:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7009768Z 
2023-12-12T07:29:14.7010255Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/old/xpctest_variant_array.js
2023-12-12T07:29:14.7010534Z   2:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7010539Z 
2023-12-12T07:29:14.7010974Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/readonlyattributes.js
2023-12-12T07:29:14.7011238Z   45:2   error  'StartTest' is not defined    no-undef
2023-12-12T07:29:14.7011433Z   52:16  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7011619Z   54:10  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7011807Z   57:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7011995Z   58:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7012177Z   59:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7012356Z   60:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7012625Z   61:3   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7012807Z   69:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7012996Z   70:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7013175Z   71:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7013358Z   72:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7013544Z   74:2   error  'StopTest' is not defined     no-undef
2023-12-12T07:29:14.7013551Z 
2023-12-12T07:29:14.7013995Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/readwriteattributes.js
2023-12-12T07:29:14.7014186Z    45:2   error  'StartTest' is not defined    no-undef
2023-12-12T07:29:14.7014387Z    52:16  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7014573Z    54:10  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7014753Z    55:2   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7014940Z    58:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7015206Z    59:3   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7015476Z    60:3   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7015660Z    62:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7015843Z    66:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7016027Z    66:42  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7016209Z    67:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7016384Z    67:41  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7016570Z    68:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7016744Z    68:45  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7016922Z    69:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7017104Z    69:38  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7017362Z    70:3   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7017616Z    73:2   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7017791Z    74:2   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7017963Z    75:2   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7018141Z    76:2   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7018321Z    78:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7018555Z    78:43  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7018740Z    79:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7018913Z    79:42  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7019091Z    80:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7019269Z    80:45  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7019448Z    81:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7019622Z    81:38  error  'o' is not defined            no-undef
2023-12-12T07:29:14.7019807Z    93:2   error  'StopTest' is not defined     no-undef
2023-12-12T07:29:14.7020118Z    96:1   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7020297Z    96:3   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7020612Z    98:1   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7020794Z    98:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7020979Z   100:5   error  'o' is not defined            no-undef
2023-12-12T07:29:14.7020985Z 
2023-12-12T07:29:14.7021361Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/scriptable.js
2023-12-12T07:29:14.7021545Z    46:1   error  'StartTest' is not defined    no-undef
2023-12-12T07:29:14.7021732Z    49:1   error  'StopTest' is not defined     no-undef
2023-12-12T07:29:14.7021910Z    52:2   error  'CONTRACTID' is not defined   no-undef
2023-12-12T07:29:14.7022086Z    53:2   error  'CLASS' is not defined        no-undef
2023-12-12T07:29:14.7022274Z    53:10  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7022463Z    53:29  error  'CONTRACTID' is not defined   no-undef
2023-12-12T07:29:14.7022646Z    54:2   error  'IFACE' is not defined        no-undef
2023-12-12T07:29:14.7022830Z    54:10  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7023009Z    56:2   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7023196Z    56:15  error  'CLASS' is not defined        no-undef
2023-12-12T07:29:14.7023376Z    56:36  error  'IFACE' is not defined        no-undef
2023-12-12T07:29:14.7023556Z    62:2   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7023740Z    63:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7023918Z    66:2   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7024099Z    69:22  error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7024284Z    71:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7024466Z    75:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7024652Z    78:3   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7024829Z    82:2   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7025010Z    84:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7025195Z    88:10  error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7025376Z    92:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7025553Z    98:2   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7025743Z   100:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7025927Z   104:7   error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7026109Z   109:18  error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7026300Z   110:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7026483Z   115:2   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7026736Z   118:10  error  'testObject' is not defined   no-undef
2023-12-12T07:29:14.7026748Z 
2023-12-12T07:29:14.7027093Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/testin.js
2023-12-12T07:29:14.7027281Z    45:3   error  'StartTest' is not defined    no-undef
2023-12-12T07:29:14.7027476Z    47:15  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7027721Z    48:15  error  'Components' is not defined   no-undef
2023-12-12T07:29:14.7027982Z    58:1   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7028246Z    59:1   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7028500Z    60:1   error  Mixed spaces and tabs         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7028686Z   131:3   error  'StopTest' is not defined     no-undef
2023-12-12T07:29:14.7028882Z   135:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7029068Z   142:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7029256Z   149:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7029504Z   189:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7029688Z   196:3   error  'AddTestCase' is not defined  no-undef
2023-12-12T07:29:14.7029746Z 
2023-12-12T07:29:14.7030094Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/xpcfun.js
2023-12-12T07:29:14.7030422Z    50:5   error  'FILE_BUGNUMBERS' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7030733Z    55:10  error  'AddTestCase' is defined but never used               no-unused-vars
2023-12-12T07:29:14.7031018Z    56:5   error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7031294Z    56:15  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7031567Z    57:12  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7031845Z    57:22  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7032107Z    60:15  error  'ID' is not defined                                   no-undef
2023-12-12T07:29:14.7032424Z    73:10  error  'StartTest' is defined but never used                 no-unused-vars
2023-12-12T07:29:14.7032691Z    74:5   error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7032961Z    75:5   error  'FILE_FAILED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7033233Z    76:5   error  'FILE_PASSED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7033492Z    77:5   error  'FILE_PASSED' is not defined                          no-undef
2023-12-12T07:29:14.7033866Z    78:5   error  'COMPLETED' is not defined                            no-undef
2023-12-12T07:29:14.7034122Z    79:5   error  'ID' is not defined                                   no-undef
2023-12-12T07:29:14.7034379Z    81:5   error  'FILE_TITLE' is not defined                           no-undef
2023-12-12T07:29:14.7034646Z    83:22  error  'FILE_TITLE' is not defined                           no-undef
2023-12-12T07:29:14.7034912Z    86:9   error  'document' is not defined                             no-undef
2023-12-12T07:29:14.7035226Z    95:10  error  'StopTest' is defined but never used                  no-unused-vars
2023-12-12T07:29:14.7035499Z   102:9   error  'document' is not defined                             no-undef
2023-12-12T07:29:14.7035817Z   105:10  error  'AddComment' is defined but never used                no-unused-vars
2023-12-12T07:29:14.7036087Z   110:26  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7036361Z   111:18  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7036684Z   123:10  error  'writeParseableResults' is defined but never used     no-unused-vars
2023-12-12T07:29:14.7036958Z   125:26  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7037314Z   126:18  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7037579Z   142:35  error  'FILE_TITLE' is not defined                           no-undef
2023-12-12T07:29:14.7037849Z   143:35  error  'FILE_PASSED' is not defined                          no-undef
2023-12-12T07:29:14.7038118Z   144:35  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7038459Z   145:35  error  'FILE_PASSED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7038731Z   146:35  error  'FILE_FAILED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7038992Z   177:9   error  'FILE_PASSED' is not defined                          no-undef
2023-12-12T07:29:14.7039253Z   178:9   error  'FILE_FAILED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7039520Z   180:9   error  'FILE_PASSED_CASES' is not defined                    no-undef
2023-12-12T07:29:14.7039831Z   187:10  error  'PrintResult' is defined but never used               no-unused-vars
2023-12-12T07:29:14.7040207Z   187:22  error  'e' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7040497Z   187:25  error  'a' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7040851Z   187:28  error  's' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7041145Z   187:31  error  'p' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7041468Z   190:10  error  'PrintHTMLFormattedResult' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7041754Z   190:36  error  'e' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7042048Z   190:39  error  'a' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7042333Z   190:42  error  's' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7042627Z   190:45  error  'p' is defined but never used                         no-unused-vars
2023-12-12T07:29:14.7042901Z   194:9   error  'document' is not defined                             no-undef
2023-12-12T07:29:14.7043166Z   196:9   error  'print' is not defined                                no-undef
2023-12-12T07:29:14.7043484Z   200:10  error  'GetFailedCases' is defined but never used            no-unused-vars
2023-12-12T07:29:14.7043760Z   201:26  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7044031Z   202:18  error  'TESTCASES' is not defined                            no-undef
2023-12-12T07:29:14.7044334Z   218:10  error  'Enumerate' is defined but never used                 no-unused-vars
2023-12-12T07:29:14.7044633Z   233:5   error  'GLOBAL' is assigned a value but never used           no-unused-vars
2023-12-12T07:29:14.7044639Z 
2023-12-12T07:29:14.7045079Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/js/xpctest_primitives.js
2023-12-12T07:29:14.7045346Z    52:1   error  'StartTest' is not defined                         no-undef
2023-12-12T07:29:14.7045620Z    55:1   error  'contractid_prefix' is not defined                 no-undef
2023-12-12T07:29:14.7045884Z    58:18  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7046135Z   100:9   error  'i' is not defined                                 no-undef
2023-12-12T07:29:14.7046382Z   100:16  error  'i' is not defined                                 no-undef
2023-12-12T07:29:14.7046633Z   100:33  error  'i' is not defined                                 no-undef
2023-12-12T07:29:14.7046874Z   101:22  error  'i' is not defined                                 no-undef
2023-12-12T07:29:14.7047190Z   106:5   error  'failureCount' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7047444Z   115:1   error  'StopTest' is not defined                          no-undef
2023-12-12T07:29:14.7047745Z   139:9   error  'test1_result' is defined but never used           no-unused-vars
2023-12-12T07:29:14.7048083Z   141:27  error  'contractid_prefix' is not defined                 no-undef
2023-12-12T07:29:14.7048339Z   143:17  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7048597Z   148:2   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7048934Z   149:4   error  Mixed spaces and tabs                              no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7049323Z   150:4   error  Mixed spaces and tabs                              no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7049586Z   156:3   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7049839Z   157:3   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7050154Z   162:1   error  Mixed spaces and tabs                              no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7050416Z   162:35  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7050672Z   171:3   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7051062Z   172:3   error  Mixed spaces and tabs                              no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7051672Z   173:4   error  Mixed spaces and tabs                              no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7051972Z   177:5   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7052366Z   180:5   error  'AddTestCase' is not defined                       no-undef
2023-12-12T07:29:14.7053056Z   184:4   error  'test2_result' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7053712Z   188:3   error  'WriteLine' is not defined                         no-undef
2023-12-12T07:29:14.7054318Z   197:9   error  'print' is not defined                             no-undef
2023-12-12T07:29:14.7054913Z   199:9   error  'dump' is not defined                              no-undef
2023-12-12T07:29:14.7055257Z 
2023-12-12T07:29:14.7055717Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/bug451678_subscript.js
2023-12-12T07:29:14.7056574Z   1:5   error  'tags' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7057186Z   2:10  error  'makeTags' is defined but never used       no-unused-vars
2023-12-12T07:29:14.7057527Z 
2023-12-12T07:29:14.7057985Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/bug596580_versioned.js
2023-12-12T07:29:14.7058703Z   2:5  error  Parsing error: Unexpected token x
2023-12-12T07:29:14.7058963Z 
2023-12-12T07:29:14.7059401Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/component_import.js
2023-12-12T07:29:14.7060245Z    37:1   error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7060854Z    46:22  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7061449Z    50:27  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7062060Z    54:23  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7062680Z    60:7   error  'thereIsNoSuchIdentifier' is not defined           no-undef
2023-12-12T07:29:14.7063335Z    70:55  error  'aLanguage' is defined but never used              no-unused-vars
2023-12-12T07:29:14.7063971Z    76:21  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7064555Z    77:21  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7065145Z    80:11  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7065723Z    90:12  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7066311Z    94:27  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7066893Z    98:23  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7067519Z   103:55  error  'aLanguage' is defined but never used              no-unused-vars
2023-12-12T07:29:14.7068271Z   108:19  error  'XPCOMUtils' is not defined                        no-undef
2023-12-12T07:29:14.7068856Z   108:42  error  'Components' is not defined                        no-undef
2023-12-12T07:29:14.7069492Z   120:5   error  'NSGetFactory' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7070200Z   120:20  error  'XPCOMUtils' is not defined                        no-undef
2023-12-12T07:29:14.7070531Z 
2023-12-12T07:29:14.7070962Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bogus_files.js
2023-12-12T07:29:14.7071781Z   42:5   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7072293Z   45:5   error  'print' is not defined                no-undef
2023-12-12T07:29:14.7072800Z   49:3   error  'do_check_eq' is not defined          no-undef
2023-12-12T07:29:14.7073287Z   51:5   error  'do_check_eq' is not defined          no-undef
2023-12-12T07:29:14.7073966Z   54:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7074597Z   69:3   error  'do_check_eq' is not defined          no-undef
2023-12-12T07:29:14.7075092Z   69:22  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7075675Z   73:3   error  'do_check_eq' is not defined          no-undef
2023-12-12T07:29:14.7076178Z   73:22  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7076463Z 
2023-12-12T07:29:14.7076885Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug408412.js
2023-12-12T07:29:14.7077681Z   39:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7078219Z   40:14  error  'do_get_file' is not defined          no-undef
2023-12-12T07:29:14.7078712Z   41:13  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7079210Z   42:35  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7079712Z   46:5   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7080215Z   47:5   error  'do_throw' is not defined             no-undef
2023-12-12T07:29:14.7080711Z   49:5   error  'do_check_neq' is not defined         no-undef
2023-12-12T07:29:14.7081001Z 
2023-12-12T07:29:14.7081417Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug451678.js
2023-12-12T07:29:14.7082192Z   39:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7082491Z 
2023-12-12T07:29:14.7082907Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug596580.js
2023-12-12T07:29:14.7083660Z   1:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7083969Z 
2023-12-12T07:29:14.7084381Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug604362.js
2023-12-12T07:29:14.7085175Z    1:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7085709Z    2:12  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7086215Z    3:12  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7086714Z    6:11  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7087199Z    8:10  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7087692Z    9:9   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7088198Z   10:20  error  'do_check_neq' is not defined         no-undef
2023-12-12T07:29:14.7088699Z   11:3   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7088992Z 
2023-12-12T07:29:14.7089403Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug608142.js
2023-12-12T07:29:14.7090188Z   39:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7090731Z   40:14  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7091224Z   52:14  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7091813Z   53:20  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7092322Z   58:13  error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7092814Z   60:8   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7093304Z   65:5   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7093659Z 
2023-12-12T07:29:14.7094100Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_bug_442086.js
2023-12-12T07:29:14.7094898Z   52:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7095573Z   57:15  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7096080Z   60:32  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7096571Z   65:16  error  'do_throw' is not defined             no-undef
2023-12-12T07:29:14.7096854Z 
2023-12-12T07:29:14.7097253Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_import.js
2023-12-12T07:29:14.7098100Z   95:3  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7098403Z 
2023-12-12T07:29:14.7098899Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_js_weak_references.js
2023-12-12T07:29:14.7099811Z   39:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7100357Z   42:14  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7100866Z   44:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7101364Z   45:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7101854Z   46:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7102350Z   49:3   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7102848Z   52:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7103325Z   53:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7103818Z   54:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7104312Z   61:15  error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7104798Z   62:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7105287Z   64:3   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7105778Z   68:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7106053Z 
2023-12-12T07:29:14.7106509Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_localeCompare.js
2023-12-12T07:29:14.7107348Z   1:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7107890Z   2:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7108389Z   3:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7108888Z   4:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7109381Z   5:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7109661Z 
2023-12-12T07:29:14.7110136Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_recursive_import.js
2023-12-12T07:29:14.7110977Z   40:10  error  'run_test' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7111525Z   42:3   error  'Components' is not defined           no-undef
2023-12-12T07:29:14.7112026Z   45:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7112519Z   48:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7113015Z   51:3   error  'do_check_true' is not defined        no-undef
2023-12-12T07:29:14.7113300Z 
2023-12-12T07:29:14.7113852Z /home/runner/work/oolite/oolite/oolite/deps/mozilla/js/src/xpconnect/tests/unit/test_xpcomutils.js
2023-12-12T07:29:14.7114630Z   46:1  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7114929Z 
2023-12-12T07:29:14.7115740Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-class-test-SoundSource.js
2023-12-12T07:29:14.7116716Z   41:2  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7117020Z 
2023-12-12T07:29:14.7117703Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-class-test-Timer.js
2023-12-12T07:29:14.7118783Z   40:17  error  'zeroTimer' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7119446Z   40:28  error  'reportTimer' is defined but never used         no-unused-vars
2023-12-12T07:29:14.7120065Z   47:19  error  'Timer' is not defined                          no-undef
2023-12-12T07:29:14.7120643Z   58:28  error  'Timer' is not defined                          no-undef
2023-12-12T07:29:14.7121197Z   81:19  error  'Timer' is not defined                          no-undef
2023-12-12T07:29:14.7121526Z 
2023-12-12T07:29:14.7122206Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-script-test-rig.js
2023-12-12T07:29:14.7123232Z   199:57  error  'log' is not defined                       no-undef
2023-12-12T07:29:14.7123853Z   208:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7124405Z   212:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7124954Z   244:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7125490Z   248:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7126029Z   271:4   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7126568Z   275:6   error  'console' is not defined                   no-undef
2023-12-12T07:29:14.7127096Z   275:31  error  'console' is not defined                   no-undef
2023-12-12T07:29:14.7127617Z   277:14  error  'console' is not defined                   no-undef
2023-12-12T07:29:14.7128145Z   278:21  error  'log' is not defined                       no-undef
2023-12-12T07:29:14.7128726Z   287:10  error  'reportSuccess' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7129351Z   294:10  error  'reportFailure' is defined but never used  no-unused-vars
2023-12-12T07:29:14.7129929Z   305:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7130473Z   311:3   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7131009Z   325:4   error  'consoleMessage' is not defined            no-undef
2023-12-12T07:29:14.7131547Z   330:2   error  'log' is not defined                       no-undef
2023-12-12T07:29:14.7132062Z   341:5   error  'log' is not defined                       no-undef
2023-12-12T07:29:14.7132357Z 
2023-12-12T07:29:14.7133076Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-test-expandDescription.js
2023-12-12T07:29:14.7133995Z   108:39  error  'System' is not defined  no-undef
2023-12-12T07:29:14.7134275Z 
2023-12-12T07:29:14.7134965Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/JSInterfaceTests/JavaScript Interface Tests.oxp/Scripts/oolite-test-frameCallbacks.js
2023-12-12T07:29:14.7135919Z   47:3  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7136220Z 
2023-12-12T07:29:14.7136703Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/PNGTestSuite/PNGTestSuite.oxp/Config/script.js
2023-12-12T07:29:14.7137462Z   49:2  error  Parsing error: The keyword 'const' is reserved
2023-12-12T07:29:14.7137758Z 
2023-12-12T07:29:14.7138303Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/RetroMissions/RetroMissions.oxp/Scripts/ahruman-reaper.js
2023-12-12T07:29:14.7139049Z   14:6  error  Parsing error: Unexpected token targets
2023-12-12T07:29:14.7139326Z 
2023-12-12T07:29:14.7139983Z /home/runner/work/oolite/oolite/oolite/tests/test-oxps/materialTestSuite/Material Test Suite.oxp/Scripts/oolite-material-test-suite.js
2023-12-12T07:29:14.7141041Z    43:7   error  'console' is assigned a value but never used  no-unused-vars
2023-12-12T07:29:14.7141664Z    43:17  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7142240Z    47:3   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7142798Z    54:22  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7143462Z    60:4   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7144009Z    71:4   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7144553Z    85:6   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7145120Z    87:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7145678Z    99:30  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7146239Z   100:29  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7146808Z   107:4   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7147429Z   113:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7148121Z   115:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7148828Z   116:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7149467Z   116:31  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7150109Z   117:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7150729Z   117:50  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7151363Z   118:2   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7151993Z   118:39  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7152616Z   119:6   error  Mixed spaces and tabs                         no-mixed-spaces-and-tabs
2023-12-12T07:29:14.7153250Z   122:54  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7153926Z   126:3   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7154472Z   135:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7155030Z   136:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7155592Z   187:24  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7156151Z   188:26  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7156701Z   189:31  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7157254Z   193:5   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7157801Z   194:5   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7158351Z   209:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7158910Z   210:3   error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7159466Z   210:30  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7160017Z   210:70  error  'debugConsole' is not defined                 no-undef
2023-12-12T07:29:14.7160564Z   214:3   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7161096Z   226:4   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7161622Z   233:2   error  'log' is not defined                          no-undef
2023-12-12T07:29:14.7161929Z 
2023-12-12T07:29:14.7162152Z ✖ 100436 problems (100436 errors, 0 warnings)
2023-12-12T07:29:14.7162712Z   303 errors and 0 warnings potentially fixable with the `--fix` option.
Some strange errors come from js files in some test directory. If they are meant to test Oolite behaviour when it hits bad scripts it is not worth linting them.

Should I exclude them from the process?
All these files in deps/mozilla/js/src/... are to be excluded. They are tests for the actual spidermonkey library, are part of the spidermonkey source code itself and, as such, we don't care about them.

Re: JavaScript Linter

Posted: Wed Dec 13, 2023 8:45 pm
by hiran
Done: I excluded the dep folder which contains SpiderMonkey and stuff.
We are getting better - the messages are considerably less now.

New excerpt of the log:

Code: Select all

2023-12-13T20:41:43.0573753Z /home/runner/work/oolite/oolite/oolite/DebugOXP/Debug.oxp/Scripts/oolite-debug-console.js
2023-12-13T20:41:43.0575010Z   258:6  error  Parsing error: Unexpected token [
2023-12-13T20:41:43.0575577Z 
2023-12-13T20:41:43.0576265Z /home/runner/work/oolite/oolite/oolite/Resources/AIs/oolite-pirateAI.js
2023-12-13T20:41:43.0577397Z    34:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0579153Z    36:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0580022Z    37:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0580885Z    39:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0581795Z    41:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0582658Z    44:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0583419Z    45:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0584760Z    50:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0585694Z    54:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0586628Z    55:21  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0587433Z    56:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0588257Z    62:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0589105Z    63:21  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0589611Z    64:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0590134Z    70:22  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0590667Z    71:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0591160Z    74:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0591662Z    75:21  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0797193Z    76:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0798276Z    82:20  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0798965Z    83:21  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0799641Z    84:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0800335Z    91:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0801008Z    92:19  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0801668Z    93:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0802333Z    97:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0802995Z    98:19  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0803655Z    99:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0804321Z   104:22  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0805011Z   105:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0805653Z   106:19  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0806314Z   107:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0806983Z   112:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0807656Z   116:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0808715Z   117:18  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0809390Z   122:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0810063Z   130:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0810721Z   131:18  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0811394Z   134:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0812052Z   139:11  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0812458Z 
2023-12-13T20:41:43.0813085Z /home/runner/work/oolite/oolite/oolite/Resources/AIs/oolite-pirateFighterAI.js
2023-12-13T20:41:43.0814522Z    35:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0815242Z    37:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0815922Z    38:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0816608Z    40:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0817286Z    42:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0817989Z    45:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0818652Z    46:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0819352Z    51:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0820277Z    55:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0820975Z    56:21  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0821712Z    57:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0822381Z    63:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0822995Z    64:21  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0823679Z    65:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0824356Z    71:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0825038Z    72:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0825733Z    76:22  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0826423Z    77:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0827100Z    80:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0827831Z    81:21  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0828510Z    82:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0829185Z    88:20  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0829883Z    89:21  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0830605Z    90:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0831279Z    97:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0831965Z    98:19  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0832665Z   101:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0833353Z   102:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0834081Z   106:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0834758Z   113:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0835454Z   114:19  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0836141Z   115:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0836826Z   120:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0837499Z   121:19  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0838180Z   122:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0838862Z   124:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0839530Z   126:11  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0839945Z 
2023-12-13T20:41:43.0840589Z /home/runner/work/oolite/oolite/oolite/Resources/AIs/oolite-pirateInterceptorAI.js
2023-12-13T20:41:43.0841661Z    35:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0842360Z    36:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0843014Z    39:24  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0843673Z    47:21  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0844320Z    48:3   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0844994Z    48:27  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0845667Z    56:3   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0846336Z    56:27  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0846833Z    59:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0847236Z    60:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0847870Z    62:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0848739Z    67:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0849431Z    68:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0850115Z    72:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0850799Z    76:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0851754Z    77:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0852483Z    81:21  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0854099Z    82:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0854519Z    89:15  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0854920Z    94:24  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0855318Z    96:21  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0855713Z    97:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0856119Z   101:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0856828Z   102:21  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0857225Z   103:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0857617Z   116:16  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0858012Z   117:20  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0858392Z   118:16  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0858785Z   122:16  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0859335Z   123:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0859714Z   126:20  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0860108Z   127:16  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0860503Z   137:14  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0860887Z   137:57  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0861279Z   144:14  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0861668Z   151:16  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0862059Z   152:20  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0862447Z   153:16  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0862837Z   157:16  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0863218Z   158:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0863606Z   161:20  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0864016Z   162:16  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0864419Z   169:17  error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0864821Z   173:2   error  'ai' is not defined  no-undef
2023-12-13T20:41:43.0865073Z 
2023-12-13T20:41:43.0865400Z /home/runner/work/oolite/oolite/oolite/Resources/AIs/oolite-qbombAI.js
2023-12-13T20:41:43.0865984Z   34:24  error  'Timer' is not defined  no-undef
2023-12-13T20:41:43.0866253Z 
2023-12-13T20:41:43.0866703Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-cloaking-device-equipment.js
2023-12-13T20:41:43.0867678Z   30:10  error  'worldScripts' is already defined as a built-in global variable  no-redeclare
2023-12-13T20:41:43.0868493Z   30:10  error  'worldScripts' is defined but never used                         no-unused-vars
2023-12-13T20:41:43.0868928Z 
2023-12-13T20:41:43.0869359Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-cloaking-device-mission.js
2023-12-13T20:41:43.0870253Z   30:10  error  'galaxyNumber' is already defined as a built-in global variable      no-redeclare
2023-12-13T20:41:43.0871078Z   30:24  error  'missionVariables' is already defined as a built-in global variable  no-redeclare
2023-12-13T20:41:43.0871893Z   30:42  error  'system' is already defined as a built-in global variable            no-redeclare
2023-12-13T20:41:43.0872646Z   85:24  error  'ShipGroup' is not defined                                           no-undef
2023-12-13T20:41:43.0873036Z 
2023-12-13T20:41:43.0873453Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-cloaking-device-pod.js
2023-12-13T20:41:43.0874276Z   30:10  error  'player' is already defined as a built-in global variable  no-redeclare
2023-12-13T20:41:43.0874695Z 
2023-12-13T20:41:43.0875156Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-cloaking-device-target-ship.js
2023-12-13T20:41:43.0876067Z   30:10  error  'missionVariables' is already defined as a built-in global variable  no-redeclare
2023-12-13T20:41:43.0876512Z 
2023-12-13T20:41:43.0876995Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-conditions.js
2023-12-13T20:41:43.0877812Z   30:10  error  'missionVariables' is already defined as a built-in global variable  no-redeclare
2023-12-13T20:41:43.0878621Z   30:28  error  'player' is already defined as a built-in global variable            no-redeclare
2023-12-13T20:41:43.0879045Z 
2023-12-13T20:41:43.0879486Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-constrictor-hunt-mission.js
2023-12-13T20:41:43.0880352Z   31:10  error  'galaxyNumber' is already defined as a built-in global variable      no-redeclare
2023-12-13T20:41:43.0881289Z   31:24  error  'guiScreen' is already defined as a built-in global variable         no-redeclare
2023-12-13T20:41:43.0882084Z   31:35  error  'mission' is already defined as a built-in global variable           no-redeclare
2023-12-13T20:41:43.0882876Z   31:44  error  'missionVariables' is already defined as a built-in global variable  no-redeclare
2023-12-13T20:41:43.0883692Z   31:62  error  'player' is already defined as a built-in global variable            no-redeclare
2023-12-13T20:41:43.0884488Z   31:70  error  'system' is already defined as a built-in global variable            no-redeclare
2023-12-13T20:41:43.0884903Z 
2023-12-13T20:41:43.0885268Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-constrictor.js
2023-12-13T20:41:43.0886070Z   30:10  error  'missionVariables' is already defined as a built-in global variable  no-redeclare
2023-12-13T20:41:43.0886886Z   30:28  error  'player' is already defined as a built-in global variable            no-redeclare
2023-12-13T20:41:43.0887316Z 
2023-12-13T20:41:43.0887704Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-contracts-cargo.js
2023-12-13T20:41:43.0888932Z    30:10  error  'galaxyNumber' is already defined as a built-in global variable      no-redeclare
2023-12-13T20:41:43.0889762Z    30:24  error  'missionVariables' is already defined as a built-in global variable  no-redeclare
2023-12-13T20:41:43.0890577Z    30:42  error  'system' is already defined as a built-in global variable            no-redeclare
2023-12-13T20:41:43.0891339Z    79:5   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0892024Z    84:5   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0892694Z    89:5   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0893357Z    94:5   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0894019Z    99:5   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0894675Z   104:5   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0895339Z   109:5   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0896029Z   115:27  error  'System' is not defined                                              no-undef
2023-12-13T20:41:43.0896699Z   119:7   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0897362Z   129:5   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0898089Z   193:37  error  'to' is defined but never used                                       no-unused-vars
2023-12-13T20:41:43.0898859Z   193:41  error  'from' is defined but never used                                     no-unused-vars
2023-12-13T20:41:43.0899619Z   199:38  error  'from' is defined but never used                                     no-unused-vars
2023-12-13T20:41:43.0900352Z   264:27  error  'System' is not defined                                              no-undef
2023-12-13T20:41:43.0901050Z   285:7   error  Empty block statement                                                no-empty
2023-12-13T20:41:43.0901924Z   289:7   error  Empty block statement                                                no-empty
2023-12-13T20:41:43.0902699Z   423:40  error  'interfaceKey' is defined but never used                             no-unused-vars
2023-12-13T20:41:43.0903500Z   458:13  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0904289Z   459:13  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0905058Z   460:13  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0905966Z   461:13  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0906713Z   527:19  error  'System' is not defined                                              no-undef
2023-12-13T20:41:43.0907436Z   600:12  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0908188Z   601:12  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0908939Z   602:12  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0909704Z   603:12  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0910446Z   604:12  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0911209Z   605:12  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0911975Z   889:70  error  'displayNameForCommodity' is not defined                             no-undef
2023-12-13T20:41:43.0912730Z   912:9   error  'spareSafe' is already defined                                       no-redeclare
2023-12-13T20:41:43.0913142Z 
2023-12-13T20:41:43.0913540Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-contracts-helpers.js
2023-12-13T20:41:43.0914391Z    30:10  error  'galaxyNumber' is already defined as a built-in global variable      no-redeclare
2023-12-13T20:41:43.0915208Z    30:24  error  'missionVariables' is already defined as a built-in global variable  no-redeclare
2023-12-13T20:41:43.0916008Z    30:42  error  'system' is already defined as a built-in global variable            no-redeclare
2023-12-13T20:41:43.0916803Z    30:42  error  'system' is defined but never used                                   no-unused-vars
2023-12-13T20:41:43.0917552Z   161:14  error  'System' is not defined                                              no-undef
2023-12-13T20:41:43.0918256Z   176:19  error  'SoundSource' is not defined                                         no-undef
2023-12-13T20:41:43.0918982Z   183:19  error  'SoundSource' is not defined                                         no-undef
2023-12-13T20:41:43.0919383Z 
2023-12-13T20:41:43.0919782Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-contracts-parcels.js
2023-12-13T20:41:43.0920619Z    30:10  error  'galaxyNumber' is already defined as a built-in global variable      no-redeclare
2023-12-13T20:41:43.0921422Z    30:24  error  'missionVariables' is already defined as a built-in global variable  no-redeclare
2023-12-13T20:41:43.0922235Z    30:42  error  'system' is already defined as a built-in global variable            no-redeclare
2023-12-13T20:41:43.0922964Z    77:3   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0923655Z    82:3   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0924318Z    87:3   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0924983Z    92:3   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0925764Z    97:3   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0926423Z   102:3   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0927104Z   107:25  error  'System' is not defined                                              no-undef
2023-12-13T20:41:43.0927785Z   111:4   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0928747Z   201:37  error  'to' is defined but never used                                       no-unused-vars
2023-12-13T20:41:43.0929531Z   201:41  error  'from' is defined but never used                                     no-unused-vars
2023-12-13T20:41:43.0930463Z   207:38  error  'from' is defined but never used                                     no-unused-vars
2023-12-13T20:41:43.0931229Z   288:25  error  'System' is not defined                                              no-undef
2023-12-13T20:41:43.0931997Z   413:41  error  'interfaceKey' is defined but never used                             no-unused-vars
2023-12-13T20:41:43.0932792Z   448:13  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0933593Z   449:13  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0934358Z   450:13  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0935125Z   451:13  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0935864Z   516:17  error  'System' is not defined                                              no-undef
2023-12-13T20:41:43.0936614Z   578:6   error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0937372Z   579:6   error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0938143Z   580:6   error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0938893Z   581:6   error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0939655Z   582:6   error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0940409Z   583:6   error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0940815Z 
2023-12-13T20:41:43.0941228Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-contracts-passengers.js
2023-12-13T20:41:43.0942091Z    30:10  error  'galaxyNumber' is already defined as a built-in global variable      no-redeclare
2023-12-13T20:41:43.0942907Z    30:24  error  'missionVariables' is already defined as a built-in global variable  no-redeclare
2023-12-13T20:41:43.0943718Z    30:42  error  'system' is already defined as a built-in global variable            no-redeclare
2023-12-13T20:41:43.0944455Z    80:3   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0945125Z    85:3   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0945784Z    90:3   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0946447Z    95:3   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0947107Z   100:3   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0947784Z   105:25  error  'System' is not defined                                              no-undef
2023-12-13T20:41:43.0948467Z   109:4   error  'log' is not defined                                                 no-undef
2023-12-13T20:41:43.0949191Z   190:37  error  'to' is defined but never used                                       no-unused-vars
2023-12-13T20:41:43.0950129Z   190:41  error  'from' is defined but never used                                     no-unused-vars
2023-12-13T20:41:43.0950894Z   196:38  error  'from' is defined but never used                                     no-unused-vars
2023-12-13T20:41:43.0951625Z   260:25  error  'System' is not defined                                              no-undef
2023-12-13T20:41:43.0952328Z   296:24  error  'System' is not defined                                              no-undef
2023-12-13T20:41:43.0953041Z   323:14  error  'j' is already defined                                               no-redeclare
2023-12-13T20:41:43.0953933Z   412:44  error  'interfaceKey' is defined but never used                             no-unused-vars
2023-12-13T20:41:43.0954738Z   447:14  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0955611Z   448:14  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0956373Z   449:14  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0957135Z   450:14  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0957889Z   451:14  error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0958607Z   518:17  error  'System' is not defined                                              no-undef
2023-12-13T20:41:43.0959341Z   587:6   error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0960102Z   588:6   error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0960857Z   589:6   error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0961581Z   590:6   error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0962322Z   591:6   error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0963064Z   592:6   error  Mixed spaces and tabs                                                no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0963453Z 
2023-12-13T20:41:43.0963857Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-equipment-control.js
2023-12-13T20:41:43.0964691Z    30:10  error  'worldScripts' is already defined as a built-in global variable  no-redeclare
2023-12-13T20:41:43.0965481Z    30:10  error  'worldScripts' is defined but never used                         no-unused-vars
2023-12-13T20:41:43.0966242Z    68:51  error  'item' is defined but never used                                 no-unused-vars
2023-12-13T20:41:43.0966981Z    73:52  error  'item' is defined but never used                                 no-unused-vars
2023-12-13T20:41:43.0967678Z    83:4   error  'log' is not defined                                             no-undef
2023-12-13T20:41:43.0969832Z   126:15  error  'EquipmentInfo' is not defined                                   no-undef
2023-12-13T20:41:43.0970576Z   150:15  error  'EquipmentInfo' is not defined                                   no-undef
2023-12-13T20:41:43.0971283Z   162:12  error  'EquipmentInfo' is not defined                                   no-undef
2023-12-13T20:41:43.0972012Z   243:57  error  'info' is defined but never used                                 no-unused-vars
2023-12-13T20:41:43.0972787Z   250:58  error  'info' is defined but never used                                 no-unused-vars
2023-12-13T20:41:43.0973201Z 
2023-12-13T20:41:43.0973576Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-global-prefix.js
2023-12-13T20:41:43.0974256Z   169:1  error  Parsing error: The keyword 'const' is reserved
2023-12-13T20:41:43.0974573Z 
2023-12-13T20:41:43.0975122Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-locale-functions.js
2023-12-13T20:41:43.0975817Z   43:1  error  Parsing error: The keyword 'const' is reserved
2023-12-13T20:41:43.0976134Z 
2023-12-13T20:41:43.0976492Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-nova-mission.js
2023-12-13T20:41:43.0977332Z    30:17  error  'expandDescription' is already defined as a built-in global variable  no-redeclare
2023-12-13T20:41:43.0978172Z    30:36  error  'galaxyNumber' is already defined as a built-in global variable       no-redeclare
2023-12-13T20:41:43.0979130Z    30:50  error  'guiScreen' is already defined as a built-in global variable          no-redeclare
2023-12-13T20:41:43.0979937Z    30:50  error  'guiScreen' is defined but never used                                 no-unused-vars
2023-12-13T20:41:43.0980735Z    30:61  error  'mission' is already defined as a built-in global variable            no-redeclare
2023-12-13T20:41:43.0981550Z    30:70  error  'missionVariables' is already defined as a built-in global variable   no-redeclare
2023-12-13T20:41:43.0982355Z    30:88  error  'player' is already defined as a built-in global variable             no-redeclare
2023-12-13T20:41:43.0983161Z    30:96  error  'system' is already defined as a built-in global variable             no-redeclare
2023-12-13T20:41:43.0984012Z   365:11  error  Expected a conditional expression and instead saw an assignment       no-cond-assign
2023-12-13T20:41:43.0984467Z 
2023-12-13T20:41:43.0984823Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-populator.js
2023-12-13T20:41:43.0985475Z   2361:4  error  Parsing error: The keyword 'let' is reserved
2023-12-13T20:41:43.0985784Z 
2023-12-13T20:41:43.0986227Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-primable-equipment-manager.js
2023-12-13T20:41:43.0987131Z    30:10  error  'missionVariables' is already defined as a built-in global variable  no-redeclare
2023-12-13T20:41:43.0987950Z    30:10  error  'missionVariables' is defined but never used                         no-unused-vars
2023-12-13T20:41:43.0988761Z    30:28  error  'player' is already defined as a built-in global variable            no-redeclare
2023-12-13T20:41:43.0989533Z    60:13  error  'EquipmentInfo' is not defined                                       no-undef
2023-12-13T20:41:43.0990271Z   179:11  error  'i' is already defined                                               no-redeclare
2023-12-13T20:41:43.0990658Z 
2023-12-13T20:41:43.0991010Z /home/runner/work/oolite/oolite/oolite/Resources/Scripts/oolite-priorityai.js
2023-12-13T20:41:43.0991682Z     92:4   error  'log' is not defined                       no-undef
2023-12-13T20:41:43.0992211Z     96:4   error  'log' is not defined                       no-undef
2023-12-13T20:41:43.0992750Z    104:6   error  'log' is not defined                       no-undef
2023-12-13T20:41:43.0993274Z    108:6   error  'log' is not defined                       no-undef
2023-12-13T20:41:43.0993903Z    121:4   error  Mixed spaces and tabs                      no-mixed-spaces-and-tabs
2023-12-13T20:41:43.0994516Z    132:6   error  'log' is not defined                       no-undef
2023-12-13T20:41:43.0995045Z    145:7   error  'log' is not defined                       no-undef
2023-12-13T20:41:43.0995561Z    159:7   error  'log' is not defined                       no-undef
2023-12-13T20:41:43.0996083Z    176:7   error  'log' is not defined                       no-undef
2023-12-13T20:41:43.0996644Z    179:10  error  'branch' is already defined                no-redeclare
2023-12-13T20:41:43.0997230Z    190:4   error  'log' is not defined                       no-undef
2023-12-13T20:41:43.0997793Z    194:3   error  Unnecessary semicolon                      no-extra-semi
2023-12-13T20:41:43.0998365Z    216:4   error  'log' is not defined                       no-undef
2023-12-13T20:41:43.0998894Z    222:4   error  'log' is not defined                       no-undef
2023-12-13T20:41:43.0999579Z    226:3   error  Unnecessary semicolon                      no-extra-semi
2023-12-13T20:41:43.1000180Z    240:3   error  Unnecessary semicolon                      no-extra-semi
2023-12-13T20:41:43.1000768Z    279:12  error  'i' is already defined                     no-redeclare
2023-12-13T20:41:43.1001326Z    291:6   error  'log' is not defined                       no-undef
2023-12-13T20:41:43.1001873Z    388:9   error  'message' is already defined               no-redeclare
2023-12-13T20:41:43.1002438Z    425:20  error  'Timer' is not defined                     no-undef
2023-12-13T20:41:43.1003189Z    593:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1003758Z    593:46  error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1004313Z    594:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1004872Z    601:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1005445Z    661:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1006008Z    674:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1006565Z    689:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1007124Z    729:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1007685Z    756:7   error  'gs' is already defined                    no-redeclare
2023-12-13T20:41:43.1008524Z    761:12  error  'i' is already defined                     no-redeclare
2023-12-13T20:41:43.1009120Z    763:8   error  'spd' is already defined                   no-redeclare
2023-12-13T20:41:43.1009707Z    780:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1010269Z    795:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1010870Z    815:9   error  'crew' is assigned a value but never used  no-unused-vars
2023-12-13T20:41:43.1011478Z    841:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1012038Z    852:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1012596Z    901:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1013174Z    941:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1013734Z    988:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1014300Z   1030:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1014877Z   1040:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1015440Z   1050:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1016014Z   1062:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1016576Z   1078:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1017151Z   1123:7   error  'gs' is already defined                    no-redeclare
2023-12-13T20:41:43.1017732Z   1143:7   error  'gs' is already defined                    no-redeclare
2023-12-13T20:41:43.1018313Z   1155:7   error  'gs' is already defined                    no-redeclare
2023-12-13T20:41:43.1018897Z   1170:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1019464Z   1209:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1020029Z   1242:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1020605Z   1253:13  error  'System' is not defined                    no-undef
2023-12-13T20:41:43.1021152Z   1270:36  error  'System' is not defined                    no-undef
2023-12-13T20:41:43.1021694Z   1273:92  error  'System' is not defined                    no-undef
2023-12-13T20:41:43.1022256Z   1281:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1022815Z   1313:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1023528Z   1323:10  error  'Ship' is not defined                      no-undef
2023-12-13T20:41:43.1024071Z   1327:10  error  'Ship' is not defined                      no-undef
2023-12-13T20:41:43.1024625Z   1332:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1025207Z   1381:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1025783Z   1407:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1026363Z   1422:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1027088Z   1435:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1027654Z   1448:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1028230Z   1454:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1028803Z   1461:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1029373Z   1483:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1029942Z   1500:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1030507Z   1525:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1031094Z   1548:12  error  'i' is already defined                     no-redeclare
2023-12-13T20:41:43.1031680Z   1558:7   error  'gs' is already defined                    no-redeclare
2023-12-13T20:41:43.1032257Z   1559:12  error  'i' is already defined                     no-redeclare
2023-12-13T20:41:43.1032842Z   1573:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1033438Z   1680:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1034047Z   1716:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1034610Z   1730:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1035175Z   1743:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1035749Z   1769:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1036315Z   1783:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1036873Z   1794:39  error  'System' is not defined                    no-undef
2023-12-13T20:41:43.1037427Z   1798:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1037990Z   1808:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1038547Z   1828:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1039109Z   1838:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1039670Z   1867:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1040231Z   1879:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1040794Z   1892:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1041359Z   1898:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1041920Z   1909:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1042480Z   1919:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1043043Z   1925:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1043599Z   1931:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1044171Z   1945:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1044745Z   1951:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1045310Z   1957:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1045867Z   1963:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1046427Z   1973:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1047110Z   1988:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1047675Z   1998:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1048504Z   2009:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1049084Z   2028:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1049636Z   2032:3   error  'log' is not defined                       no-undef
2023-12-13T20:41:43.1050186Z   2089:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1050760Z   2131:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1051491Z   2153:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1052057Z   2161:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1052632Z   2169:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1053198Z   2177:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1053764Z   2189:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1054328Z   2198:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1054895Z   2205:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1055450Z   2214:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1056009Z   2223:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1056579Z   2231:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1057141Z   2256:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1057706Z   2272:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1058271Z   2287:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1058828Z   2295:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1059391Z   2307:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1059951Z   2315:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1060521Z   2331:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1061079Z   2339:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1061644Z   2367:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1062215Z   2379:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1062785Z   2387:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1063347Z   2404:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1063907Z   2412:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1064478Z   2420:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1065042Z   2428:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1065607Z   2436:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1066180Z   2452:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1066748Z   2472:6   error  'gs' is already defined                    no-redeclare
2023-12-13T20:41:43.1067335Z   2473:11  error  'i' is already defined                     no-redeclare
2023-12-13T20:41:43.1067920Z   2484:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1068480Z   2500:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1069049Z   2562:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1069616Z   2569:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1070173Z   2575:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1070733Z   2581:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1071439Z   2587:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1072007Z   2593:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1072570Z   2611:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1073130Z   2627:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1073691Z   2633:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1074246Z   2639:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1074928Z   2645:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1075489Z   2671:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1076048Z   2681:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1076610Z   2687:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1077185Z   2698:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1077741Z   2710:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1078301Z   2727:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1078865Z   2795:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1079419Z   2811:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1079986Z   2852:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1080556Z   2882:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1081119Z   2892:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1081677Z   2899:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1082240Z   2953:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1082804Z   3016:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1083384Z   3110:9   error  'launchpos' is already defined             no-redeclare
2023-12-13T20:41:43.1083972Z   3130:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1084538Z   3146:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1085098Z   3163:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1085671Z   3267:13  error  'i' is already defined                     no-redeclare
2023-12-13T20:41:43.1086253Z   3289:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1086828Z   3297:7   error  'rt' is already defined                    no-redeclare
2023-12-13T20:41:43.1087404Z   3341:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1087975Z   3361:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1088933Z   3377:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1089525Z   3388:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1090092Z   3398:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1090664Z   3407:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1091234Z   3422:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1091811Z   3432:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1092385Z   3455:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1092952Z   3465:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1093519Z   3476:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1094086Z   3490:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1094659Z   3559:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1095391Z   3594:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1095966Z   3705:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1096567Z   3715:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1097132Z   3722:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1097692Z   3733:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1098257Z   3757:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1098953Z   3787:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1099516Z   3795:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1100079Z   3822:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1100634Z   3851:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1101199Z   3881:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1101767Z   3900:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1102434Z   3909:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1102992Z   3954:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1103567Z   4006:12  error  'i' is already defined                     no-redeclare
2023-12-13T20:41:43.1104155Z   4020:7   error  'gs' is already defined                    no-redeclare
2023-12-13T20:41:43.1104739Z   4021:12  error  'i' is already defined                     no-redeclare
2023-12-13T20:41:43.1105321Z   4036:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1105891Z   4085:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1106466Z   4122:12  error  'i' is already defined                     no-redeclare
2023-12-13T20:41:43.1107048Z   4136:7   error  'gs' is already defined                    no-redeclare
2023-12-13T20:41:43.1107636Z   4137:12  error  'i' is already defined                     no-redeclare
2023-12-13T20:41:43.1108204Z   4152:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1108781Z   4191:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1109345Z   4197:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1109912Z   4203:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1110468Z   4220:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1111032Z   4227:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1111594Z   4269:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1112148Z   4320:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1112709Z   4328:63  error  'System' is not defined                    no-undef
2023-12-13T20:41:43.1113276Z   4347:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1113831Z   4357:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1114389Z   4370:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1114950Z   4383:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1115504Z   4401:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1116064Z   4418:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1116636Z   4433:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1117195Z   4444:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1117749Z   4453:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1118318Z   4485:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1119016Z   4517:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1119579Z   4532:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1120147Z   4556:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1120715Z   4612:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1121270Z   4624:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1121832Z   4636:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1122504Z   4648:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1123055Z   4662:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1123610Z   4674:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1124169Z   4685:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1124767Z   4693:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1125335Z   4710:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1125889Z   4727:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1126449Z   4738:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1126995Z   4747:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1127550Z   4769:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1128376Z   4794:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1129012Z   4821:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1129571Z   4835:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1130131Z   4841:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1130689Z   4848:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1131251Z   4860:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1131812Z   4868:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1132379Z   4888:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1132939Z   4927:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1133531Z   4935:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1134096Z   4942:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1134680Z   4949:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1135242Z   4965:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1135809Z   4981:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1136369Z   4998:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1136969Z   4998:88  error  'cargo' is defined but never used          no-unused-vars
2023-12-13T20:41:43.1137607Z   4998:94  error  'ship' is defined but never used           no-unused-vars
2023-12-13T20:41:43.1138212Z   5013:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1138775Z   5024:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1139339Z   5038:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1139904Z   5062:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1140484Z   5069:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1141050Z   5123:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1141616Z   5179:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1142171Z   5194:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1142897Z   5201:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1143475Z   5244:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1144029Z   5250:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1144597Z   5294:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1145159Z   5330:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1145717Z   5505:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1146413Z   5531:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1146977Z   5544:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1147535Z   5579:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1148093Z   5586:50  error  'Timer' is not defined                     no-undef
2023-12-13T20:41:43.1148652Z   5592:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1149217Z   5602:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1149788Z   5606:69  error  'displayNameForCommodity' is not defined   no-undef
2023-12-13T20:41:43.1150359Z   5613:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1150952Z   5613:85  error  'target' is defined but never used         no-unused-vars
2023-12-13T20:41:43.1151545Z   5619:1   error  'PriorityAIController' is not defined      no-undef
2023-12-13T20:41:43.1152110Z   5626:1   error  'PriorityAIController' is not defined      no-undef