Page MenuHomePhabricator

libup run of eslint . --fix ignores the excluded files and folders
Closed, ResolvedPublic

Description

On update of Translate extension the log of libup shows that the ignored files and folders are proccessed by eslint fix and the faliures are added as exclusion to .eslintrc.json

https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/Translate/+/562773/

GruntFile exclusion:

	grunt.initConfig( {
		eslint: {
			options: {
				extensions: [ '.js', '.json' ],
				cache: true
			},
			all: [
				'**/*.js{,on}',
				'!extensions/**',
				'!resources/js/jquery.autosize.js',
				'!{vendor,node_modules}/**'
			]
		},

But vendor and the jquery.autosize.js was proccess

mediawiki/extensions/Translate
View proposed patch View log file 
$ git clone https://gerrit-replica.wikimedia.org/r/mediawiki/extensions/Translate.git repo --depth=1
Cloning into 'repo'...

$ git config user.name libraryupgrader

$ git config user.email tools.libraryupgrader@tools.wmflabs.org

$ git submodule update --init

$ git show-ref HEAD
b9f33fd9cee3a8b385dcd8eaf2bef5fc7b593faf refs/remotes/origin/HEAD

Running tests to verify repository integrity
$ npm ci
added 509 packages in 16.751s

$ npm test

> @ test /venv/src/repo
> grunt test

Running "eslint:all" (eslint) task

Running "banana:all" (banana) task
>> 5 message directories checked.

Running "stylelint:all" (stylelint) task
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
>> Linted 28 files without errors

Done.

$ composer install
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 29 installs, 0 updates, 0 removals
  - Installing composer/installers (v1.7.0): Loading from cache
  - Installing mustangostang/spyc (0.6.2): Loading from cache
  - Installing davefx/phplot (6.2.1): Loading from cache
  - Installing jakub-onderka/php-parallel-lint (v1.0.0): Loading from cache
  - Installing squizlabs/php_codesniffer (3.5.0): Loading from cache
  - Installing composer/spdx-licenses (1.5.1): Loading from cache
  - Installing composer/semver (1.5.0): Loading from cache
  - Installing mediawiki/mediawiki-codesniffer (v28.0.0): Loading from cache
  - Installing jakub-onderka/php-console-color (v0.2): Loading from cache
  - Installing jakub-onderka/php-console-highlighter (v0.3.2): Loading from cache
  - Installing psr/container (1.0.0): Loading from cache
  - Installing symfony/service-contracts (v2.0.1): Loading from cache
  - Installing symfony/polyfill-php73 (v1.13.1): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.13.1): Loading from cache
  - Installing symfony/console (v4.4.2): Loading from cache
  - Installing psr/log (1.1.2): Loading from cache
  - Installing mediawiki/minus-x (0.3.2): Loading from cache
  - Installing sabre/event (5.0.3): Loading from cache
  - Installing netresearch/jsonmapper (v1.6.0): Loading from cache
  - Installing microsoft/tolerant-php-parser (v0.0.18): Loading from cache
  - Installing symfony/polyfill-ctype (v1.13.1): Loading from cache
  - Installing webmozart/assert (1.6.0): Loading from cache
  - Installing phpdocumentor/reflection-common (2.0.0): Loading from cache
  - Installing phpdocumentor/type-resolver (1.0.1): Loading from cache
  - Installing phpdocumentor/reflection-docblock (4.3.4): Loading from cache
  - Installing felixfbecker/advanced-json-rpc (v3.0.4): Loading from cache
  - Installing composer/xdebug-handler (1.4.0): Loading from cache
  - Installing phan/phan (2.4.4): Loading from cache
  - Installing mediawiki/mediawiki-phan-config (0.9.0): Loading from cache
symfony/service-contracts suggests installing symfony/service-implementation ()
symfony/console suggests installing symfony/event-dispatcher ()
symfony/console suggests installing symfony/lock ()
symfony/console suggests installing symfony/process ()
phan/phan suggests installing ext-ast (Needed for parsing ASTs (unless --use-fallback-parser is used). 1.0.1+ is needed.)
phan/phan suggests installing ext-igbinary (Improves performance of polyfill when ext-ast is unavailable)
Writing lock file
Generating autoload files

$ composer test
> parallel-lint . --exclude vendor --exclude node_modules --exclude extensions
PHP 7.2.15 | 10 parallel jobs
............................................................  60/317 (18 %)
............................................................ 120/317 (37 %)
............................................................ 180/317 (56 %)
............................................................ 240/317 (75 %)
............................................................ 300/317 (94 %)
.................                                            317/317 (100 %)


Checked 317 files in 12.3 seconds
No syntax error found
> phpcs -p -s
............................................................  60 / 317 (19%)
............................................................ 120 / 317 (38%)
............................................................ 180 / 317 (57%)
............................................................ 240 / 317 (76%)
............................................................ 300 / 317 (95%)
.................                                            317 / 317 (100%)


Time: 27.77 secs; Memory: 20MB

> minus-x check .
MinusX
======
Processing /venv/src/repo...
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
.............................................................
....................................................
All good!

Upgrading n:grunt-eslint from 21.0.0 -> 22.0.0
Upgrading n:eslint-config-wikimedia from 0.13.1 -> 0.15.0
$ npm install
npm WARN grunt-stylelint@0.10.1 requires a peer of stylelint@^9.0.0 but none is installed. You must install peer dependencies yourself.

added 12 packages from 18 contributors, removed 3 packages, updated 32 packages, moved 1 package and audited 2143 packages in 77.821s
found 0 vulnerabilities


$ ./node_modules/.bin/eslint . --fix

/venv/src/repo/resources/js/jquery.autosize.js
    7:39  error  'define' is not defined                                                no-undef
    8:3   error  'define' is not defined                                                no-undef
   10:12  error  'exports' is not defined                                               no-undef
   10:21  error  'module' is not defined                                                no-undef
   12:3   error  All 'var' declarations must be at the top of the function scope        vars-on-top
   21:44  error  'Set' is not defined                                                   no-undef
   36:2   error  Mixed spaces and tabs                                                  no-mixed-spaces-and-tabs
   40:3   error  Do not use 'new' for side effects                                      no-new
   51:7   error  Unexpected dangling '_' in '_ref'                                      no-underscore-dangle
   53:2   error  Mixed spaces and tabs                                                  no-mixed-spaces-and-tabs
   53:4   error  Unexpected dangling '_' in '_ref$setOverflowX'                         no-underscore-dangle
   54:2   error  Mixed spaces and tabs                                                  no-mixed-spaces-and-tabs
   55:2   error  Mixed spaces and tabs                                                  no-mixed-spaces-and-tabs
   55:4   error  Unexpected dangling '_' in '_ref$setOverflowY'                         no-underscore-dangle
   56:2   error  Mixed spaces and tabs                                                  no-mixed-spaces-and-tabs
   58:79  error  This line has 2 statements. Maximum allowed is 1                       max-statements-per-line
   60:3   error  Combine this with the previous 'var' statement                         one-var
   60:3   error  All 'var' declarations must be at the top of the function scope        vars-on-top
   61:2   error  Mixed spaces and tabs                                                  no-mixed-spaces-and-tabs
   62:2   error  Mixed spaces and tabs                                                  no-mixed-spaces-and-tabs
   93:5   error  All 'var' declarations must be at the top of the function scope        vars-on-top
   97:5   error  Expected an assignment or function call and instead saw an expression  no-unused-expressions
  113:2   error  Mixed spaces and tabs                                                  no-mixed-spaces-and-tabs
  114:2   error  Mixed spaces and tabs                                                  no-mixed-spaces-and-tabs
  118:4   error  All 'var' declarations must be at the top of the function scope        vars-on-top
  118:4   error  Combine this with the previous 'var' statement                         one-var
  141:4   error  Combine this with the previous 'var' statement                         one-var
  141:4   error  All 'var' declarations must be at the top of the function scope        vars-on-top
  154:5   error  Combine this with the previous 'var' statement                         one-var
  154:5   error  All 'var' declarations must be at the top of the function scope        vars-on-top
  159:3   error  Combine this with the previous 'var' statement                         one-var
  159:3   error  All 'var' declarations must be at the top of the function scope        vars-on-top
  165:2   error  Mixed spaces and tabs                                                  no-mixed-spaces-and-tabs
  206:65  error  This line has 2 statements. Maximum allowed is 1                       max-statements-per-line
  207:3   error  All 'var' declarations must be at the top of the function scope        vars-on-top
  212:65  error  This line has 2 statements. Maximum allowed is 1                       max-statements-per-line
  213:3   error  All 'var' declarations must be at the top of the function scope        vars-on-top
  217:2   error  All 'var' declarations must be at the top of the function scope        vars-on-top
  217:2   error  Combine this with the previous 'var' statement                         one-var

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/DocCommentUnitTest.js
  230:12  error  Unexpected tab character  no-tabs
  231:11  error  Unexpected tab character  no-tabs
  232:11  error  Unexpected tab character  no-tabs
  234:12  error  Unexpected tab character  no-tabs
  235:9   error  Unexpected tab character  no-tabs
  242:13  error  Unexpected tab character  no-tabs
  243:12  error  Unexpected tab character  no-tabs
  244:11  error  Unexpected tab character  no-tabs
  245:11  error  Unexpected tab character  no-tabs
  247:12  error  Unexpected tab character  no-tabs
  247:15  error  Unexpected tab character  no-tabs
  248:9   error  Unexpected tab character  no-tabs

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/FixmeUnitTest.js
   7:1  error  Unexpected alert  no-alert
  10:1  error  Unexpected alert  no-alert

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/TodoUnitTest.js
   7:1  error  Unexpected alert  no-alert
  10:1  error  Unexpected alert  no-alert

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.js
  3:22  error  Parsing error: Unexpected token 'hello'

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Debug/ClosureLinterUnitTest.js
  1:1   error  Missing JSDoc @return for function                                                                                                          valid-jsdoc
  4:1   error  Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  4:10  error  'something' is defined but never used                                                                                                       no-unused-vars
  5:9   error  'a' is not defined                                                                                                                          no-undef

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Debug/ESLintUnitTest.js
  1:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  1:5   error  'foo' is assigned a value but never used                                                                                                 no-unused-vars
  1:11  error  'bar' is not defined                                                                                                                     no-undef

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Debug/JSHintUnitTest.js
  3:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  3:5   error  'foo' is assigned a value but never used                                                                                                 no-unused-vars
  3:11  error  'bar' is not defined                                                                                                                     no-undef

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.1.js
  2:7  error  Parsing error: Unterminated string constant

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.2.js
  2:7  error  Parsing error: Unterminated string constant

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.3.js
  1:1  error  Unexpected alert  no-alert

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.1.js
  2:7  error  Parsing error: Unterminated string constant

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.2.js
  2:7  error  Parsing error: Unterminated string constant

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.3.js
  1:1  error  Unexpected alert  no-alert

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.js
  1:1  error  Unexpected alert  no-alert
  2:1  error  Unexpected alert  no-alert

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/MultipleStatementAlignmentUnitTest.js
  94:15  error  Parsing error: Unexpected token +=

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/SpaceAfterNotUnitTest.js
  1:7   error  'someVar' is not defined                                                                                                                 no-undef
  1:19  error  'x' is not defined                                                                                                                       no-undef
  1:23  error  Empty block statement                                                                                                                    no-empty
  2:7   error  'someVar' is not defined                                                                                                                 no-undef
  2:19  error  'x' is not defined                                                                                                                       no-undef
  2:23  error  Empty block statement                                                                                                                    no-empty
  3:6   error  Unexpected constant condition                                                                                                            no-constant-condition
  3:7   error  'foo' is not defined                                                                                                                     no-undef
  3:19  error  'x' is not defined                                                                                                                       no-undef
  3:33  error  Empty block statement                                                                                                                    no-empty
  4:1   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
  4:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  4:5   error  'z' is assigned a value but never used                                                                                                   no-unused-vars
  4:12  error  'x' is not defined                                                                                                                       no-undef
  4:17  error  'y' is not defined                                                                                                                       no-undef

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.js
   1:6   error  'variable' is not defined                                                 no-undef
   1:26  error  Empty block statement                                                     no-empty
   2:6   error  'variable' is not defined                                                 no-undef
   2:19  error  'TRUE' is not defined                                                     no-undef
   2:26  error  Empty block statement                                                     no-empty
   3:6   error  'variable' is not defined                                                 no-undef
   3:19  error  'True' is not defined                                                     no-undef
   3:26  error  Empty block statement                                                     no-empty
   4:1   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   4:1   error  'variable' is not defined                                                 no-undef
   4:12  error  'True' is not defined                                                     no-undef
   6:6   error  'variable' is not defined                                                 no-undef
   6:27  error  Empty block statement                                                     no-empty
   7:6   error  'variable' is not defined                                                 no-undef
   7:19  error  'FALSE' is not defined                                                    no-undef
   7:27  error  Empty block statement                                                     no-empty
   8:6   error  'variable' is not defined                                                 no-undef
   8:19  error  'False' is not defined                                                    no-undef
   8:27  error  Empty block statement                                                     no-empty
   9:1   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   9:1   error  'variable' is not defined                                                 no-undef
  11:6   error  'variable' is not defined                                                 no-undef
  11:26  error  Empty block statement                                                     no-empty
  12:6   error  'variable' is not defined                                                 no-undef
  12:19  error  'NULL' is not defined                                                     no-undef
  12:26  error  Empty block statement                                                     no-empty
  13:6   error  'variable' is not defined                                                 no-undef
  13:19  error  'Null' is not defined                                                     no-undef
  13:26  error  Empty block statement                                                     no-empty
  14:1   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  14:1   error  'variable' is not defined                                                 no-undef
  14:12  error  'NULL' is not defined                                                     no-undef

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryStringConcatUnitTest.js
   1:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
   1:15  error  Unexpected string concatenation of literals                                                                                              no-useless-concat
   2:2   error  'x' is already defined                                                                                                                   no-redeclare
   2:2   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
   3:2   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
   3:2   error  'x' is already defined                                                                                                                   no-redeclare
   3:14  error  'y' is not defined                                                                                                                       no-undef
   7:23  error  'y' is not defined                                                                                                                       no-undef
   8:21  error  Unexpected string concatenation of literals                                                                                              no-useless-concat
   9:14  error  'y' is not defined                                                                                                                       no-undef
  10:14  error  'y' is not defined                                                                                                                       no-undef
  10:18  error  'z' is not defined                                                                                                                       no-undef
  11:14  error  'y' is not defined                                                                                                                       no-undef
  11:18  error  'z' is not defined                                                                                                                       no-undef
  11:27  error  Unexpected string concatenation of literals                                                                                              no-useless-concat
  13:1   error  Combine this with the previous 'var' statement                                                                                           one-var
  13:1   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
  13:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  13:5   error  'long' is assigned a value but never used                                                                                                no-unused-vars

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.js
  5:1  error  Parsing error: Unexpected token <<

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.js
  1:5  error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  1:5  error  'x' is assigned a value but never used                                                                                                   no-unused-vars
  4:2  error  Duplicate key 'abc'                                                                                                                      no-dupe-keys
  6:2  error  Mixed spaces and tabs                                                                                                                    no-mixed-spaces-and-tabs
  8:2  error  Duplicate key 'abc'                                                                                                                      no-dupe-keys

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.js
  1:5  error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  1:5  error  'x' is assigned a value but never used                                                                                                   no-unused-vars
  4:2  error  Duplicate key 'abc'                                                                                                                      no-dupe-keys
  5:6  error  Unexpected tab character                                                                                                                 no-tabs
  6:2  error  Mixed spaces and tabs                                                                                                                    no-mixed-spaces-and-tabs
  8:2  error  Duplicate key 'abc'                                                                                                                      no-dupe-keys

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/IncrementDecrementSpacingUnitTest.js
  1:5  error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  1:5  error  'i' is assigned a value but never used                                                                                                   no-unused-vars

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.1.js
  1:11  error  Parsing error: Unexpected token Generic

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Debug/FirebugConsoleUnitTest.js
  6:22  error  Parsing error: Unexpected token ;

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Objects/AssignThisUnitTest.js
   1:5   error  Unexpected redeclaration of read-only global variable                                                                                    no-implicit-globals
   1:5   error  'self' is already defined as a built-in global variable                                                                                  no-redeclare
   2:1   error  'buttonWidget' is not defined                                                                                                            no-undef
   6:1   error  Combine this with the previous 'var' statement                                                                                           one-var
   6:1   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
   6:5   error  'x' is assigned a value but never used                                                                                                   no-unused-vars
   6:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
   7:2   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
   9:2   error  'test' is assigned a value but never used                                                                                                no-unused-vars
   9:2   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  10:6   error  Unexpected constant condition                                                                                                            no-constant-condition
  14:1   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
  14:1   error  Combine this with the previous 'var' statement                                                                                           one-var
  14:5   error  'itemid' is assigned a value but never used                                                                                              no-unused-vars
  14:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  14:26  error  'i' is not defined                                                                                                                       no-undef
  16:7   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
  16:7   error  Combine this with the previous 'var' statement                                                                                           one-var
  16:11  error  'x' is already defined                                                                                                                   no-redeclare
  16:11  error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  17:2   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
  17:2   error  Combine this with the previous 'var' statement                                                                                           one-var
  17:6   error  'x' is already defined                                                                                                                   no-redeclare
  17:6   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  20:1   error  Combine this with the previous 'var' statement                                                                                           one-var
  20:1   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
  20:5   error  Unexpected dangling '_' in '_self'                                                                                                       no-underscore-dangle
  20:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  20:5   error  '_self' is assigned a value but never used                                                                                               no-unused-vars

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Objects/CreateWidgetTypeCallbackUnitTest.js
  48:5  error  Parsing error: Unexpected token getSomething

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Strings/JoinStringsUnitTest.js
   1:1   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
   1:1   error  'one' is not defined                                                                                                                     no-undef
   2:1   error  'two' is not defined                                                                                                                     no-undef
   2:1   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
   2:9   error  'one' is not defined                                                                                                                     no-undef
   3:1   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
   3:1   error  'two' is not defined                                                                                                                     no-undef
   3:9   error  'one' is not defined                                                                                                                     no-undef
   3:15  error  'one' is not defined                                                                                                                     no-undef
   4:1   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
   4:1   error  'three' is not defined                                                                                                                   no-undef
   6:1   error  'four' is not defined                                                                                                                    no-undef
   6:1   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
   6:15  error  'two' is not defined                                                                                                                     no-undef
   7:1   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
   7:1   error  'four' is not defined                                                                                                                    no-undef
   7:15  error  'two' is not defined                                                                                                                     no-undef
   8:1   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
   8:1   error  'four' is not defined                                                                                                                    no-undef
   8:17  error  'one' is not defined                                                                                                                     no-undef
   8:22  error  'two' is not defined                                                                                                                     no-undef
   9:1   error  'four' is not defined                                                                                                                    no-undef
   9:1   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
   9:17  error  'one' is not defined                                                                                                                     no-undef
   9:22  error  'two' is not defined                                                                                                                     no-undef
  10:1   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
  10:1   error  'four' is not defined                                                                                                                    no-undef
  10:17  error  'one' is not defined                                                                                                                     no-undef
  10:22  error  'two' is not defined                                                                                                                     no-undef
  12:1   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
  12:1   error  'five' is not defined                                                                                                                    no-undef
  12:28  error  'one' is not defined                                                                                                                     no-undef
  12:33  error  'two' is not defined                                                                                                                     no-undef
  14:1   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
  14:1   error  'six' is not defined                                                                                                                     no-undef
  14:7   error  'myArray' is not defined                                                                                                                 no-undef
  15:1   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
  15:1   error  'six' is not defined                                                                                                                     no-undef
  15:9   error  'arrayOne' is not defined                                                                                                                no-undef
  15:19  error  'arrayTwo' is not defined                                                                                                                no-undef
  18:1   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
  18:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  18:15  error  'test' is not defined                                                                                                                    no-undef

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/ControlStructures/MultiLineConditionUnitTest.js
  149:5  error  Parsing error: 'return' outside of function

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionCallSignatureUnitTest.js
   1:1   error  'test' is not defined                                                                                                                    no-undef
   3:1   error  'test' is not defined                                                                                                                    no-undef
   4:1   error  'test' is not defined                                                                                                                    no-undef
   4:7   error  'arg' is not defined                                                                                                                     no-undef
   4:12  error  'arg2' is not defined                                                                                                                    no-undef
   5:1   error  'test' is not defined                                                                                                                    no-undef
   6:1   error  'test' is not defined                                                                                                                    no-undef
   7:1   error  'test' is not defined                                                                                                                    no-undef
   8:1   error  'test' is not defined                                                                                                                    no-undef
   8:7   error  'arg' is not defined                                                                                                                     no-undef
   9:1   error  'test' is not defined                                                                                                                    no-undef
   9:7   error  'arg' is not defined                                                                                                                     no-undef
  10:1   error  'test' is not defined                                                                                                                    no-undef
  10:7   error  'arg' is not defined                                                                                                                     no-undef
  12:6   error  'foo' is not defined                                                                                                                     no-undef
  12:11  error  'arg' is not defined                                                                                                                     no-undef
  12:28  error  Empty block statement                                                                                                                    no-empty
  16:1   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
  16:5   error  'something' is assigned a value but never used                                                                                           no-unused-vars
  16:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  16:17  error  'get' is not defined                                                                                                                     no-undef
  16:22  error  'arg1' is not defined                                                                                                                    no-undef
  16:28  error  'arg2' is not defined                                                                                                                    no-undef
  17:2   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  17:2   error  'something' is already defined                                                                                                           no-redeclare
  17:14  error  'get' is not defined                                                                                                                     no-undef
  17:19  error  'arg1' is not defined                                                                                                                    no-undef
  17:25  error  'arg2' is not defined                                                                                                                    no-undef
  18:2   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  18:2   error  'something' is already defined                                                                                                           no-redeclare
  18:14  error  'get' is not defined                                                                                                                     no-undef
  18:19  error  'arg1' is not defined                                                                                                                    no-undef
  18:25  error  'arg2' is not defined                                                                                                                    no-undef
  20:1   error  'make_foo' is not defined                                                                                                                no-undef
  20:11  error  'string' is not defined                                                                                                                  no-undef
  21:1   error  'make_foo' is not defined                                                                                                                no-undef
  21:11  error  'string' is not defined                                                                                                                  no-undef
  22:1   error  'make_foo' is not defined                                                                                                                no-undef
  22:11  error  'string' is not defined                                                                                                                  no-undef
  23:1   error  'make_foo' is not defined                                                                                                                no-undef
  23:26  error  'string' is not defined                                                                                                                  no-undef
  24:1   error  'make_foo' is not defined                                                                                                                no-undef
  24:26  error  'string' is not defined                                                                                                                  no-undef
  28:1   error  'test' is not defined                                                                                                                    no-undef
  28:7   error  'arg' is not defined                                                                                                                     no-undef
  28:12  error  'arg2' is not defined                                                                                                                    no-undef
  29:1   error  'test' is not defined                                                                                                                    no-undef
  29:7   error  'arg' is not defined                                                                                                                     no-undef
  29:12  error  'arg2' is not defined                                                                                                                    no-undef
  30:1   error  'test' is not defined                                                                                                                    no-undef
  30:7   error  'arg' is not defined                                                                                                                     no-undef
  30:12  error  'arg2' is not defined                                                                                                                    no-undef
  34:24  error  'data' is defined but never used                                                                                                         no-unused-vars
  35:2   error  'a' is not defined                                                                                                                       no-undef
  36:3   error  'b' is not defined                                                                                                                       no-undef
  40:17  error  '_reviewData' is not defined                                                                                                             no-undef
  45:9   error  '_showAspectItems' is assigned a value but never used                                                                                    no-unused-vars
  45:9   error  Unexpected dangling '_' in '_showAspectItems'                                                                                            no-underscore-dangle
  46:6   error  'a' is not defined                                                                                                                       no-undef
  46:11  error  'a' is not defined                                                                                                                       no-undef
  47:6   error  'a' is not defined                                                                                                                       no-undef
  47:11  error  'a' is not defined                                                                                                                       no-undef
  49:5   error  'a' is not defined                                                                                                                       no-undef
  49:31  error  'target' is defined but never used                                                                                                       no-unused-vars
  50:6   error  '_foo' is not defined                                                                                                                    no-undef
  57:1   error  'a' is not defined                                                                                                                       no-undef
  63:16  error  Unexpected @return tag; function has no return statement                                                                                 valid-jsdoc
  69:4   error  Unexpected @return tag; function has no return statement                                                                                 valid-jsdoc
  71:5   error  Duplicate key 'a'                                                                                                                        no-dupe-keys

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionDeclarationUnitTest.js
  2:54  error  Parsing error: Unexpected token =

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/DuplicatePropertyUnitTest.js
  10:3  error  Parsing error: Unexpected token this

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/DocCommentAlignmentUnitTest.js
   5:1   error  'foo' is not defined                                                                                                                        no-undef
  10:7   error  Unexpected @return tag; function has no return statement                                                                                    valid-jsdoc
  19:1   error  'foo' is not defined                                                                                                                        no-undef
  24:10  error  Unexpected @return tag; function has no return statement                                                                                    valid-jsdoc
  33:1   error  'foo' is not defined                                                                                                                        no-undef
  38:7   error  Unexpected @return tag; function has no return statement                                                                                    valid-jsdoc
  46:1   error  Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  46:10  error  'myFunction' is defined but never used                                                                                                      no-unused-vars
  47:2   error  Unexpected console statement                                                                                                                no-console
  61:4   error  Missing JSDoc parameter type for 'array'                                                                                                    valid-jsdoc
  62:4   error  Missing JSDoc parameter type for 'object'                                                                                                   valid-jsdoc
  64:4   error  Missing JSDoc parameter type for 'string'                                                                                                   valid-jsdoc
  66:4   error  Unexpected @return tag; function has no return statement                                                                                    valid-jsdoc
  68:1   error  Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  68:10  error  'myFunction' is already defined                                                                                                             no-redeclare
  70:11  error  'Datepicker' is not defined                                                                                                                 no-undef

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.2.js
  10:7  error  Parsing error: Unexpected token 'hi'

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.js
  122:1  error  Parsing error: Unexpected token *

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/LongConditionClosingCommentUnitTest.js
    1:1   error  Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
    1:10  error  'long_function' is defined but never used                                                                                                   no-unused-vars
    1:10  error  Identifier 'long_function' is not in camel case                                                                                             camelcase
    2:7   error  'longFunction' is not defined                                                                                                               no-undef
    9:3   error  'variable' is not defined                                                                                                                   no-undef
    9:3   error  Global variable leak, declare the variable if it is intended to be local                                                                    no-implicit-globals
   11:8   error  'variable' is not defined                                                                                                                   no-undef
   16:8   error  'variable' is not defined                                                                                                                   no-undef
   25:7   error  'longFunction' is not defined                                                                                                               no-undef
   32:3   error  Global variable leak, declare the variable if it is intended to be local                                                                    no-implicit-globals
   32:3   error  'variable' is not defined                                                                                                                   no-undef
   34:8   error  'variable' is not defined                                                                                                                   no-undef
   39:8   error  'variable' is not defined                                                                                                                   no-undef
   48:7   error  'longFunction' is not defined                                                                                                               no-undef
   55:3   error  Global variable leak, declare the variable if it is intended to be local                                                                    no-implicit-globals
   55:3   error  'variable' is not defined                                                                                                                   no-undef
   57:8   error  'variable' is not defined                                                                                                                   no-undef
   62:8   error  'variable' is not defined                                                                                                                   no-undef
   73:7   error  'longFunction' is not defined                                                                                                               no-undef
   80:3   error  Global variable leak, declare the variable if it is intended to be local                                                                    no-implicit-globals
   80:3   error  'variable' is not defined                                                                                                                   no-undef
   82:8   error  'variable' is not defined                                                                                                                   no-undef
   87:8   error  'variable' is not defined                                                                                                                   no-undef
   99:7   error  Global variable leak, declare the variable if it is intended to be local                                                                    no-implicit-globals
   99:7   error  'variable' is not defined                                                                                                                   no-undef
   99:21  error  'variable' is not defined                                                                                                                   no-undef
   99:36  error  'variable' is not defined                                                                                                                   no-undef
  122:7   error  'variable' is not defined                                                                                                                   no-undef
  122:7   error  Global variable leak, declare the variable if it is intended to be local                                                                    no-implicit-globals
  122:21  error  'variable' is not defined                                                                                                                   no-undef
  122:36  error  'variable' is not defined                                                                                                                   no-undef
  132:8   error  'val' is not defined                                                                                                                        no-undef
  132:8   error  Global variable leak, declare the variable if it is intended to be local                                                                    no-implicit-globals
  132:17  error  'val' is not defined                                                                                                                        no-undef
  132:27  error  'val' is not defined                                                                                                                        no-undef
  145:9   error  'variable' is not defined                                                                                                                   no-undef
  168:9   error  'variable' is not defined                                                                                                                   no-undef
  178:10  error  'something' is not defined                                                                                                                  no-undef
  191:6   error  'longFunction' is not defined                                                                                                               no-undef
  198:2   error  'variable' is not defined                                                                                                                   no-undef
  198:2   error  Global variable leak, declare the variable if it is intended to be local                                                                    no-implicit-globals
  200:7   error  'variable' is not defined                                                                                                                   no-undef
  205:7   error  'variable' is not defined                                                                                                                   no-undef
  214:6   error  'longFunction' is not defined                                                                                                               no-undef
  221:2   error  Global variable leak, declare the variable if it is intended to be local                                                                    no-implicit-globals
  221:2   error  'variable' is not defined                                                                                                                   no-undef
  223:7   error  'variable' is not defined                                                                                                                   no-undef
  228:7   error  'variable' is not defined                                                                                                                   no-undef
  239:7   error  Global variable leak, declare the variable if it is intended to be local                                                                    no-implicit-globals
  239:7   error  'variable' is not defined                                                                                                                   no-undef
  239:21  error  'variable' is not defined                                                                                                                   no-undef
  239:36  error  'variable' is not defined                                                                                                                   no-undef
  262:9   error  'variable' is not defined                                                                                                                   no-undef
  285:9   error  'variable' is not defined                                                                                                                   no-undef
  308:6   error  Unexpected constant condition                                                                                                               no-constant-condition
  329:13  error  'condition' is not defined                                                                                                                  no-undef
  373:6   error  'something' is not defined                                                                                                                  no-undef
  376:13  error  'somethingElse' is not defined                                                                                                              no-undef
  402:10  error  'something' is not defined                                                                                                                  no-undef
  441:6   error  'condition' is not defined                                                                                                                  no-undef
  442:2   error  Global variable leak, declare the variable if it is intended to be local                                                                    no-implicit-globals
  442:2   error  'condition' is not defined                                                                                                                  no-undef

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/PostStatementCommentUnitTest.1.js
   1:1   error  Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
   1:10  error  'test' is defined but never used                                                                                                            no-unused-vars
   1:16  error  'id' is defined but never used                                                                                                              no-unused-vars
   1:20  error  'buttons' is defined but never used                                                                                                         no-unused-vars
   2:1   error  Opening curly brace does not appear on the same line as controlling statement                                                               brace-style
   3:2   error  Unexpected alert                                                                                                                            no-alert
   4:2   error  Unexpected alert                                                                                                                            no-alert
   9:1   error  All 'var' declarations must be at the top of the function scope                                                                             vars-on-top
   9:5   error  'good' is assigned a value but never used                                                                                                   no-unused-vars
   9:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable     no-implicit-globals
  11:1   error  'mig' is not defined                                                                                                                        no-undef
  13:19  error  'cb' is defined but never used                                                                                                              no-unused-vars
  17:27  error  'id' is defined but never used                                                                                                              no-unused-vars
  23:1   error  'dfx' is not defined                                                                                                                        no-undef
  23:36  error  'iframe' is defined but never used                                                                                                          no-unused-vars
  25:9   error  'doc' is not defined                                                                                                                        no-undef
  30:6   error  'condition' is not defined                                                                                                                  no-undef
  31:5   error  'anotherCondition' is not defined                                                                                                           no-undef
  32:2   error  'condition' is not defined                                                                                                                  no-undef
  32:2   error  Global variable leak, declare the variable if it is intended to be local                                                                    no-implicit-globals

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/PostStatementCommentUnitTest.2.js
  2:5  error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  2:5  error  'i' is assigned a value but never used                                                                                                   no-unused-vars

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ControlSignatureUnitTest.js
    1:1   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
    1:1   error  'i' is not defined                                                        no-undef
    3:2   error  'i' is not defined                                                        no-undef
    3:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
    4:11  error  'i' is not defined                                                        no-undef
    7:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
    7:2   error  'i' is not defined                                                        no-undef
    8:11  error  'i' is not defined                                                        no-undef
   11:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   11:2   error  'i' is not defined                                                        no-undef
   13:9   error  'i' is not defined                                                        no-undef
   15:6   error  'i' is not defined                                                        no-undef
   15:6   error  This line has 2 statements. Maximum allowed is 1                          max-statements-per-line
   15:6   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   15:23  error  'i' is not defined                                                        no-undef
   18:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   18:2   error  'i' is not defined                                                        no-undef
   19:11  error  'i' is not defined                                                        no-undef
   21:9   error  'i' is not defined                                                        no-undef
   22:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   22:2   error  'i' is not defined                                                        no-undef
   25:9   error  'i' is not defined                                                        no-undef
   26:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   26:2   error  'i' is not defined                                                        no-undef
   29:9   error  'i' is not defined                                                        no-undef
   29:19  error  'i' is not defined                                                        no-undef
   29:19  error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   29:19  error  This line has 2 statements. Maximum allowed is 1                          max-statements-per-line
   31:7   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   31:7   error  'i' is not defined                                                        no-undef
   31:14  error  'i' is not defined                                                        no-undef
   31:21  error  'i' is not defined                                                        no-undef
   32:2   error  'i' is not defined                                                        no-undef
   32:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   35:7   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   35:7   error  'i' is not defined                                                        no-undef
   35:14  error  'i' is not defined                                                        no-undef
   35:21  error  'i' is not defined                                                        no-undef
   36:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   36:2   error  'i' is not defined                                                        no-undef
   39:7   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   39:7   error  'i' is not defined                                                        no-undef
   39:14  error  'i' is not defined                                                        no-undef
   39:21  error  'i' is not defined                                                        no-undef
   39:29  error  This line has 2 statements. Maximum allowed is 1                          max-statements-per-line
   39:29  error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   39:29  error  'i' is not defined                                                        no-undef
   41:6   error  'i' is not defined                                                        no-undef
   41:8   error  Expected '===' and instead saw '=='                                       eqeqeq
   42:2   error  'i' is not defined                                                        no-undef
   42:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   45:6   error  'i' is not defined                                                        no-undef
   45:8   error  Expected '===' and instead saw '=='                                       eqeqeq
   46:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   46:2   error  'i' is not defined                                                        no-undef
   49:6   error  'i' is not defined                                                        no-undef
   49:8   error  Expected '===' and instead saw '=='                                       eqeqeq
   49:17  error  'i' is not defined                                                        no-undef
   49:17  error  This line has 2 statements. Maximum allowed is 1                          max-statements-per-line
   49:17  error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   51:6   error  'i' is not defined                                                        no-undef
   51:8   error  Expected '===' and instead saw '=='                                       eqeqeq
   52:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   52:2   error  'i' is not defined                                                        no-undef
   54:2   error  'i' is not defined                                                        no-undef
   54:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   57:6   error  'i' is not defined                                                        no-undef
   57:8   error  Expected '===' and instead saw '=='                                       eqeqeq
   58:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   58:2   error  'i' is not defined                                                        no-undef
   60:2   error  'i' is not defined                                                        no-undef
   60:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   63:6   error  'i' is not defined                                                        no-undef
   63:8   error  Expected '===' and instead saw '=='                                       eqeqeq
   63:17  error  This line has 3 statements. Maximum allowed is 1                          max-statements-per-line
   63:17  error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   63:17  error  'i' is not defined                                                        no-undef
   63:33  error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   63:33  error  'i' is not defined                                                        no-undef
   65:6   error  'i' is not defined                                                        no-undef
   65:8   error  Expected '===' and instead saw '=='                                       eqeqeq
   66:2   error  'i' is not defined                                                        no-undef
   66:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   67:13  error  'i' is not defined                                                        no-undef
   67:15  error  Expected '===' and instead saw '=='                                       eqeqeq
   68:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   68:2   error  'i' is not defined                                                        no-undef
   71:6   error  'i' is not defined                                                        no-undef
   71:8   error  Expected '===' and instead saw '=='                                       eqeqeq
   72:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   72:2   error  'i' is not defined                                                        no-undef
   73:13  error  'i' is not defined                                                        no-undef
   73:15  error  Expected '===' and instead saw '=='                                       eqeqeq
   74:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   74:2   error  'i' is not defined                                                        no-undef
   77:6   error  'i' is not defined                                                        no-undef
   77:8   error  Expected '===' and instead saw '=='                                       eqeqeq
   77:17  error  'i' is not defined                                                        no-undef
   77:17  error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   77:17  error  This line has 4 statements. Maximum allowed is 1                          max-statements-per-line
   77:36  error  'i' is not defined                                                        no-undef
   77:38  error  Expected '===' and instead saw '=='                                       eqeqeq
   77:47  error  'i' is not defined                                                        no-undef
   77:47  error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   79:6   error  'i' is not defined                                                        no-undef
   79:8   error  Expected '===' and instead saw '=='                                       eqeqeq
   80:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   80:2   error  'i' is not defined                                                        no-undef
   83:6   error  'i' is not defined                                                        no-undef
   83:8   error  Expected '===' and instead saw '=='                                       eqeqeq
   84:2   error  'i' is not defined                                                        no-undef
   84:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   87:6   error  'i' is not defined                                                        no-undef
   87:8   error  Expected '===' and instead saw '=='                                       eqeqeq
   88:2   error  'i' is not defined                                                        no-undef
   88:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   91:6   error  'i' is not defined                                                        no-undef
   91:8   error  Expected '===' and instead saw '=='                                       eqeqeq
   92:2   error  'i' is not defined                                                        no-undef
   92:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
   95:6   error  'i' is not defined                                                        no-undef
   95:8   error  Expected '===' and instead saw '=='                                       eqeqeq
   95:32  error  Empty block statement                                                     no-empty
   99:2   error  'code' is not defined                                                     no-undef
   99:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  104:7   error  'code' is not defined                                                     no-undef
  104:7   error  This line has 2 statements. Maximum allowed is 1                          max-statements-per-line
  104:7   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  109:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  109:2   error  'i' is not defined                                                        no-undef
  110:11  error  'i' is not defined                                                        no-undef
  112:6   error  'i' is not defined                                                        no-undef
  114:2   error  'i' is not defined                                                        no-undef
  114:2   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  127:5   error  'jQuery' is not defined                                                   no-undef
  130:37  error  Expected '===' and instead saw '=='                                       eqeqeq
  130:49  error  This line has 2 statements. Maximum allowed is 1                          max-statements-per-line
  132:37  error  Expected '===' and instead saw '=='                                       eqeqeq
  132:49  error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  132:49  error  This line has 2 statements. Maximum allowed is 1                          max-statements-per-line
  132:49  error  '$foo' is not defined                                                     no-undef

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ForLoopDeclarationUnitTest.js
  126:1  error  Parsing error: Unexpected token

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/SwitchDeclarationUnitTest.js
  85:5  error  Parsing error: Unexpected token Case

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Debug/JSLintUnitTest.js
  1:1  error  Unexpected alert  no-alert
  2:1  error  Unexpected alert  no-alert

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Debug/JavaScriptLintUnitTest.js
  1:1  error  Unexpected alert  no-alert
  2:1  error  Unexpected alert  no-alert

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.js
  74:1  error  Parsing error: 'return' outside of function

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/MultiLineFunctionDeclarationUnitTest.js
  2:54  error  Parsing error: Unexpected token =

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Objects/DisallowObjectStringIndexUnitTest.js
   1:1   error  Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  12:3   error  Combine this with the previous 'var' statement                                                                                              one-var
  12:3   error  All 'var' declarations must be at the top of the function scope                                                                             vars-on-top
  12:7   error  't' is assigned a value but never used                                                                                                      no-unused-vars
  13:4   error  'y' is assigned a value but never used                                                                                                      no-unused-vars
  14:4   error  'a' is assigned a value but never used                                                                                                      no-unused-vars
  15:4   error  'z' is assigned a value but never used                                                                                                      no-unused-vars
  16:4   error  'p' is assigned a value but never used                                                                                                      no-unused-vars
  21:1   error  Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  21:10  error  'test' is already defined                                                                                                                   no-redeclare
  22:25  error  'step' is not defined                                                                                                                       no-undef
  22:34  error  'errors' is not defined                                                                                                                     no-undef
  23:21  error  'x' is not defined                                                                                                                          no-undef
  24:31  error  'x' is not defined                                                                                                                          no-undef
  25:24  error  'y' is not defined                                                                                                                          no-undef
  25:30  error  'x' is not defined                                                                                                                          no-undef
  26:22  error  Unexpected string concatenation of literals                                                                                                 no-useless-concat
  26:35  error  'x' is not defined                                                                                                                          no-undef
  27:15  error  'y' is not defined                                                                                                                          no-undef
  27:21  error  'x' is not defined                                                                                                                          no-undef
  28:15  error  'y' is not defined                                                                                                                          no-undef
  28:19  error  'z' is not defined                                                                                                                          no-undef
  28:25  error  'x' is not defined                                                                                                                          no-undef
  29:42  error  'x' is not defined                                                                                                                          no-undef
  32:6   error  'child' is not defined                                                                                                                      no-undef
  33:2   error  'above' is not defined                                                                                                                      no-undef
  34:2   error  'child' is not defined                                                                                                                      no-undef
  34:30  error  'above' is not defined                                                                                                                      no-undef
  34:30  error  A constructor name should not start with a lowercase letter                                                                                 new-cap

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Objects/ObjectMemberCommaUnitTest.js
   3:1   error  'addTypeFormatButton' is not defined                                                                                                     no-undef
   7:1   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
   7:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
   7:5   error  'x' is assigned a value but never used                                                                                                   no-unused-vars
   9:2   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
   9:2   error  'y' is assigned a value but never used                                                                                                   no-unused-vars
  12:24  error  'arg' is defined but never used                                                                                                          no-unused-vars
  13:4   error  Unexpected console statement                                                                                                             no-console
  17:2   error  'z' is assigned a value but never used                                                                                                   no-unused-vars
  17:2   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  20:24  error  'arg' is defined but never used                                                                                                          no-unused-vars
  21:4   error  Unexpected console statement                                                                                                             no-console
  25:2   error  'x' is already defined                                                                                                                   no-redeclare
  25:2   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  26:3   error  Unexpected console statement                                                                                                             no-console
  29:1   error  'AssetListingEditWidgetType' is not defined                                                                                              no-undef
  30:19  error  'data' is defined but never used                                                                                                         no-unused-vars
  30:25  error  'assetid' is defined but never used                                                                                                      no-unused-vars
  30:34  error  'editables' is defined but never used                                                                                                    no-unused-vars
  34:1   error  'AssetListingEditWidgetType' is not defined                                                                                              no-undef
  35:19  error  'data' is defined but never used                                                                                                         no-unused-vars
  35:25  error  'assetid' is defined but never used                                                                                                      no-unused-vars
  35:34  error  'editables' is defined but never used                                                                                                    no-unused-vars
  39:1   error  'AssetListingEditWidgetType' is not defined                                                                                              no-undef
  41:19  error  'data' is defined but never used                                                                                                         no-unused-vars
  41:25  error  'assetid' is defined but never used                                                                                                      no-unused-vars
  41:34  error  'editables' is defined but never used                                                                                                    no-unused-vars

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Operators/ComparisonOperatorUsageUnitTest.js
   1:6   error  'value' is not defined                                                    no-undef
   1:16  error  'TRUE' is not defined                                                     no-undef
   1:23  error  Empty block statement                                                     no-empty
   2:13  error  'value' is not defined                                                    no-undef
   2:23  error  'FALSE' is not defined                                                    no-undef
   2:31  error  Empty block statement                                                     no-empty
   5:6   error  'value' is not defined                                                    no-undef
   5:12  error  Expected '===' and instead saw '=='                                       eqeqeq
   5:15  error  'TRUE' is not defined                                                     no-undef
   5:22  error  Empty block statement                                                     no-empty
   6:13  error  'value' is not defined                                                    no-undef
   6:19  error  Expected '===' and instead saw '=='                                       eqeqeq
   6:22  error  'FALSE' is not defined                                                    no-undef
   6:30  error  Empty block statement                                                     no-empty
   9:6   error  'value' is not defined                                                    no-undef
   9:14  error  Empty block statement                                                     no-empty
  10:14  error  'value' is not defined                                                    no-undef
  10:22  error  Empty block statement                                                     no-empty
  13:6   error  'value' is not defined                                                    no-undef
  13:28  error  'TRUE' is not defined                                                     no-undef
  13:35  error  Empty block statement                                                     no-empty
  14:13  error  'myFunction' is not defined                                               no-undef
  14:25  error  'value' is not defined                                                    no-undef
  14:37  error  'FALSE' is not defined                                                    no-undef
  14:45  error  Empty block statement                                                     no-empty
  17:6   error  'value' is not defined                                                    no-undef
  17:24  error  Expected '===' and instead saw '=='                                       eqeqeq
  17:27  error  'TRUE' is not defined                                                     no-undef
  17:34  error  Empty block statement                                                     no-empty
  18:13  error  'myFunction' is not defined                                               no-undef
  18:25  error  'value' is not defined                                                    no-undef
  18:33  error  Expected '===' and instead saw '=='                                       eqeqeq
  18:36  error  'FALSE' is not defined                                                    no-undef
  18:44  error  Empty block statement                                                     no-empty
  21:6   error  'value' is not defined                                                    no-undef
  21:26  error  Empty block statement                                                     no-empty
  22:14  error  'myFunction' is not defined                                               no-undef
  22:26  error  'value' is not defined                                                    no-undef
  22:36  error  Empty block statement                                                     no-empty
  25:6   error  'value' is not defined                                                    no-undef
  25:16  error  'TRUE' is not defined                                                     no-undef
  25:24  error  'other' is not defined                                                    no-undef
  25:34  error  'FALSE' is not defined                                                    no-undef
  25:42  error  Empty block statement                                                     no-empty
  28:6   error  'value' is not defined                                                    no-undef
  28:12  error  Expected '===' and instead saw '=='                                       eqeqeq
  28:15  error  'TRUE' is not defined                                                     no-undef
  28:23  error  'other' is not defined                                                    no-undef
  28:29  error  Expected '===' and instead saw '=='                                       eqeqeq
  28:32  error  'FALSE' is not defined                                                    no-undef
  28:40  error  Empty block statement                                                     no-empty
  31:6   error  'value' is not defined                                                    no-undef
  31:16  error  'other' is not defined                                                    no-undef
  31:24  error  Empty block statement                                                     no-empty
  34:6   error  'one' is not defined                                                      no-undef
  34:14  error  'TRUE' is not defined                                                     no-undef
  34:22  error  'two' is not defined                                                      no-undef
  34:30  error  'TRUE' is not defined                                                     no-undef
  34:38  error  'three' is not defined                                                    no-undef
  34:48  error  'FALSE' is not defined                                                    no-undef
  34:57  error  'four' is not defined                                                     no-undef
  34:66  error  'TRUE' is not defined                                                     no-undef
  34:73  error  Empty block statement                                                     no-empty
  37:6   error  'one' is not defined                                                      no-undef
  37:13  error  'two' is not defined                                                      no-undef
  37:21  error  'three' is not defined                                                    no-undef
  37:30  error  'four' is not defined                                                     no-undef
  37:37  error  Empty block statement                                                     no-empty
  40:9   error  'one' is not defined                                                      no-undef
  40:13  error  Expected '===' and instead saw '=='                                       eqeqeq
  40:23  error  Empty block statement                                                     no-empty
  43:9   error  'one' is not defined                                                      no-undef
  43:24  error  Empty block statement                                                     no-empty
  46:4   error  Empty block statement                                                     no-empty
  47:11  error  'one' is not defined                                                      no-undef
  47:15  error  Expected '===' and instead saw '=='                                       eqeqeq
  49:4   error  Empty block statement                                                     no-empty
  50:11  error  'one' is not defined                                                      no-undef
  52:7   error  'one' is not defined                                                      no-undef
  52:7   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  52:17  error  'one' is not defined                                                      no-undef
  52:21  error  Expected '!==' and instead saw '!='                                       eqeqeq
  52:27  error  'one' is not defined                                                      no-undef
  52:35  error  Empty block statement                                                     no-empty
  55:7   error  'one' is not defined                                                      no-undef
  55:7   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  55:17  error  'one' is not defined                                                      no-undef
  55:28  error  'one' is not defined                                                      no-undef
  55:36  error  Empty block statement                                                     no-empty
  58:1   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  58:7   error  'type' is not defined                                                     no-undef
  58:15  error  'types' is not defined                                                    no-undef
  58:23  error  Empty block statement                                                     no-empty
  61:1   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  61:1   error  'variable' is not defined                                                 no-undef
  61:14  error  'variable2' is not defined                                                no-undef
  61:37  error  'variable1' is not defined                                                no-undef
  63:1   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  63:1   error  'variable' is not defined                                                 no-undef
  63:14  error  'variable2' is not defined                                                no-undef
  63:24  error  Expected '===' and instead saw '=='                                       eqeqeq
  63:36  error  'variable1' is not defined                                                no-undef
  65:1   error  'variable' is not defined                                                 no-undef
  65:1   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  65:14  error  'variable2' is not defined                                                no-undef
  65:38  error  'variable1' is not defined                                                no-undef
  67:1   error  'variable' is not defined                                                 no-undef
  67:1   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  67:14  error  'variable2' is not defined                                                no-undef
  67:24  error  Expected '===' and instead saw '=='                                       eqeqeq
  67:37  error  'variable1' is not defined                                                no-undef
  69:1   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  69:1   error  'variable' is not defined                                                 no-undef
  69:14  error  'variable2' is not defined                                                no-undef
  69:34  error  'variable1' is not defined                                                no-undef
  71:1   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  71:1   error  'variable' is not defined                                                 no-undef
  71:14  error  'variable2' is not defined                                                no-undef
  71:24  error  Expected '===' and instead saw '=='                                       eqeqeq
  71:33  error  'variable1' is not defined                                                no-undef

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowInlineIfUnitTest.js
  1:1   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  1:1   error  'x' is not defined                                                        no-undef
  1:7   error  'x' is not defined                                                        no-undef
  1:11  error  'a' is not defined                                                        no-undef
  1:15  error  'x' is not defined                                                        no-undef
  2:1   error  Global variable leak, declare the variable if it is intended to be local  no-implicit-globals
  2:1   error  'id' is not defined                                                       no-undef
  2:6   error  'id' is not defined                                                       no-undef

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowSizeFunctionsInLoopsUnitTest.js
   1:7   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
   1:11  error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
   1:22  error  'permissions' is not defined                                                                                                             no-undef
   5:1   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
   5:1   error  Combine this with the previous 'var' statement                                                                                           one-var
   5:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
   5:15  error  'permissions' is not defined                                                                                                             no-undef
   6:7   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
   6:7   error  Combine this with the previous 'var' statement                                                                                           one-var
   6:11  error  'length' is already defined as a built-in global variable                                                                                no-redeclare
   6:11  error  'length' is assigned a value but never used                                                                                              no-unused-vars
   6:11  error  Unexpected redeclaration of read-only global variable                                                                                    no-implicit-globals
  10:1   error  Combine this with the previous 'var' statement                                                                                           one-var
  10:1   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
  10:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  11:7   error  Combine this with the previous 'var' statement                                                                                           one-var
  11:7   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
  11:11  error  'i' is already defined                                                                                                                   no-redeclare
  11:11  error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  12:2   error  Combine this with the previous 'var' statement                                                                                           one-var
  12:2   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
  12:6   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  12:6   error  'x' is assigned a value but never used                                                                                                   no-unused-vars

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ControlStructureSpacingUnitTest.js
  19:14  error  Parsing error: Unexpected token {

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionClosingBraceSpaceUnitTest.js
  120:9  error  Parsing error: Unexpected token .

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionOpeningBraceSpaceUnitTest.js
   1:1   error  Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
   1:10  error  'FuncOne' is defined but never used                                                                                                         no-unused-vars
   6:1   error  'Testing' is not defined                                                                                                                    no-undef
  20:92  error  This line has 2 statements. Maximum allowed is 1                                                                                            max-statements-per-line
  25:1   error  Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  25:10  error  'FuncFour' is defined but never used                                                                                                        no-unused-vars
  30:1   error  'AbstractAttributeEditorWidgetType' is not defined                                                                                          no-undef
  37:23  error  'data' is defined but never used                                                                                                            no-unused-vars
  38:7   error  'x' is assigned a value but never used                                                                                                      no-unused-vars
  40:5   error  Unexpected alert                                                                                                                            no-alert
  50:1   error  Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  50:10  error  'test' is defined but never used                                                                                                            no-unused-vars
  52:3   error  'y' is assigned a value but never used                                                                                                      no-unused-vars
  53:4   error  Unexpected alert                                                                                                                            no-alert
  60:1   error  All 'var' declarations must be at the top of the function scope                                                                             vars-on-top
  60:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable     no-implicit-globals
  60:5   error  'myFunc' is assigned a value but never used                                                                                                 no-unused-vars
  63:2   error  'blah' is not defined                                                                                                                       no-undef
  63:11  error  'y' is not defined                                                                                                                          no-undef
  64:3   error  Unexpected alert                                                                                                                            no-alert
  65:5   error  'z' is not defined                                                                                                                          no-undef
  67:2   error  'blah' is not defined                                                                                                                       no-undef
  67:22  error  This line has 2 statements. Maximum allowed is 1                                                                                            max-statements-per-line
  67:22  error  Unexpected alert                                                                                                                            no-alert
  73:1   error  'HelpWidgetType' is not defined                                                                                                             no-undef
  76:4   error  'y' is assigned a value but never used                                                                                                      no-unused-vars
  79:6   error  Unexpected alert                                                                                                                            no-alert
  87:1   error  'CustomFormEditWidgetType' is not defined                                                                                                   no-undef
  90:7   error  'settings' is assigned a value but never used                                                                                               no-unused-vars
  97:7   error  'self' is assigned a value but never used                                                                                                   no-unused-vars

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LogicalOperatorSpacingUnitTest.js
   1:6   error  'foo' is not defined   no-undef
   1:13  error  'bar' is not defined   no-undef
   1:19  error  Empty block statement  no-empty
   2:6   error  'foo' is not defined   no-undef
   2:13  error  'bar' is not defined   no-undef
   2:20  error  'baz' is not defined   no-undef
   2:26  error  Empty block statement  no-empty
   3:6   error  'foo' is not defined   no-undef
   3:13  error  'bar' is not defined   no-undef
   3:20  error  'baz' is not defined   no-undef
   3:26  error  Empty block statement  no-empty
   4:6   error  'foo' is not defined   no-undef
   4:13  error  'bar' is not defined   no-undef
   4:20  error  'baz' is not defined   no-undef
   4:26  error  Empty block statement  no-empty
   7:6   error  'foo' is not defined   no-undef
   8:5   error  'bar' is not defined   no-undef
   9:5   error  'baz' is not defined   no-undef
  10:3   error  Empty block statement  no-empty
  13:6   error  'foo' is not defined   no-undef
  14:5   error  'bar' is not defined   no-undef
  15:5   error  'baz' is not defined   no-undef
  16:3   error  Empty block statement  no-empty

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.js
  61:5  error  Parsing error: 'return' outside of function

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/PropertyLabelSpacingUnitTest.js
   1:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
   6:3   error  Unexpected alert                                                                                                                         no-alert
   7:13  error  'a' is not defined                                                                                                                       no-undef
  16:1   error  'id' is not defined                                                                                                                      no-undef
  16:1   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
  16:6   error  'id' is not defined                                                                                                                      no-undef
  18:1   error  Identifier 'outer_loop' is not in camel case                                                                                             camelcase
  19:7   error  'i' is not defined                                                                                                                       no-undef
  19:7   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
  19:14  error  'i' is not defined                                                                                                                       no-undef
  19:21  error  'i' is not defined                                                                                                                       no-undef
  20:8   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
  20:8   error  'j' is not defined                                                                                                                       no-undef
  20:15  error  'j' is not defined                                                                                                                       no-undef
  20:22  error  'j' is not defined                                                                                                                       no-undef
  21:8   error  'j' is not defined                                                                                                                       no-undef
  21:10  error  Expected '===' and instead saw '=='                                                                                                      eqeqeq
  21:19  error  This line has 2 statements. Maximum allowed is 1                                                                                         max-statements-per-line
  21:25  error  Identifier 'outer_loop' is not in camel case                                                                                             camelcase
  24:1   error  Unexpected alert                                                                                                                         no-alert
  26:1   error  Identifier 'even_number' is not in camel case                                                                                            camelcase
  26:21  error  'i' is not defined                                                                                                                       no-undef
  26:29  error  Expected '===' and instead saw '=='                                                                                                      eqeqeq
  27:7   error  'i' is not defined                                                                                                                       no-undef
  27:9   error  Expected '===' and instead saw '=='                                                                                                      eqeqeq
  27:19  error  This line has 2 statements. Maximum allowed is 1                                                                                         max-statements-per-line
  27:25  error  Identifier 'even_number' is not in camel case                                                                                            camelcase
  30:10  error  'blah' is not defined                                                                                                                    no-undef
  31:7   error  'dfx' is not defined                                                                                                                     no-undef
  32:19  error  'shiftKey' is not defined                                                                                                                no-undef
  35:8   error  'blah' is not defined                                                                                                                    no-undef
  35:15  error  Empty block statement                                                                                                                    no-empty

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SemicolonSpacingUnitTest.js
   1:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
   3:3   error  Unexpected alert                                                                                                                         no-alert
   4:13  error  'a' is not defined                                                                                                                       no-undef
   8:1   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
   8:1   error  'id' is not defined                                                                                                                      no-undef
   8:6   error  'id' is not defined                                                                                                                      no-undef
  10:7   error  'i' is not defined                                                                                                                       no-undef
  10:7   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
  10:14  error  'i' is not defined                                                                                                                       no-undef
  10:21  error  'i' is not defined                                                                                                                       no-undef
  11:8   error  'j' is not defined                                                                                                                       no-undef
  11:8   error  Global variable leak, declare the variable if it is intended to be local                                                                 no-implicit-globals
  11:15  error  'j' is not defined                                                                                                                       no-undef
  11:22  error  'j' is not defined                                                                                                                       no-undef
  12:8   error  'j' is not defined                                                                                                                       no-undef
  12:10  error  Expected '===' and instead saw '=='                                                                                                      eqeqeq
  12:19  error  This line has 2 statements. Maximum allowed is 1                                                                                         max-statements-per-line
  15:1   error  Unexpected alert                                                                                                                         no-alert
  17:1   error  All 'var' declarations must be at the top of the function scope                                                                          vars-on-top
  17:1   error  Combine this with the previous 'var' statement                                                                                           one-var
  17:5   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  17:5   error  'sum' is assigned a value but never used                                                                                                 no-unused-vars
  17:11  error  'a' is not defined                                                                                                                       no-undef
  19:2   error  'sum' is already defined                                                                                                                 no-redeclare
  19:2   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  19:8   error  'a' is not defined                                                                                                                       no-undef
  21:2   error  'sum' is already defined                                                                                                                 no-redeclare
  21:2   error  Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  21:8   error  'a' is not defined                                                                                                                       no-undef

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.1.js
   1:1   error  Unexpected alert                                                                                                                            no-alert
   2:1   error  Unexpected alert                                                                                                                            no-alert
   4:6   error  'something' is not defined                                                                                                                  no-undef
   4:18  error  Empty block statement                                                                                                                       no-empty
   8:1   error  Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
   8:10  error  'myFunction' is defined but never used                                                                                                      no-unused-vars
   9:2   error  Unexpected alert                                                                                                                            no-alert
  11:2   error  Unexpected alert                                                                                                                            no-alert
  21:1   error  Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  21:10  error  'myFunction2' is defined but never used                                                                                                     no-unused-vars
  22:2   error  Unexpected alert                                                                                                                            no-alert
  24:2   error  Unexpected alert                                                                                                                            no-alert
  28:1   error  Global variable leak, declare the variable if it is intended to be local                                                                    no-implicit-globals
  28:1   error  'MyFunction' is not defined                                                                                                                 no-undef
  29:2   error  Unexpected alert                                                                                                                            no-alert
  31:2   error  Unexpected alert                                                                                                                            no-alert
  37:1   error  Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable  no-implicit-globals
  37:10  error  'myFunction2' is already defined                                                                                                            no-redeclare
  38:2   error  Unexpected alert                                                                                                                            no-alert
  40:2   error  Unexpected alert                                                                                                                            no-alert

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.2.js
  1:1  error  Unexpected alert  no-alert

/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.3.js
  1:1  error  Unexpected alert  no-alert

✖ 899 problems (899 errors, 0 warnings)


$ ./node_modules/.bin/eslint . -f json
[{"filePath":"/venv/src/repo/Gruntfile.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.base.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.dropdownmenu.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.editor.helpers.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.editor.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.editor.shortcuts.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.groupselector.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.hooks.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.messagerenamedialog.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.messagetable.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.multiselectautocomplete.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.navitoggle.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.pagemode.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.pagetranslation.uls.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.parsers.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.proofread.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.recentgroups.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.selecttoinput.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.special.aggregategroups.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.special.importtranslations.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.special.languagestats.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.special.managegroups.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.special.managetranslatorsandbox.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.special.operatorsuggest.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.special.pagemigration.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.special.pagepreparation.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.special.pagetranslation.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.special.searchtranslations.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.special.translate.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.special.translationstash.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.special.translationstats.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.statsbar.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.storage.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.translationstashstorage.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/ext.translate.workflowselector.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/jquery.ajaxdispatcher.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/resources/js/jquery.autosize.js","messages":[{"ruleId":"no-undef","severity":2,"message":"'define' is not defined.","line":7,"column":39,"nodeType":"Identifier","messageId":"undef","endLine":7,"endColumn":45},{"ruleId":"no-undef","severity":2,"message":"'define' is not defined.","line":8,"column":3,"nodeType":"Identifier","messageId":"undef","endLine":8,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'exports' is not defined.","line":10,"column":12,"nodeType":"Identifier","messageId":"undef","endLine":10,"endColumn":19},{"ruleId":"no-undef","severity":2,"message":"'module' is not defined.","line":10,"column":21,"nodeType":"Identifier","messageId":"undef","endLine":10,"endColumn":27},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":12,"column":3,"nodeType":"VariableDeclaration","messageId":"top","endLine":14,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'Set' is not defined.","line":21,"column":44,"nodeType":"Identifier","messageId":"undef","endLine":21,"endColumn":47},{"ruleId":"no-mixed-spaces-and-tabs","severity":2,"message":"Mixed spaces and tabs.","line":36,"column":2,"nodeType":"Program"},{"ruleId":"no-new","severity":2,"message":"Do not use 'new' for side effects.","line":40,"column":3,"nodeType":"ExpressionStatement","endLine":40,"endColumn":23},{"ruleId":"no-underscore-dangle","severity":2,"message":"Unexpected dangling '_' in '_ref'.","line":51,"column":7,"nodeType":"VariableDeclarator","endLine":51,"endColumn":64},{"ruleId":"no-mixed-spaces-and-tabs","severity":2,"message":"Mixed spaces and tabs.","line":53,"column":2,"nodeType":"Program"},{"ruleId":"no-underscore-dangle","severity":2,"message":"Unexpected dangling '_' in '_ref$setOverflowX'.","line":53,"column":4,"nodeType":"VariableDeclarator","endLine":53,"endColumn":41},{"ruleId":"no-mixed-spaces-and-tabs","severity":2,"message":"Mixed spaces and tabs.","line":54,"column":2,"nodeType":"Program"},{"ruleId":"no-mixed-spaces-and-tabs","severity":2,"message":"Mixed spaces and tabs.","line":55,"column":2,"nodeType":"Program"},{"ruleId":"no-underscore-dangle","severity":2,"message":"Unexpected dangling '_' in '_ref$setOverflowY'.","line":55,"column":4,"nodeType":"VariableDeclarator","endLine":55,"endColumn":41},{"ruleId":"no-mixed-spaces-and-tabs","severity":2,"message":"Mixed spaces and tabs.","line":56,"column":2,"nodeType":"Program"},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 2 statements. Maximum allowed is 1.","line":58,"column":79,"nodeType":"ReturnStatement","messageId":"exceed","endLine":58,"endColumn":86},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":60,"column":3,"nodeType":"VariableDeclaration","endLine":62,"endColumn":33},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":60,"column":3,"nodeType":"VariableDeclaration","messageId":"top","endLine":62,"endColumn":33},{"ruleId":"no-mixed-spaces-and-tabs","severity":2,"message":"Mixed spaces and tabs.","line":61,"column":2,"nodeType":"Program"},{"ruleId":"no-mixed-spaces-and-tabs","severity":2,"message":"Mixed spaces and tabs.","line":62,"column":2,"nodeType":"Program"},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":93,"column":5,"nodeType":"VariableDeclaration","messageId":"top","endLine":93,"endColumn":32},{"ruleId":"no-unused-expressions","severity":2,"message":"Expected an assignment or function call and instead saw an expression.","line":97,"column":5,"nodeType":"ExpressionStatement","endLine":97,"endColumn":20},{"ruleId":"no-mixed-spaces-and-tabs","severity":2,"message":"Mixed spaces and tabs.","line":113,"column":2,"nodeType":"Program"},{"ruleId":"no-mixed-spaces-and-tabs","severity":2,"message":"Mixed spaces and tabs.","line":114,"column":2,"nodeType":"Program"},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":118,"column":4,"nodeType":"VariableDeclaration","messageId":"top","endLine":118,"endColumn":51},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":118,"column":4,"nodeType":"VariableDeclaration","endLine":118,"endColumn":51},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":141,"column":4,"nodeType":"VariableDeclaration","endLine":141,"endColumn":52},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":141,"column":4,"nodeType":"VariableDeclaration","messageId":"top","endLine":141,"endColumn":52},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":154,"column":5,"nodeType":"VariableDeclaration","endLine":154,"endColumn":49},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":154,"column":5,"nodeType":"VariableDeclaration","messageId":"top","endLine":154,"endColumn":49},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":159,"column":3,"nodeType":"VariableDeclaration","endLine":181,"endColumn":37},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":159,"column":3,"nodeType":"VariableDeclaration","messageId":"top","endLine":181,"endColumn":37},{"ruleId":"no-mixed-spaces-and-tabs","severity":2,"message":"Mixed spaces and tabs.","line":165,"column":2,"nodeType":"Program"},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 2 statements. Maximum allowed is 1.","line":206,"column":65,"nodeType":"ReturnStatement","messageId":"exceed","endLine":206,"endColumn":72},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":207,"column":3,"nodeType":"VariableDeclaration","messageId":"top","endLine":207,"endColumn":47},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 2 statements. Maximum allowed is 1.","line":212,"column":65,"nodeType":"ReturnStatement","messageId":"exceed","endLine":212,"endColumn":72},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":213,"column":3,"nodeType":"VariableDeclaration","messageId":"top","endLine":213,"endColumn":46},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":217,"column":2,"nodeType":"VariableDeclaration","messageId":"top","endLine":217,"endColumn":22},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":217,"column":2,"nodeType":"VariableDeclaration","endLine":217,"endColumn":22}],"errorCount":39,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"/*!\n Autosize 3.0.15\n license: MIT\n http://www.jacklmoore.com/autosize\n */\n( function ( global, factory ) {\n\tif ( typeof define === 'function' && define.amd ) {\n\t\tdefine( [ 'exports', 'module' ], factory );\n\t} else if ( typeof exports !== 'undefined' && typeof module !== 'undefined' ) {\n\t\tfactory( exports, module );\n\t} else {\n\t\tvar mod = {\n\t\t\texports: {}\n\t\t};\n\t\tfactory( mod.exports, mod );\n\t\tglobal.autosize = mod.exports;\n\t}\n}( this, function ( exports, module ) {\n\t'use strict';\n\n\tvar set = typeof Set === 'function' ? new Set() : ( function () {\n\t\t\tvar list = [];\n\n\t\t\treturn {\n\t\t\t\thas: function has( key ) {\n\t\t\t\t\treturn Boolean( list.indexOf( key ) > -1 );\n\t\t\t\t},\n\t\t\t\tadd: function add( key ) {\n\t\t\t\t\tlist.push( key );\n\t\t\t\t},\n\t\t\t\tdelete: function _delete( key ) {\n\t\t\t\t\tlist.splice( list.indexOf( key ), 1 );\n\t\t\t\t} };\n\t\t}() ),\n\n\t createEvent = function createEvent( name ) {\n\t\t\treturn new Event( name );\n\t\t};\n\ttry {\n\t\tnew Event( 'test' );\n\t} catch ( e ) {\n\t\t// IE does not support `new Event()`\n\t\tcreateEvent = function ( name ) {\n\t\t\tvar evt = document.createEvent( 'Event' );\n\t\t\tevt.initEvent( name, true, false );\n\t\t\treturn evt;\n\t\t};\n\t}\n\n\tfunction assign( ta ) {\n\t\tvar _ref = arguments[ 1 ] === undefined ? {} : arguments[ 1 ],\n\n\t\t _ref$setOverflowX = _ref.setOverflowX,\n\t\t setOverflowX = _ref$setOverflowX === undefined ? true : _ref$setOverflowX,\n\t\t _ref$setOverflowY = _ref.setOverflowY,\n\t\t setOverflowY = _ref$setOverflowY === undefined ? true : _ref$setOverflowY;\n\n\t\tif ( !ta || !ta.nodeName || ta.nodeName !== 'TEXTAREA' || set.has( ta ) ) { return; }\n\n\t\tvar heightOffset = null,\n\t\t overflowY = null,\n\t\t clientWidth = ta.clientWidth;\n\n\t\tfunction init() {\n\t\t\tvar style = window.getComputedStyle( ta, null );\n\n\t\t\toverflowY = style.overflowY;\n\n\t\t\tif ( style.resize === 'vertical' ) {\n\t\t\t\tta.style.resize = 'none';\n\t\t\t} else if ( style.resize === 'both' ) {\n\t\t\t\tta.style.resize = 'horizontal';\n\t\t\t}\n\n\t\t\tif ( style.boxSizing === 'content-box' ) {\n\t\t\t\theightOffset = -( parseFloat( style.paddingTop ) + parseFloat( style.paddingBottom ) );\n\t\t\t} else {\n\t\t\t\theightOffset = parseFloat( style.borderTopWidth ) + parseFloat( style.borderBottomWidth );\n\t\t\t}\n\t\t\t// Fix when a textarea is not on document body and heightOffset is Not a Number\n\t\t\tif ( isNaN( heightOffset ) ) {\n\t\t\t\theightOffset = 0;\n\t\t\t}\n\n\t\t\tupdate();\n\t\t}\n\n\t\tfunction changeOverflow( value ) {\n\t\t\t{\n\t\t\t\t// Chrome/Safari-specific fix:\n\t\t\t\t// When the textarea y-overflow is hidden, Chrome/Safari do not reflow the text to account for the space\n\t\t\t\t// made available by removing the scrollbar. The following forces the necessary text reflow.\n\t\t\t\tvar width = ta.style.width;\n\t\t\t\tta.style.width = '0px';\n\t\t\t\t// Force reflow:\n\t\t\t\t/* jshint ignore:start */\n\t\t\t\tta.offsetWidth;\n\t\t\t\t/* jshint ignore:end */\n\t\t\t\tta.style.width = width;\n\t\t\t}\n\n\t\t\toverflowY = value;\n\n\t\t\tif ( setOverflowY ) {\n\t\t\t\tta.style.overflowY = value;\n\t\t\t}\n\n\t\t\tresize();\n\t\t}\n\n\t\tfunction resize() {\n\t\t\tvar htmlTop = window.pageYOffset,\n\t\t\t bodyTop = document.body.scrollTop,\n\t\t\t originalHeight = ta.style.height;\n\n\t\t\tta.style.height = 'auto';\n\n\t\t\tvar endHeight = ta.scrollHeight + heightOffset;\n\n\t\t\tif ( ta.scrollHeight === 0 ) {\n\t\t\t\t// If the scrollHeight is 0, then the element probably has display:none or is detached from the DOM.\n\t\t\t\tta.style.height = originalHeight;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tta.style.height = endHeight + 'px';\n\n\t\t\t// used to check if an update is actually necessary on window.resize\n\t\t\tclientWidth = ta.clientWidth;\n\n\t\t\t// prevents scroll-position jumping\n\t\t\tdocument.documentElement.scrollTop = htmlTop;\n\t\t\tdocument.body.scrollTop = bodyTop;\n\t\t}\n\n\t\tfunction update() {\n\t\t\tvar startHeight = ta.style.height;\n\n\t\t\tresize();\n\n\t\t\tvar style = window.getComputedStyle( ta, null );\n\n\t\t\tif ( style.height !== ta.style.height ) {\n\t\t\t\tif ( overflowY !== 'visible' ) {\n\t\t\t\t\tchangeOverflow( 'visible' );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif ( overflowY !== 'hidden' ) {\n\t\t\t\t\tchangeOverflow( 'hidden' );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( startHeight !== ta.style.height ) {\n\t\t\t\tvar evt = createEvent( 'autosize:resized' );\n\t\t\t\tta.dispatchEvent( evt );\n\t\t\t}\n\t\t}\n\n\t\tvar pageResize = function pageResize() {\n\t\t\t\tif ( ta.clientWidth !== clientWidth ) {\n\t\t\t\t\tupdate();\n\t\t\t\t}\n\t\t\t},\n\n\t\t destroy = ( function ( style ) {\n\t\t\t\twindow.removeEventListener( 'resize', pageResize, false );\n\t\t\t\tta.removeEventListener( 'input', update, false );\n\t\t\t\tta.removeEventListener( 'keyup', update, false );\n\t\t\t\tta.removeEventListener( 'autosize:destroy', destroy, false );\n\t\t\t\tta.removeEventListener( 'autosize:update', update, false );\n\t\t\t\tset.delete( ta );\n\n\t\t\t\tObject.keys( style ).forEach( function ( key ) {\n\t\t\t\t\tta.style[ key ] = style[ key ];\n\t\t\t\t} );\n\t\t\t} ).bind( ta, {\n\t\t\t\theight: ta.style.height,\n\t\t\t\tresize: ta.style.resize,\n\t\t\t\toverflowY: ta.style.overflowY,\n\t\t\t\toverflowX: ta.style.overflowX,\n\t\t\t\twordWrap: ta.style.wordWrap } );\n\n\t\tta.addEventListener( 'autosize:destroy', destroy, false );\n\n\t\t// IE9 does not fire onpropertychange or oninput for deletions,\n\t\t// so binding to onkeyup to catch most of those events.\n\t\t// There is no way that I know of to detect something like 'cut' in IE9.\n\t\tif ( 'onpropertychange' in ta && 'oninput' in ta ) {\n\t\t\tta.addEventListener( 'keyup', update, false );\n\t\t}\n\n\t\twindow.addEventListener( 'resize', pageResize, false );\n\t\tta.addEventListener( 'input', update, false );\n\t\tta.addEventListener( 'autosize:update', update, false );\n\t\tset.add( ta );\n\n\t\tif ( setOverflowX ) {\n\t\t\tta.style.overflowX = 'hidden';\n\t\t\tta.style.wordWrap = 'break-word';\n\t\t}\n\n\t\tinit();\n\t}\n\n\tfunction destroy( ta ) {\n\t\tif ( !( ta && ta.nodeName && ta.nodeName === 'TEXTAREA' ) ) { return; }\n\t\tvar evt = createEvent( 'autosize:destroy' );\n\t\tta.dispatchEvent( evt );\n\t}\n\n\tfunction update( ta ) {\n\t\tif ( !( ta && ta.nodeName && ta.nodeName === 'TEXTAREA' ) ) { return; }\n\t\tvar evt = createEvent( 'autosize:update' );\n\t\tta.dispatchEvent( evt );\n\t}\n\n\tvar autosize = null;\n\n\t// Do nothing in Node.js environment and IE8 (or lower)\n\tif ( typeof window === 'undefined' || typeof window.getComputedStyle !== 'function' ) {\n\t\tautosize = function ( el ) {\n\t\t\treturn el;\n\t\t};\n\t\tautosize.destroy = function ( el ) {\n\t\t\treturn el;\n\t\t};\n\t\tautosize.update = function ( el ) {\n\t\t\treturn el;\n\t\t};\n\t} else {\n\t\tautosize = function ( el, options ) {\n\t\t\tif ( el ) {\n\t\t\t\tArray.prototype.forEach.call( el.length ? el : [ el ], function ( x ) {\n\t\t\t\t\treturn assign( x, options );\n\t\t\t\t} );\n\t\t\t}\n\t\t\treturn el;\n\t\t};\n\t\tautosize.destroy = function ( el ) {\n\t\t\tif ( el ) {\n\t\t\t\tArray.prototype.forEach.call( el.length ? el : [ el ], destroy );\n\t\t\t}\n\t\t\treturn el;\n\t\t};\n\t\tautosize.update = function ( el ) {\n\t\t\tif ( el ) {\n\t\t\t\tArray.prototype.forEach.call( el.length ? el : [ el ], update );\n\t\t\t}\n\t\t\treturn el;\n\t\t};\n\t}\n\n\tmodule.exports = autosize;\n} ) );\n"},{"filePath":"/venv/src/repo/resources/js/jquery.textchange.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/tests/qunit/ext.translate.parsers.test.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/tests/qunit/ext.translate.special.pagemigration.test.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/DocCommentUnitTest.js","messages":[{"ruleId":"no-tabs","severity":2,"message":"Unexpected tab character.","line":230,"column":12,"nodeType":"Program","endLine":230,"endColumn":13},{"ruleId":"no-tabs","severity":2,"message":"Unexpected tab character.","line":231,"column":11,"nodeType":"Program","endLine":231,"endColumn":12},{"ruleId":"no-tabs","severity":2,"message":"Unexpected tab character.","line":232,"column":11,"nodeType":"Program","endLine":232,"endColumn":12},{"ruleId":"no-tabs","severity":2,"message":"Unexpected tab character.","line":234,"column":12,"nodeType":"Program","endLine":234,"endColumn":13},{"ruleId":"no-tabs","severity":2,"message":"Unexpected tab character.","line":235,"column":9,"nodeType":"Program","endLine":235,"endColumn":10},{"ruleId":"no-tabs","severity":2,"message":"Unexpected tab character.","line":242,"column":13,"nodeType":"Program","endLine":242,"endColumn":15},{"ruleId":"no-tabs","severity":2,"message":"Unexpected tab character.","line":243,"column":12,"nodeType":"Program","endLine":243,"endColumn":14},{"ruleId":"no-tabs","severity":2,"message":"Unexpected tab character.","line":244,"column":11,"nodeType":"Program","endLine":244,"endColumn":12},{"ruleId":"no-tabs","severity":2,"message":"Unexpected tab character.","line":245,"column":11,"nodeType":"Program","endLine":245,"endColumn":12},{"ruleId":"no-tabs","severity":2,"message":"Unexpected tab character.","line":247,"column":12,"nodeType":"Program","endLine":247,"endColumn":13},{"ruleId":"no-tabs","severity":2,"message":"Unexpected tab character.","line":247,"column":15,"nodeType":"Program","endLine":247,"endColumn":16},{"ruleId":"no-tabs","severity":2,"message":"Unexpected tab character.","line":248,"column":9,"nodeType":"Program","endLine":248,"endColumn":11}],"errorCount":12,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"/**\n * Short description.\n *\n * Long description\n * over multiple lines.\n *\n * @tag1 one\n * @tag2 two\n * @tag3 three\n */\n\n/**\n * short description\n *\n * long description\n * over multiple lines.\n * @tag1 one\n */\n\n/**\n *\n * Short description\n *\n *\n * Long description\n * over multiple lines\n *\n *\n * @tag1 one\n *\n */\n\n/*\n    This is not a doc block.\n */\n\n/** Short description.\n *\n * @tag one\n * @tag2 two\n * @tagThree three\n * @tagFour  four\n */\n\n/**\n * Short description.\n *\n * @tag one\n *\n * @param\n * @param\n *\n */\n\n/**\n * Short description.\n * @param\n * @param\n * @tag one\n */\n\n/**\n * Short description.\n *\n *\n * @param\n *\n * @param\n *\n *\n * @tag one\n */\n\n/**\n * Short description.\n *\n * @param\n *\n * @tag one\n * @param\n */\n\n/**\n * Short description.\n *\n * @groupOne one\n * @groupOne  two\n *\n * @group2 one\n * @group2 two\n *\n *\n * @g3\n * @g3  two\n */\n\n/**\n * Short description\n * over multiple lines.\n *\n * Long description.\n *\n * @param\n *\n * @tag one\n */\n\n/**\n * Short description.\n *\n * @tag1 one   some comment across\n *             multiple lines\n * @tag1 two   some comment across\n *             multiple lines\n * @tag1 three some comment across\n *             multiple lines\n */\n\n/**\n * Returns true if the specified string is in the camel caps format.\n *\n * @param boolean $classFormat If true, check to see if the string is in the\n *                             class format. Class format strings must start\n *                             with a capital letter and contain no\n *                             underscores.\n * @param boolean $strict      If true, the string must not have two capital\n *                             letters next to each other. If false, a\n *                             relaxed camel caps policy is used to allow\n *                             for acronyms.\n *\n * @return boolean\n */\n\n/**\n * Verifies that a @throws tag exists for a function that throws exceptions.\n * Verifies the number of @throws tags and the number of throw tokens matches.\n * Verifies the exception type.\n *\n * PHP version 5\n *\n * @category  PHP\n * @package   PHP_CodeSniffer\n * @author    Greg Sherwood <gsherwood@squiz.net>\n * @author    Marc McIntyre <mmcintyre@squiz.net>\n * @copyright 2006-2012 Squiz Pty Ltd (ABN 77 084 670 600)\n * @license   https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence\n * @link      http://pear.php.net/package/PHP_CodeSniffer\n */\n\n/**\n * Comment\n *\n * @one\n * @two\n * @one\n *\n * @two   something\n *        here\n * @two   foo\n * @three something\n *        here\n * @three bar\n */\n\n/**\n * @ var Comment\n */\n\n/** @var Database $mockedDatabase */\n/** @var Container $mockedContainer */\n\n/**\n * 这是一条测试评论.\n */\n\n/**\n * I'm a function short-description\n * @return boolean\n */\n\n/**\n * this is a test\n * @author test\n * @param boolean $foo blah\n * @return boolean\n * @param boolean $bar Blah.\n */\n\n/**\n * Short description.\n *\n * @tag    one\n * @param  int    $number\n * @param  string $text\n * @return something\n */\n\n/**\n *\n * @param  int    $number\n * @param  string $text\n * @return something\n */\n\n/**\n * @param int $number\n */\n\n/**\n * étude des ...\n */\n\n/** doc comment */\n\n/**\n         * Document behaviour with missing blank lines with indented docblocks.\n         * @param\n         * @param\n         * @tag one\n         *\n         */\n\n/** Indented doc comment */\n\n/**\n * Verify and document sniff behaviour when the \"tag value\" is indented with a mix of tabs and spaces.\n * The below is \"correctly\" aligned.\n *\n * @category  PHP\n * @package\t  PHP_CodeSniffer\n * @author\t  Greg Sherwood <gsherwood@squiz.net>\n * @author\t  Marc McIntyre <mmcintyre@squiz.net>\n * @copyright 2006-2012 Squiz Pty Ltd (ABN 77 084 670 600)\n * @license\t  https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence\n * @link\t  http://pear.php.net/package/PHP_CodeSniffer\n */\n\n/**\n * Verify and document sniff behaviour when the \"tag value\" is indented with a mix of tabs and spaces.\n * The below is incorrectly aligned.\n *\n * @category\t\tPHP\n * @package\t\t  PHP_CodeSniffer\n * @author\t  Greg Sherwood <gsherwood@squiz.net>\n * @author\tMarc McIntyre <mmcintyre@squiz.net>\n * @copyright 2006-2012 Squiz Pty Ltd (ABN 77 084 670 600)\n * @license\t  \thttps://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence\n * @link\t\thttp://pear.php.net/package/PHP_CodeSniffer\n */\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/FixmeUnitTest.js","messages":[{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":7,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":7,"endColumn":16},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":10,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":10,"endColumn":16}],"errorCount":2,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"/**\n * FIXME: Write this comment\n * FIXME\n */\n\n// FIXME: remove this.\nalert( 'test' );\n\n// FIXME remove this.\nalert( 'test' );\n\n// fixme - remove this.\n\n// Extract info from the array.\n// FIXME: can this be done faster?\n\n// Extract info from the array (fixme: make it faster)\n// To do this, use a function!\n// nofixme! NOFIXME! NOfixme!\n// FIXME.\n// éfixme\n// fixmeé\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Commenting/TodoUnitTest.js","messages":[{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":7,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":7,"endColumn":16},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":10,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":10,"endColumn":16}],"errorCount":2,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"/**\n * TODO: Write this comment\n * TODO\n */\n\n// TODO: remove this.\nalert( 'test' );\n\n// TODO remove this.\nalert( 'test' );\n\n// todo - remove this.\n\n// Extract info from the array.\n// TODO: can this be done faster?\n\n// Extract info from the array (todo: make it faster)\n// To do this, use a function!\n// notodo! NOTODO! NOtodo!\n// TODO.\n// étodo\n// todoé\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/ControlStructures/InlineControlStructureUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unexpected token 'hello'","line":3,"column":22}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"\n\nif (something) print 'hello';\n\nif (something) {\n    print 'hello';\n} else print 'hi';\n\nif (something) {\n    print 'hello';\n} else if (something) print 'hi';\n\nfor (i; i > 0; i--) print 'hello';\n\nwhile (something) print 'hello';\n\ndo {\n    i--;\n} while (something);\n\ndo i++; while (i < 5);\n\nSomeClass.prototype.switch = function() {\n    // do something\n};\n\nif ($(\"#myid\").rotationDegrees()=='90')\n    $('.modal').css({'transform': 'rotate(90deg)'});\n\nif ($(\"#myid\").rotationDegrees()=='90')\n    $foo = {'transform': 'rotate(90deg)'};\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Debug/ClosureLinterUnitTest.js","messages":[{"ruleId":"valid-jsdoc","severity":2,"message":"Missing JSDoc @return for function.","line":1,"column":1,"nodeType":"Block","messageId":"missingReturn","endLine":3,"endColumn":4},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":4,"column":1,"nodeType":"FunctionDeclaration","messageId":"globalNonLexicalBinding","endLine":6,"endColumn":2},{"ruleId":"no-unused-vars","severity":2,"message":"'something' is defined but never used.","line":4,"column":10,"nodeType":"Identifier","endLine":4,"endColumn":19},{"ruleId":"no-undef","severity":2,"message":"'a' is not defined.","line":5,"column":9,"nodeType":"Identifier","messageId":"undef","endLine":5,"endColumn":10}],"errorCount":4,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"/**\n * My function\n */\nfunction something() {\n\treturn a;\n}\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Debug/ESLintUnitTest.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":1,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":1,"endColumn":14},{"ruleId":"no-unused-vars","severity":2,"message":"'foo' is assigned a value but never used.","line":1,"column":5,"nodeType":"Identifier","endLine":1,"endColumn":8},{"ruleId":"no-undef","severity":2,"message":"'bar' is not defined.","line":1,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":14}],"errorCount":3,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"var foo = bar;\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Debug/JSHintUnitTest.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":3,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":3,"endColumn":14},{"ruleId":"no-unused-vars","severity":2,"message":"'foo' is assigned a value but never used.","line":3,"column":5,"nodeType":"Identifier","endLine":3,"endColumn":8},{"ruleId":"no-undef","severity":2,"message":"'bar' is not defined.","line":3,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":3,"endColumn":14}],"errorCount":3,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"/* jshint undef: true, unused: true */\n\nvar foo = bar;\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.1.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unterminated string constant","line":2,"column":7}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"\nalert('hi);\n\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.2.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unterminated string constant","line":2,"column":7}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"\nalert('hi);\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNewlineUnitTest.3.js","messages":[{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":1,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":1,"endColumn":14}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"alert( 'hi' );\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.1.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unterminated string constant","line":2,"column":7}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"\nalert('hi);\n\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.2.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unterminated string constant","line":2,"column":7}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"\nalert('hi);\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/EndFileNoNewlineUnitTest.3.js","messages":[{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":1,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":1,"endColumn":14}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"alert( 'hi' );\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Files/LineEndingsUnitTest.js","messages":[{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":1,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":1,"endColumn":14},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":2,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":2,"endColumn":14}],"errorCount":2,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"alert( 'hi' );\nalert( 'hi' );\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/MultipleStatementAlignmentUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unexpected token +=","line":94,"column":15}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"\n\n// Valid\nvar1    = 'var1';\nvar10   = 'var1';\nvar100  = 'var1';\nvar1000 = 'var1';\n\n// Invalid\nvar1    = 'var1';\nvar10 = 'var1';\nvar100 = 'var1';\nvar1000 = 'var1';\n\n// Valid\nvar1  = 'var1';\nvar10 = 'var1';\n\nvar100  = 'var1';\nvar1000 = 'var1';\n\n// Invalid\nvar1     = 'var1';\nvar10    = 'var1';\n\nvar100   = 'var1';\nvar1000  = 'var1';\n\n// Valid\nvar1    += 'var1';\nvar10   += 'var1';\nvar100  += 'var1';\nvar1000 += 'var1';\n\n// Invalid\nvar1    += 'var1';\nvar10+= 'var1';\nvar100 += 'var1';\nvar1000 += 'var1';\n\n// Valid\nvar1     = 'var1';\nvar10   += 'var1';\nvar100   = 'var1';\nvar1000 += 'var1';\n\n// Invalid\nvar1    = 'var1';\nvar10   += 'var1';\nvar100  = 'var1';\nvar1000+= 'var1';\n\n// Valid\nvar1  += 'var1';\nvar10 += 'var1';\n\nvar100  += 'var1';\nvar1000 += 'var1';\n\n// Invalid\nvar1     += 'var1';\nvar10    += 'var1';\n\nvar100   += 'var1';\nvar1000  += 'var1';\n\n// Valid\nvar test = 100;\n\n// InValid\nvar test  = 100;\n\ncommentStart = phpcsFile.findPrevious();\ncommentEnd   = this._phpcsFile;\nexpected    += '...';\n\n// Invalid\nthis.okButton    = {};\ncontent = {};\n\nvar buttonid = [this.id, '-positionFormats-add'].join('');\nvar buttonWidget = WidgetStore.get(buttonid);\nvar spinButtonid = [this.id, '-positionFormats-spinButton'].join('');\nvar spinButtonWidget = WidgetStore.get(spinButtonid);\nvar position = spinButtonWidget.getValue();\nvar posFormatsList = WidgetStore.get([self.id, '-positionFormats-list'].join(''));\n\ndfx.stripTags = function(content, allowedTags)\n{\n    var match;\n    var re = 'blah';\n};\n\nvar contents  += 'if (';\nvar conditions = array();\n\nvar foo  = {};\nfoo.blah = 'blah';\n\nvar script = document.createElement('script');\nscript.onload = function()\n{\n    clearTimeout(t);\n};\n\nstream.match(stream.sol() ? /^\\s*\\/\\/.*/ : /^\\s+\\/\\/.*/);\nfunction() {\n    if (condition)\n        foo = .4\n}\n\nx = x << y;\nx  <<= y;\nx = x >> y;\nx >>= y;\n\nx = x << y;\nx >>>= y;\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Formatting/SpaceAfterNotUnitTest.js","messages":[{"ruleId":"no-undef","severity":2,"message":"'someVar' is not defined.","line":1,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":14},{"ruleId":"no-undef","severity":2,"message":"'x' is not defined.","line":1,"column":19,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":20},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":1,"column":23,"nodeType":"BlockStatement","messageId":"unexpected","endLine":1,"endColumn":25},{"ruleId":"no-undef","severity":2,"message":"'someVar' is not defined.","line":2,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":2,"endColumn":14},{"ruleId":"no-undef","severity":2,"message":"'x' is not defined.","line":2,"column":19,"nodeType":"Identifier","messageId":"undef","endLine":2,"endColumn":20},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":2,"column":23,"nodeType":"BlockStatement","messageId":"unexpected","endLine":2,"endColumn":25},{"ruleId":"no-constant-condition","severity":2,"message":"Unexpected constant condition.","line":3,"column":6,"nodeType":"LogicalExpression","messageId":"unexpected","endLine":3,"endColumn":30},{"ruleId":"no-undef","severity":2,"message":"'foo' is not defined.","line":3,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":3,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'x' is not defined.","line":3,"column":19,"nodeType":"Identifier","messageId":"undef","endLine":3,"endColumn":20},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":3,"column":33,"nodeType":"BlockStatement","messageId":"unexpected","endLine":3,"endColumn":35},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":4,"column":1,"nodeType":"VariableDeclaration","messageId":"top","endLine":4,"endColumn":21},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":4,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":4,"endColumn":20},{"ruleId":"no-unused-vars","severity":2,"message":"'z' is assigned a value but never used.","line":4,"column":5,"nodeType":"Identifier","endLine":4,"endColumn":6},{"ruleId":"no-undef","severity":2,"message":"'x' is not defined.","line":4,"column":12,"nodeType":"Identifier","messageId":"undef","endLine":4,"endColumn":13},{"ruleId":"no-undef","severity":2,"message":"'y' is not defined.","line":4,"column":17,"nodeType":"Identifier","messageId":"undef","endLine":4,"endColumn":18}],"errorCount":15,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"if ( !someVar || !x ) {}\nif ( !someVar || !x ) {}\nif ( !foo() && ( !x || true ) ) {}\nvar z = !( x || y );\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/PHP/LowerCaseConstantUnitTest.js","messages":[{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":1,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":14},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":1,"column":26,"nodeType":"BlockStatement","messageId":"unexpected","endLine":1,"endColumn":29},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":2,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":2,"endColumn":14},{"ruleId":"no-undef","severity":2,"message":"'TRUE' is not defined.","line":2,"column":19,"nodeType":"Identifier","messageId":"undef","endLine":2,"endColumn":23},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":2,"column":26,"nodeType":"BlockStatement","messageId":"unexpected","endLine":2,"endColumn":29},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":3,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":3,"endColumn":14},{"ruleId":"no-undef","severity":2,"message":"'True' is not defined.","line":3,"column":19,"nodeType":"Identifier","messageId":"undef","endLine":3,"endColumn":23},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":3,"column":26,"nodeType":"BlockStatement","messageId":"unexpected","endLine":3,"endColumn":29},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":4,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":4,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":4,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":4,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'True' is not defined.","line":4,"column":12,"nodeType":"Identifier","messageId":"undef","endLine":4,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":6,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":6,"endColumn":14},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":6,"column":27,"nodeType":"BlockStatement","messageId":"unexpected","endLine":6,"endColumn":30},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":7,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":7,"endColumn":14},{"ruleId":"no-undef","severity":2,"message":"'FALSE' is not defined.","line":7,"column":19,"nodeType":"Identifier","messageId":"undef","endLine":7,"endColumn":24},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":7,"column":27,"nodeType":"BlockStatement","messageId":"unexpected","endLine":7,"endColumn":30},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":8,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":8,"endColumn":14},{"ruleId":"no-undef","severity":2,"message":"'False' is not defined.","line":8,"column":19,"nodeType":"Identifier","messageId":"undef","endLine":8,"endColumn":24},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":8,"column":27,"nodeType":"BlockStatement","messageId":"unexpected","endLine":8,"endColumn":30},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":9,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":9,"endColumn":17},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":9,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":9,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":11,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":11,"endColumn":14},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":11,"column":26,"nodeType":"BlockStatement","messageId":"unexpected","endLine":11,"endColumn":29},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":12,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":12,"endColumn":14},{"ruleId":"no-undef","severity":2,"message":"'NULL' is not defined.","line":12,"column":19,"nodeType":"Identifier","messageId":"undef","endLine":12,"endColumn":23},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":12,"column":26,"nodeType":"BlockStatement","messageId":"unexpected","endLine":12,"endColumn":29},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":13,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":13,"endColumn":14},{"ruleId":"no-undef","severity":2,"message":"'Null' is not defined.","line":13,"column":19,"nodeType":"Identifier","messageId":"undef","endLine":13,"endColumn":23},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":13,"column":26,"nodeType":"BlockStatement","messageId":"unexpected","endLine":13,"endColumn":29},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":14,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":14,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":14,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":14,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'NULL' is not defined.","line":14,"column":12,"nodeType":"Identifier","messageId":"undef","endLine":14,"endColumn":16}],"errorCount":32,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"if ( variable === true ) { }\nif ( variable === TRUE ) { }\nif ( variable === True ) { }\nvariable = True;\n\nif ( variable === false ) { }\nif ( variable === FALSE ) { }\nif ( variable === False ) { }\nvariable = false;\n\nif ( variable === null ) { }\nif ( variable === NULL ) { }\nif ( variable === Null ) { }\nvariable = NULL;\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/Strings/UnnecessaryStringConcatUnitTest.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":1,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":1,"endColumn":25},{"ruleId":"no-useless-concat","severity":2,"message":"Unexpected string concatenation of literals.","line":1,"column":15,"nodeType":"BinaryExpression"},{"ruleId":"no-redeclare","severity":2,"message":"'x' is already defined.","line":2,"column":2,"nodeType":"Identifier","messageId":"redeclared","endLine":2,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":2,"column":2,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":2,"endColumn":18},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":3,"column":2,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":3,"endColumn":25},{"ruleId":"no-redeclare","severity":2,"message":"'x' is already defined.","line":3,"column":2,"nodeType":"Identifier","messageId":"redeclared","endLine":3,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'y' is not defined.","line":3,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":3,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'y' is not defined.","line":7,"column":23,"nodeType":"Identifier","messageId":"undef","endLine":7,"endColumn":24},{"ruleId":"no-useless-concat","severity":2,"message":"Unexpected string concatenation of literals.","line":8,"column":21,"nodeType":"BinaryExpression"},{"ruleId":"no-undef","severity":2,"message":"'y' is not defined.","line":9,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":9,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'y' is not defined.","line":10,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":10,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'z' is not defined.","line":10,"column":18,"nodeType":"Identifier","messageId":"undef","endLine":10,"endColumn":19},{"ruleId":"no-undef","severity":2,"message":"'y' is not defined.","line":11,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":11,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'z' is not defined.","line":11,"column":18,"nodeType":"Identifier","messageId":"undef","endLine":11,"endColumn":19},{"ruleId":"no-useless-concat","severity":2,"message":"Unexpected string concatenation of literals.","line":11,"column":27,"nodeType":"BinaryExpression"},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":13,"column":1,"nodeType":"VariableDeclaration","endLine":15,"endColumn":43},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":13,"column":1,"nodeType":"VariableDeclaration","messageId":"top","endLine":15,"endColumn":43},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":13,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":15,"endColumn":42},{"ruleId":"no-unused-vars","severity":2,"message":"'long' is assigned a value but never used.","line":13,"column":5,"nodeType":"Identifier","endLine":13,"endColumn":9}],"errorCount":19,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"var x = 'My ' + 'string',\n\tx = 'My ' + 1234,\n\tx = 'My ' + y + ' test';\n\nthis.errors.test = x;\nthis.errors[ 'test' + 10 ] = x;\nthis.errors[ 'test' + y ] = x;\nthis.errors[ 'test' + 'blah' ] = x;\nthis.errors[ y ] = x;\nthis.errors[ y + z ] = x;\nthis.errors[ y + z + 'My' + 'String' ] = x;\n\nvar long = 'This is a really long string. ' +\n         'It is being used for errors. ' +\n         'The message is not translated.';\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/VersionControl/GitMergeConflictUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unexpected token <<","line":5,"column":1}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"\nresult = x?y:z;\nresult = x ? y : z;\n\n<<<<<<< HEAD\nif (something === true\n=======\nif (something === false\n>>>>>>> develop\n    ^ somethingElse === true\n) {\n<<<<<<< HEAD\n    return true;\n=======\n    return false;\n>>>>>>> develop\n}\n\ny = 1\n  + 2\n  - 3;\n\n/*\n<<<<<<< HEAD\n * @var string $bar\n */\nif (something === true\n\n/**\n=======\n * @var string $foo\n>>>>>>> master\n */\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowSpaceIndentUnitTest.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":1,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":9,"endColumn":2},{"ruleId":"no-unused-vars","severity":2,"message":"'x' is assigned a value but never used.","line":1,"column":5,"nodeType":"Identifier","endLine":1,"endColumn":6},{"ruleId":"no-dupe-keys","severity":2,"message":"Duplicate key 'abc'.","line":4,"column":2,"nodeType":"ObjectExpression","messageId":"unexpected","endLine":4,"endColumn":5},{"ruleId":"no-mixed-spaces-and-tabs","severity":2,"message":"Mixed spaces and tabs.","line":6,"column":2,"nodeType":"Program"},{"ruleId":"no-dupe-keys","severity":2,"message":"Duplicate key 'abc'.","line":8,"column":2,"nodeType":"ObjectExpression","messageId":"unexpected","endLine":8,"endColumn":5}],"errorCount":5,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"var x = {\n\tabc: 1,\n\tzyz: 2,\n\tabc: 5,\n\tmno: {\n\t  abc: 4\n\t},\n\tabc: 5\n};\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/DisallowTabIndentUnitTest.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":1,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":9,"endColumn":2},{"ruleId":"no-unused-vars","severity":2,"message":"'x' is assigned a value but never used.","line":1,"column":5,"nodeType":"Identifier","endLine":1,"endColumn":6},{"ruleId":"no-dupe-keys","severity":2,"message":"Duplicate key 'abc'.","line":4,"column":2,"nodeType":"ObjectExpression","messageId":"unexpected","endLine":4,"endColumn":5},{"ruleId":"no-tabs","severity":2,"message":"Unexpected tab character.","line":5,"column":6,"nodeType":"Program","endLine":5,"endColumn":7},{"ruleId":"no-mixed-spaces-and-tabs","severity":2,"message":"Mixed spaces and tabs.","line":6,"column":2,"nodeType":"Program"},{"ruleId":"no-dupe-keys","severity":2,"message":"Duplicate key 'abc'.","line":8,"column":2,"nodeType":"ObjectExpression","messageId":"unexpected","endLine":8,"endColumn":5}],"errorCount":6,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"var x = {\n\tabc: 1,\n\tzyz: 2,\n\tabc: 5,\n\tmno:\t{\n  \tabc: 4\n\t},\n\tabc: 5\n};\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/IncrementDecrementSpacingUnitTest.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":1,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":1,"endColumn":6},{"ruleId":"no-unused-vars","severity":2,"message":"'i' is assigned a value but never used.","line":1,"column":5,"nodeType":"Identifier","endLine":1,"endColumn":6}],"errorCount":2,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"var i;\n\ni = 10;\n--i;\n--i;\n--i;\n++i;\n++i;\n++i;\n\ni--;\ni--;\ni--;\ni++;\ni++;\ni++;\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Generic/Tests/WhiteSpace/ScopeIndentUnitTest.1.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unexpected token Generic","line":1,"column":11}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"phpcs:set Generic.WhiteSpace.ScopeIndent tabIndent false\nvar script = document.createElement('script');\nscript.onload = function()\n{\n        clearTimeout(t);\n  script456.onload = null;\n    script.onreadystatechange = null;\n    callback.call(this);\n\n};\n\nthis.callbacks[type] = {\n    namespaces: {},\nothers: []\n};\n\nblah = function()\n{\n    print something;\n\n    }\n\ntest(blah, function() {\n    print something;\n});\n\nvar test = [{x: 10}];\nvar test = [{\n    x: 10,\n        y: {\n        b14h: 12,\n            'b14h': 12\n        },\n        z: 23\n}];\n\nViper.prototype = {\n\n     _removeEvents: function(elem)\n     {\n        if (!elem) {\n        elem = this.element;\n        }\n\n        ViperUtil.removeEvent(elem, '.' + this.getEventNamespace());\n\n    }\n\n};\n\nthis.init = function(data) {\n    if (_pageListWdgt) {\n        GUI.getWidget('changedPagesList').addItemClickedCallback(\n            function(itemid, target) {\n                draftChangeTypeClicked(\n                    itemid,\n                    target,\n                    {\n                    reviewData: _reviewData,\n                    pageid: itemid\n                    }\n                );\n            }\n        );\n    }//end if\n\n};\n\na(\n    function() {\n        var _a = function() {\n            b = false;\n\n        };\n    true\n    }\n);\n\n(function() {\n    a = function() {\n        a(function() {\n            if (true) {\n                a = true;\n            }\n        });\n\n        a(\n            function() {\n                if (true) {\n                    if (true) {\n                        a = true;\n                    }\n                }\n            }\n        );\n\n        a(\n            function() {\n                if (true) {\n                    a = true;\n                }\n            }\n        );\n\n    };\n\n})();\n\na.prototype = {\n\n    a: function()\n    {\n        var currentSize = null;\n        ViperUtil.addEvent(\n            header,\n            'safedblclick',\n            function() {},\n        );\n\n    if (topContent) {\n        ViperUtil.addClass(topContent, 'Viper-popup-top');\n        main.appendChild(topContent);\n    }\n\n        ViperUtil.addClass(midContent, 'Viper-popup-content');\n        main.appendChild(midContent);\n    }\n\n};\n\na.prototype = {\n\n    a: function()\n    {\n        ViperUtil.addClass(midContent, 'Viper-popup-content');\n        main.appendChild(midContent);\n\n        var mouseUpAction  = function() {};\n        var preventMouseUp = false;\n        var self           = this;\n    if (clickAction) {\n    }\n    }\n\n};\n\na.prototype = {\n\n    a: function()\n    {\n        var a = function() {\n            var a = 'foo';\n        };\n\n    if (true) {\n    }\n\n    },\n\n    b: function()\n    {\n        ViperUtil.addEvent(\n            function() {\n                if (fullScreen !== true) {\n                    currentSize = {\n                    };\n\n                showfullScreen();\n                }\n            }\n        );\n\n    },\n\n    c: function()\n    {\n        this.a(\n            {\n                a: function() {\n                    form.onsubmit = function() {\n                        return false;\n                    };\n\n                var a = true;\n                }\n            }\n        );\n\n    }\n\n};\n\na.prototype = {\n    init: function()\n    {},\n\n    _b: function()\n    {\n    }\n\n};\n\nfor (var i = 0; i < 10; i++) {\n    var foo = {foo:{'a':'b',\n        'c':'d'}};\n}\n\nclass TestOk\n{\n    destroy()\n    {\n        setTimeout(a, 1000);\n\n        if (typeof self.callbackOnClose === \"function\") {\n            self.callbackOnClose();\n        }\n    }\n}\n\nclass TestBad\n{\n    destroy()\n    {\n        setTimeout(function () {\n            return;\n        }, 1000);\n\n        if (typeof self.callbackOnClose === \"function\") {\n            self.callbackOnClose();\n        }\n    }\n}\n\n( function( $ ) {\n    foo(function( value ) {\n            value.bind( function( newval ) {\n                    $( '#bar' ).html( newval );\n            } );\n    } )( jQuery );\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Debug/FirebugConsoleUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unexpected token ;","line":6,"column":22}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"console.info();\nconsole.warn();\nconsole.test();\ncon.sole();\nvar console = {\n    console: 'string';\n};\nfunction console() {}"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Objects/AssignThisUnitTest.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected redeclaration of read-only global variable.","line":1,"column":5,"nodeType":"VariableDeclarator","messageId":"redeclarationOfReadonlyGlobal","endLine":1,"endColumn":16},{"ruleId":"no-redeclare","severity":2,"message":"'self' is already defined as a built-in global variable.","line":1,"column":5,"nodeType":"Identifier","messageId":"redeclaredAsBuiltin","endLine":1,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'buttonWidget' is not defined.","line":2,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":2,"endColumn":13},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":6,"column":1,"nodeType":"VariableDeclaration","endLine":9,"endColumn":12},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":6,"column":1,"nodeType":"VariableDeclaration","messageId":"top","endLine":9,"endColumn":12},{"ruleId":"no-unused-vars","severity":2,"message":"'x' is assigned a value but never used.","line":6,"column":5,"nodeType":"Identifier","endLine":6,"endColumn":6},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":6,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":6,"endColumn":13},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":7,"column":2,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":7,"endColumn":10},{"ruleId":"no-unused-vars","severity":2,"message":"'test' is assigned a value but never used.","line":9,"column":2,"nodeType":"Identifier","endLine":9,"endColumn":6},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":9,"column":2,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":9,"endColumn":11},{"ruleId":"no-constant-condition","severity":2,"message":"Unexpected constant condition.","line":10,"column":6,"nodeType":"Literal","messageId":"unexpected","endLine":10,"endColumn":10},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":14,"column":1,"nodeType":"VariableDeclaration","messageId":"top","endLine":14,"endColumn":55},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":14,"column":1,"nodeType":"VariableDeclaration","endLine":14,"endColumn":55},{"ruleId":"no-unused-vars","severity":2,"message":"'itemid' is assigned a value but never used.","line":14,"column":5,"nodeType":"Identifier","endLine":14,"endColumn":11},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":14,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":14,"endColumn":54},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":14,"column":26,"nodeType":"Identifier","messageId":"undef","endLine":14,"endColumn":27},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":16,"column":7,"nodeType":"VariableDeclaration","messageId":"top","endLine":16,"endColumn":19},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":16,"column":7,"nodeType":"VariableDeclaration","endLine":16,"endColumn":19},{"ruleId":"no-redeclare","severity":2,"message":"'x' is already defined.","line":16,"column":11,"nodeType":"Identifier","messageId":"redeclared","endLine":16,"endColumn":12},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":16,"column":11,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":16,"endColumn":19},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":17,"column":2,"nodeType":"VariableDeclaration","messageId":"top","endLine":17,"endColumn":19},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":17,"column":2,"nodeType":"VariableDeclaration","endLine":17,"endColumn":19},{"ruleId":"no-redeclare","severity":2,"message":"'x' is already defined.","line":17,"column":6,"nodeType":"Identifier","messageId":"redeclared","endLine":17,"endColumn":7},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":17,"column":6,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":17,"endColumn":18},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":20,"column":1,"nodeType":"VariableDeclaration","endLine":20,"endColumn":18},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":20,"column":1,"nodeType":"VariableDeclaration","messageId":"top","endLine":20,"endColumn":18},{"ruleId":"no-underscore-dangle","severity":2,"message":"Unexpected dangling '_' in '_self'.","line":20,"column":5,"nodeType":"VariableDeclarator","endLine":20,"endColumn":17},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":20,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":20,"endColumn":17},{"ruleId":"no-unused-vars","severity":2,"message":"'_self' is assigned a value but never used.","line":20,"column":5,"nodeType":"Identifier","endLine":20,"endColumn":10}],"errorCount":29,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"var self = this;\nbuttonWidget.addClickEvent( function () {\n\tself.addDynamicSouce();\n} );\n\nvar x = self,\n\ty = this,\n\n\ttest = '';\nif ( true ) {\n\ttest = this;\n}\n\nvar itemid = this.items[ i ].getAttribute( 'itemid' );\n\nfor ( var x = this; y < 10; y++ ) {\n\tvar x = this + 1;\n}\n\nvar _self = this;\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Objects/CreateWidgetTypeCallbackUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unexpected token getSomething","line":48,"column":5}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"SampleWidgetType.prototype = {\n\n    create: function(callback)\n    {\n        if (x === 1) {\n            return;\n        }\n\n        if (y === 1) {\n            callback.call(this);\n            // A comment here to explain the return is okay.\n            return;\n        }\n\n        if (a === 1) {\n            // Cant return value even after calling callback.\n            callback.call(this);\n            return something;\n        }\n\n        if (a === 1) {\n            // Need to pass self or this to callback function.\n            callback.call(a);\n        }\n\n        callback.call(self);\n\n        var self = this;\n        this.createChildren(null, function() {\n            callback.call(self, div);\n        });\n\n        // Never good to return a value.\n        return something;\n\n        callback.call(self);\n    }\n\n};\n\nAnotherSampleWidgetType.prototype = {\n\n    create: function(input)\n    {\n        return;\n    }\n\n    getSomething: function(input)\n    {\n        return 1;\n    }\n\n};\n\n\nNoCreateWidgetType.prototype = {\n\n    getSomething: function(input)\n    {\n        return;\n    }\n\n};\n\n\nSomeRandom.prototype = {\n\n    create: function(input)\n    {\n        return;\n    }\n\n};\n\nSampleWidgetType.prototype = {\n\n    create: function(callback)\n    {\n        if (a === 1) {\n            // This is ok because it is the last statement,\n            // even though it is conditional.\n            callback.call(self);\n        }\n\n    }\n\n};\n\nSampleWidgetType.prototype = {\n\n    create: function(callback)\n    {\n        var something = callback;\n\n    }\n\n};\n\nSampleWidgetType.prototype = {\n\n    create: function(callback)\n    {\n        // Also valid because we are passing the callback to\n        // someone else to call.\n        if (y === 1) {\n            this.something(callback);\n            return;\n        }\n\n        this.init(callback);\n\n    }\n\n};\n\nSampleWidgetType.prototype = {\n\n    create: function(callback)\n    {\n        // Also valid because we are passing the callback to\n        // someone else to call.\n        if (y === 1) {\n            this.something(callback);\n        }\n\n        this.init(callback);\n\n    }\n\n};\n\nSampleWidgetType.prototype = {\n\n    create: function(callback)\n    {\n        if (a === 1) {\n            // This is ok because it is the last statement,\n            // even though it is conditional.\n            this.something(callback);\n        }\n\n    }\n\n};\n\n\nSampleWidgetType.prototype = {\n\n    create: function(callback)\n    {\n        if (dfx.isFn(callback) === true) {\n            callback.call(this, cont);\n            return;\n        }\n    }\n\n};\n\n\nSampleWidgetType.prototype = {\n\n    create: function(callback)\n    {\n        dfx.foreach(items, function(item) {\n            return true;\n        });\n\n        if (dfx.isFn(callback) === true) {\n            callback.call(this);\n        }\n    }\n\n};\n\nSampleWidgetType.prototype = {\n\n    create: function(callback)\n    {\n        var self = this;\n        this.createChildren(null, function() {\n            callback.call(self, div);\n            return;\n        });\n    }\n\n};"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/MySource/Tests/Strings/JoinStringsUnitTest.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":1,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":1,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":1,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":4},{"ruleId":"no-undef","severity":2,"message":"'two' is not defined.","line":2,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":2,"endColumn":4},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":2,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":2,"endColumn":18},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":2,"column":9,"nodeType":"Identifier","messageId":"undef","endLine":2,"endColumn":12},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":3,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":3,"endColumn":20},{"ruleId":"no-undef","severity":2,"message":"'two' is not defined.","line":3,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":3,"endColumn":4},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":3,"column":9,"nodeType":"Identifier","messageId":"undef","endLine":3,"endColumn":12},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":3,"column":15,"nodeType":"Identifier","messageId":"undef","endLine":3,"endColumn":18},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":4,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":4,"endColumn":20},{"ruleId":"no-undef","severity":2,"message":"'three' is not defined.","line":4,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":4,"endColumn":6},{"ruleId":"no-undef","severity":2,"message":"'four' is not defined.","line":6,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":6,"endColumn":5},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":6,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":6,"endColumn":27},{"ruleId":"no-undef","severity":2,"message":"'two' is not defined.","line":6,"column":15,"nodeType":"Identifier","messageId":"undef","endLine":6,"endColumn":18},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":7,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":7,"endColumn":31},{"ruleId":"no-undef","severity":2,"message":"'four' is not defined.","line":7,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":7,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'two' is not defined.","line":7,"column":15,"nodeType":"Identifier","messageId":"undef","endLine":7,"endColumn":18},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":8,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":8,"endColumn":53},{"ruleId":"no-undef","severity":2,"message":"'four' is not defined.","line":8,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":8,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":8,"column":17,"nodeType":"Identifier","messageId":"undef","endLine":8,"endColumn":20},{"ruleId":"no-undef","severity":2,"message":"'two' is not defined.","line":8,"column":22,"nodeType":"Identifier","messageId":"undef","endLine":8,"endColumn":25},{"ruleId":"no-undef","severity":2,"message":"'four' is not defined.","line":9,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":9,"endColumn":5},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":9,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":9,"endColumn":48},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":9,"column":17,"nodeType":"Identifier","messageId":"undef","endLine":9,"endColumn":20},{"ruleId":"no-undef","severity":2,"message":"'two' is not defined.","line":9,"column":22,"nodeType":"Identifier","messageId":"undef","endLine":9,"endColumn":25},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":10,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":10,"endColumn":43},{"ruleId":"no-undef","severity":2,"message":"'four' is not defined.","line":10,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":10,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":10,"column":17,"nodeType":"Identifier","messageId":"undef","endLine":10,"endColumn":20},{"ruleId":"no-undef","severity":2,"message":"'two' is not defined.","line":10,"column":22,"nodeType":"Identifier","messageId":"undef","endLine":10,"endColumn":25},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":12,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":12,"endColumn":65},{"ruleId":"no-undef","severity":2,"message":"'five' is not defined.","line":12,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":12,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":12,"column":28,"nodeType":"Identifier","messageId":"undef","endLine":12,"endColumn":31},{"ruleId":"no-undef","severity":2,"message":"'two' is not defined.","line":12,"column":33,"nodeType":"Identifier","messageId":"undef","endLine":12,"endColumn":36},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":14,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":14,"endColumn":26},{"ruleId":"no-undef","severity":2,"message":"'six' is not defined.","line":14,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":14,"endColumn":4},{"ruleId":"no-undef","severity":2,"message":"'myArray' is not defined.","line":14,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":14,"endColumn":14},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":15,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":15,"endColumn":36},{"ruleId":"no-undef","severity":2,"message":"'six' is not defined.","line":15,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":15,"endColumn":4},{"ruleId":"no-undef","severity":2,"message":"'arrayOne' is not defined.","line":15,"column":9,"nodeType":"Identifier","messageId":"undef","endLine":15,"endColumn":17},{"ruleId":"no-undef","severity":2,"message":"'arrayTwo' is not defined.","line":15,"column":19,"nodeType":"Identifier","messageId":"undef","endLine":15,"endColumn":27},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":18,"column":1,"nodeType":"VariableDeclaration","messageId":"top","endLine":18,"endColumn":43},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":18,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":18,"endColumn":42},{"ruleId":"no-undef","severity":2,"message":"'test' is not defined.","line":18,"column":15,"nodeType":"Identifier","messageId":"undef","endLine":18,"endColumn":19}],"errorCount":43,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"one = ( 1 + 2 );\ntwo = ( one + 2 );\ntwo = ( one + one );\nthree = ( '1' + 2 );\n\nfour = [ '1', two ].join();\nfour = [ '1', two ].join( '' );\nfour = [ '1', [ one, two ].join( ',' ) ].join( ' ' );\nfour = [ '1', [ one, two ].join() ].join( ' ' );\nfour = [ '1', [ one, two ].join() ].join();\n\nfive = 'string' + [ '1', [ one, two ].join() ].join() + 'string';\n\nsix = myArray.join( ' ' );\nsix = [ arrayOne, arrayTwo ].join();\n\n// This is fine because the array is not created inline.\nvar x = 'x' + test[ x ].join( 'p' ) + 't';\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/ControlStructures/MultiLineConditionUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: 'return' outside of function","line":149,"column":5}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"if (blah(param)) {\n\n}\n\nif ((condition1\n    || condition2)\n    && condition3\n    && condition4\n    && condition5\n) {\n}\n\nif ((condition1 || condition2) && condition3 && condition4 && condition5) {\n}\n\nif ((condition1 || condition2)\n    && condition3\n) {\n}\n\nif (\n    (condition1 || condition2)\n    && condition3\n) {\n}\n\nif ((condition1\n    || condition2)\n) {\n}\n\nif ((condition1\n    || condition2)\n    && condition3 &&\n    condition4\n) {\n}\n\nif ((condition1\n   || condition2)\n      && condition3\n   && condition4\n   && condition5\n) {\n}\n\nif (($condition1\n    || $condition2)\n)  {\n}\n\nif ((condition1\n    || condition2)\n ) {\n}\n\nif (\n    (\n    condition1\n    || condition2\n    )\n    && condition3\n) {\n}\n\n\nif (   condition1\n    || condition2\n    || condition3\n) {\n}\n\nif (condition1\n    || condition2\n    || condition3\n) {\n} else if (condition1\n    || condition2\n    || condition3\n) {\n}\n\nif (condition1\n    || condition2\n    || condition3\n) {\n} else if (\n    condition1\n   || condition2 &&\n    condition3\n) {\n}\n\nif (condition1\n    || condition2\n|| condition3) {\n}\n\nif (condition1\n    || condition2 || condition3\n){\n}\n\nif (condition1)\n    console.info('bar');\n\nif (condition1\n    || condition2\n|| condition3)\n    console.info('bar');\n\n\nif (condition1\n    || condition2 || condition3\n)\n    console.info('bar');\n\nif (!a(post)\n    && (!a(context.header)\n    ^ a(context.header, 'Content-Type'))\n) { \n// ...\n}\n\nif (foo)\n{\n    console.info('bar');\n}\n\n// Should be no errors even though lines are\n// not exactly aligned together. Multi-line function\n// call takes precedence.\nif (array_key_exists(key, value)\n    && foo.bar.baz(\n        key, value2\n    )\n) {\n}\n\nif (true) {\n    foo = true;\n};\n\nif (foo == 401 || // comment\n    bar == 3200)  /* long comment\n                     here\n                   */\n{\n    return false;\n}\n\nif (foo == 401 || // comment\n    bar == 3200)  // long comment here\n{\n    return false;\n}\n\nif (IPP.errorCode() == 401\n    // Comment explaining the next condition here.\n    || IPP.errorCode() == 3200\n) {\n    return false;\n}\n\nfunction bar() {\n    if (a\n        && b\n) {\n        return false;\n    }\n}\n\nif (a\n    && foo(\n        'a',\n        'b'\n    )) {\n    return false;\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\nif (foo == 401 || // phpcs:ignore Standard.Category.Sniff -- for reasons.\n    bar == 3200)  /*\n                     phpcs:ignore Standard.Category.Sniff -- for reasons.\n                   */\n{\n    return false;\n}\n\nif (foo == 401 || // phpcs:disable Standard.Category.Sniff -- for reasons.\n    bar == 3200)  // phpcs:enable\n{\n    return false;\n}\n\nif (IPP.errorCode() == 401\n    // phpcs:ignore Standard.Category.Sniff -- for reasons.\n    || IPP.errorCode() == 3200\n) {\n    return false;\n}\n\n    if (foo == 401 ||\n    /*\n\t * phpcs:disable Standard.Category.Sniff -- for reasons.\n\t */\n    bar == 3200\n    ) {\n        return false;\n    }\n\nif (IPP.errorCode() == 401\n    || IPP.errorCode() == 3200\n    // phpcs:ignore Standard.Category.Sniff -- for reasons.\n) {\n    return false;\n}\n\nif (foo == 401\n    || bar\n        == 'someverylongexpectedoutput'\n) {\n    return false;\n}\n\nif (IPP.errorCode() == 401\n    || bar\n        // A comment.\n        == 'someverylongexpectedoutput'\n) {\n    return false;\n}\n\nif (foo == 401\n    || IPP.errorCode()\n        // phpcs:ignore Standard.Category.Sniff -- for reasons.\n        == 'someverylongexpectedoutput'\n) {\n    return false;\n}\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionCallSignatureUnitTest.js","messages":[{"ruleId":"no-undef","severity":2,"message":"'test' is not defined.","line":1,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'test' is not defined.","line":3,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":3,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'test' is not defined.","line":4,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":4,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'arg' is not defined.","line":4,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":4,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'arg2' is not defined.","line":4,"column":12,"nodeType":"Identifier","messageId":"undef","endLine":4,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'test' is not defined.","line":5,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":5,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'test' is not defined.","line":6,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":6,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'test' is not defined.","line":7,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":7,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'test' is not defined.","line":8,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":8,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'arg' is not defined.","line":8,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":8,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'test' is not defined.","line":9,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":9,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'arg' is not defined.","line":9,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":9,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'test' is not defined.","line":10,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":10,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'arg' is not defined.","line":10,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":10,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'foo' is not defined.","line":12,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":12,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'arg' is not defined.","line":12,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":12,"endColumn":14},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":12,"column":28,"nodeType":"BlockStatement","messageId":"unexpected","endLine":14,"endColumn":2},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":16,"column":1,"nodeType":"VariableDeclaration","messageId":"top","endLine":18,"endColumn":32},{"ruleId":"no-unused-vars","severity":2,"message":"'something' is assigned a value but never used.","line":16,"column":5,"nodeType":"Identifier","endLine":16,"endColumn":14},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":16,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":16,"endColumn":34},{"ruleId":"no-undef","severity":2,"message":"'get' is not defined.","line":16,"column":17,"nodeType":"Identifier","messageId":"undef","endLine":16,"endColumn":20},{"ruleId":"no-undef","severity":2,"message":"'arg1' is not defined.","line":16,"column":22,"nodeType":"Identifier","messageId":"undef","endLine":16,"endColumn":26},{"ruleId":"no-undef","severity":2,"message":"'arg2' is not defined.","line":16,"column":28,"nodeType":"Identifier","messageId":"undef","endLine":16,"endColumn":32},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":17,"column":2,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":17,"endColumn":31},{"ruleId":"no-redeclare","severity":2,"message":"'something' is already defined.","line":17,"column":2,"nodeType":"Identifier","messageId":"redeclared","endLine":17,"endColumn":11},{"ruleId":"no-undef","severity":2,"message":"'get' is not defined.","line":17,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":17,"endColumn":17},{"ruleId":"no-undef","severity":2,"message":"'arg1' is not defined.","line":17,"column":19,"nodeType":"Identifier","messageId":"undef","endLine":17,"endColumn":23},{"ruleId":"no-undef","severity":2,"message":"'arg2' is not defined.","line":17,"column":25,"nodeType":"Identifier","messageId":"undef","endLine":17,"endColumn":29},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":18,"column":2,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":18,"endColumn":31},{"ruleId":"no-redeclare","severity":2,"message":"'something' is already defined.","line":18,"column":2,"nodeType":"Identifier","messageId":"redeclared","endLine":18,"endColumn":11},{"ruleId":"no-undef","severity":2,"message":"'get' is not defined.","line":18,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":18,"endColumn":17},{"ruleId":"no-undef","severity":2,"message":"'arg1' is not defined.","line":18,"column":19,"nodeType":"Identifier","messageId":"undef","endLine":18,"endColumn":23},{"ruleId":"no-undef","severity":2,"message":"'arg2' is not defined.","line":18,"column":25,"nodeType":"Identifier","messageId":"undef","endLine":18,"endColumn":29},{"ruleId":"no-undef","severity":2,"message":"'make_foo' is not defined.","line":20,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":20,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'string' is not defined.","line":20,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":20,"endColumn":17},{"ruleId":"no-undef","severity":2,"message":"'make_foo' is not defined.","line":21,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":21,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'string' is not defined.","line":21,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":21,"endColumn":17},{"ruleId":"no-undef","severity":2,"message":"'make_foo' is not defined.","line":22,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":22,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'string' is not defined.","line":22,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":22,"endColumn":17},{"ruleId":"no-undef","severity":2,"message":"'make_foo' is not defined.","line":23,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":23,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'string' is not defined.","line":23,"column":26,"nodeType":"Identifier","messageId":"undef","endLine":23,"endColumn":32},{"ruleId":"no-undef","severity":2,"message":"'make_foo' is not defined.","line":24,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":24,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'string' is not defined.","line":24,"column":26,"nodeType":"Identifier","messageId":"undef","endLine":24,"endColumn":32},{"ruleId":"no-undef","severity":2,"message":"'test' is not defined.","line":28,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":28,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'arg' is not defined.","line":28,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":28,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'arg2' is not defined.","line":28,"column":12,"nodeType":"Identifier","messageId":"undef","endLine":28,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'test' is not defined.","line":29,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":29,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'arg' is not defined.","line":29,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":29,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'arg2' is not defined.","line":29,"column":12,"nodeType":"Identifier","messageId":"undef","endLine":29,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'test' is not defined.","line":30,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":30,"endColumn":5},{"ruleId":"no-undef","severity":2,"message":"'arg' is not defined.","line":30,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":30,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'arg2' is not defined.","line":30,"column":12,"nodeType":"Identifier","messageId":"undef","endLine":30,"endColumn":16},{"ruleId":"no-unused-vars","severity":2,"message":"'data' is defined but never used.","line":34,"column":24,"nodeType":"Identifier","endLine":34,"endColumn":28},{"ruleId":"no-undef","severity":2,"message":"'a' is not defined.","line":35,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":35,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'b' is not defined.","line":36,"column":3,"nodeType":"Identifier","messageId":"undef","endLine":36,"endColumn":4},{"ruleId":"no-undef","severity":2,"message":"'_reviewData' is not defined.","line":40,"column":17,"nodeType":"Identifier","messageId":"undef","endLine":40,"endColumn":28},{"ruleId":"no-unused-vars","severity":2,"message":"'_showAspectItems' is assigned a value but never used.","line":45,"column":9,"nodeType":"Identifier","endLine":45,"endColumn":25},{"ruleId":"no-underscore-dangle","severity":2,"message":"Unexpected dangling '_' in '_showAspectItems'.","line":45,"column":9,"nodeType":"VariableDeclarator","endLine":48,"endColumn":6},{"ruleId":"no-undef","severity":2,"message":"'a' is not defined.","line":46,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":46,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'a' is not defined.","line":46,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":46,"endColumn":12},{"ruleId":"no-undef","severity":2,"message":"'a' is not defined.","line":47,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":47,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'a' is not defined.","line":47,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":47,"endColumn":12},{"ruleId":"no-undef","severity":2,"message":"'a' is not defined.","line":49,"column":5,"nodeType":"Identifier","messageId":"undef","endLine":49,"endColumn":6},{"ruleId":"no-unused-vars","severity":2,"message":"'target' is defined but never used.","line":49,"column":31,"nodeType":"Identifier","endLine":49,"endColumn":37},{"ruleId":"no-undef","severity":2,"message":"'_foo' is not defined.","line":50,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":50,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'a' is not defined.","line":57,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":57,"endColumn":2},{"ruleId":"valid-jsdoc","severity":2,"message":"Unexpected @return tag; function has no return statement.","line":63,"column":16,"nodeType":"Block","messageId":"unexpectedTag","endLine":63,"endColumn":28},{"ruleId":"valid-jsdoc","severity":2,"message":"Unexpected @return tag; function has no return statement.","line":69,"column":4,"nodeType":"Block","messageId":"unexpectedTag","endLine":69,"endColumn":16},{"ruleId":"no-dupe-keys","severity":2,"message":"Duplicate key 'a'.","line":71,"column":5,"nodeType":"ObjectExpression","messageId":"unexpected","endLine":71,"endColumn":6}],"errorCount":69,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"test(\n);\ntest();\ntest( arg, arg2 );\ntest();\ntest();\ntest();\ntest( arg );\ntest( arg );\ntest( arg );\n\nif ( foo( arg ) === true ) {\n\n}\n\nvar something = get( arg1, arg2 ),\n\tsomething = get( arg1, arg2 ),\n\tsomething = get( arg1, arg2 );\n\nmake_foo( string/* the string*/, true/* test*/ );\nmake_foo( string/* the string*/, true/* test*/ );\nmake_foo( string /* the string*/, true /* test*/ );\nmake_foo( /* the string*/string, /* test*/true );\nmake_foo( /* the string*/string, /* test*/true );\n\n// phpcs:set PEAR.Functions.FunctionCallSignature requiredSpacesAfterOpen 1\n// phpcs:set PEAR.Functions.FunctionCallSignature requiredSpacesBeforeClose 1\ntest( arg, arg2 );\ntest( arg, arg2 );\ntest( arg, arg2 );\n// phpcs:set PEAR.Functions.FunctionCallSignature requiredSpacesAfterOpen 0\n// phpcs:set PEAR.Functions.FunctionCallSignature requiredSpacesBeforeClose 0\n\nthis.init = function ( data ) {\n\ta.b( '' ).a( function ( itemid, target ) {\n\t\tb(\n\t\t\titemid,\n\t\t\ttarget,\n\t\t\t{\n\t\t\t\treviewData: _reviewData,\n\t\t\t\tpageid: itemid\n\t\t\t},\n\t\t\t'',\n\t\t\tfunction () {\n\t\t\t\tvar _showAspectItems = function ( itemid ) {\n\t\t\t\t\ta.a( a.c( '' ), '' );\n\t\t\t\t\ta.b( a.c( '-' + itemid ), '' );\n\t\t\t\t};\n\t\t\t\ta.foo( function ( itemid, target ) {\n\t\t\t\t\t_foo( itemid );\n\t\t\t\t} );\n\t\t\t}\n\t\t);\n\t} );\n};\n\na.prototype = {\n\n\ta: function () {\n\t\tthis.addItem(\n\t\t\t{\n\t\t\t\t/**\n             * @return void\n             */\n\t\t\t\ta: function () {\n\n\t\t\t\t},\n\t\t\t\t/**\n * @return void\n             */\n\t\t\t\ta: function () {\n\n\t\t\t\t}\n\t\t\t}\n\t\t);\n\t}\n};\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/PEAR/Tests/Functions/FunctionDeclarationUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unexpected token =","line":2,"column":54}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"\nfunction someFunctionWithAVeryLongName(firstParameter='something',\n   secondParameter='booooo', third=null, fourthParameter=false,\n     fifthParameter=123.12, sixthParam=true\n){\n}\n\nfunction someFunctionWithAVeryLongName2(firstParameter='something',\nsecondParameter='booooo', third=null, fourthParameter=false,\nfifthParameter=123.12, sixthParam=true\n)  {\n}\n\nfunction blah() {\n}\n\nfunction  blah()\n{\n}\n\nvar object =\n{\n\n    someFunctionWithAVeryLongName: function (firstParameter='something',\n        secondParameter='booooo', third=null, fourthParameter=false,\n        fifthParameter=123.12, sixthParam=true\n    ) /** w00t */ {\n    }\n\n    someFunctionWithAVeryLongName2: function (\n        firstParameter='something', secondParameter='booooo', third=null\n    ) {\n    }\n\n}\n\nfunction getInstalledStandards(\n    includeGeneric=false,\n    standardsDir=''\n)\n{\n}\n\nvar a = Function('return 1+1');\n\nclass test\n{\n    myFunction() {\n       return false;\n    }\n\n    myFunction2()\n    {\n       return false;\n    }\n}\n\n( function ( $ ) {\n    foo(function ( value ) {} )( jQuery );\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Classes/DuplicatePropertyUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unexpected token this","line":10,"column":3}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"var x = {\n  abc: 1,\n  zyz: 2,\n  abc: 5,\n  mno: {\n      abc: 4\n  },\n  abc: 5\n  \n  this.request({\n    action: 'getSubmissions'\n  });\n\n  this.request({\n    action: 'deleteSubmission'\n  });\n}\n\n\nLinkingEditScreenWidgetType.prototype = {\n\n    _addDeleteButtonEvent: function(parentid)\n    {\n        var params = {\n            screen: 'LinkingEditScreenWidget',\n            assetid: self.assetid,\n            parentid: parentid,\n            assetid: parentid,\n            op: 'deleteLink'\n        };\n\n    },\n\n    saveDesignEdit: function()\n    {\n        var params = {\n            screen: [this.id, 'Widget'].join(''),\n            assetid: this.assetid,\n            changes: dfx.jsonEncode(this.currnetLinksWdgt.getChanges()),\n            op: 'saveLinkEdit'\n        };\n\n    }\n\n};"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/DocCommentAlignmentUnitTest.js","messages":[{"ruleId":"no-undef","severity":2,"message":"'foo' is not defined.","line":5,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":5,"endColumn":4},{"ruleId":"valid-jsdoc","severity":2,"message":"Unexpected @return tag; function has no return statement.","line":10,"column":7,"nodeType":"Block","messageId":"unexpectedTag","endLine":10,"endColumn":19},{"ruleId":"no-undef","severity":2,"message":"'foo' is not defined.","line":19,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":19,"endColumn":4},{"ruleId":"valid-jsdoc","severity":2,"message":"Unexpected @return tag; function has no return statement.","line":24,"column":10,"nodeType":"Block","messageId":"unexpectedTag","endLine":24,"endColumn":22},{"ruleId":"no-undef","severity":2,"message":"'foo' is not defined.","line":33,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":33,"endColumn":4},{"ruleId":"valid-jsdoc","severity":2,"message":"Unexpected @return tag; function has no return statement.","line":38,"column":7,"nodeType":"Block","messageId":"unexpectedTag","endLine":38,"endColumn":19},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":46,"column":1,"nodeType":"FunctionDeclaration","messageId":"globalNonLexicalBinding","endLine":51,"endColumn":2},{"ruleId":"no-unused-vars","severity":2,"message":"'myFunction' is defined but never used.","line":46,"column":10,"nodeType":"Identifier","endLine":46,"endColumn":20},{"ruleId":"no-console","severity":2,"message":"Unexpected console statement.","line":47,"column":2,"nodeType":"MemberExpression","messageId":"unexpected","endLine":47,"endColumn":14},{"ruleId":"valid-jsdoc","severity":2,"message":"Missing JSDoc parameter type for 'array'.","line":61,"column":4,"nodeType":"Block","messageId":"missingParamType","endLine":61,"endColumn":60},{"ruleId":"valid-jsdoc","severity":2,"message":"Missing JSDoc parameter type for 'object'.","line":62,"column":4,"nodeType":"Block","messageId":"missingParamType","endLine":63,"endColumn":47},{"ruleId":"valid-jsdoc","severity":2,"message":"Missing JSDoc parameter type for 'string'.","line":64,"column":4,"nodeType":"Block","messageId":"missingParamType","endLine":64,"endColumn":76},{"ruleId":"valid-jsdoc","severity":2,"message":"Unexpected @return tag; function has no return statement.","line":66,"column":4,"nodeType":"Block","messageId":"unexpectedTag","endLine":66,"endColumn":16},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":68,"column":1,"nodeType":"FunctionDeclaration","messageId":"globalNonLexicalBinding","endLine":68,"endColumn":25},{"ruleId":"no-redeclare","severity":2,"message":"'myFunction' is already defined.","line":68,"column":10,"nodeType":"Identifier","messageId":"redeclared","endLine":68,"endColumn":20},{"ruleId":"no-undef","severity":2,"message":"'Datepicker' is not defined.","line":70,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":70,"endColumn":21}],"errorCount":16,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"/**\n* Some info about the class here\n *\n */\nfoo.prototype = {\n\n\t/**\n     * Some info about the function here.\n     *\n     *@return void\n     */\n\tbar: function () {}\n};\n\n/**\n  *  Some info about the class here\n  *\n  */\nfoo.prototype = {\n\n\t/**\n      *Some info about the function here.\n      *\n      *  @return void\n      */\n\tbar: function () {}\n};\n\n/**\n * Some info about the class here\n  *\n*/\nfoo.prototype = {\n\n\t/**\n     * Some info about the function here.\n      *\n    * @return void\n     */\n\tbar: function () {}\n};\n\n/** @var Database $mockedDatabase */\n/** @var Container $mockedContainer */\n\nfunction myFunction() {\n\tconsole.info( 'hi' );\n\t/**\n        Comment here.\n        */\n}\n\n/**\n * Creates a map of tokens => line numbers for each token.\n *\n * Long description with some points:\n *   - one\n *   - two\n *   - three\n *\n * @param array  &$tokens   The array of tokens to process.\n * @param object $tokenizer The tokenizer being used to\n *                          process this file.\n * @param string $eolChar   The EOL character to use for splitting strings.\n *\n * @return void\n */\nfunction myFunction() {}\n\n$.extend( Datepicker.prototype, {\n\t_widgetDatepicker: function () {\n\t}\n\t/* Action for selecting a new month/year. */\n} );\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.1.js","messages":[],"errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/FileCommentUnitTest.2.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unexpected token 'hi'","line":10,"column":7}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"/**\n * File comment.\n *\n * @package    Package\n * @subpackage Subpackage\n * @author     Squiz Pty Ltd <products@squiz.net>\n * @copyright  2010-2014 Squiz Pty Ltd (ABN 77 084 670 600)\n */\n\nprint 'hi';"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/InlineCommentUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unexpected token *","line":122,"column":1}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"// Some content here.\nvar code = 'hello';\n\n// This comment contains # multiple\n// hash signs (#).\ncode = 'hello';\n\n/**\n * This is the first line of a function comment.\n * This is the second line.\n */\nfunction testFunction()\n{\n    // Callback methods which are added by external objects.\n    this.callbacks = {};\n\n}//end testFunction()\n\n/**\n * This is the first line of a class comment.\n * This is the second line.\n */\nmyClass.prototype = {\n\n    /**\n     * This is the first line of a method comment.\n     * This is the second line.\n     */\n    load: function(url, callback)\n    {\n        // Some code here.\n\n    }\n};\n\n// some code goes here!\n\n/*\n    A longer comment goes here.\n    It spans multiple lines!!\n    Or does it?\n*/\n\n// 0This is a simple multi-line\n// comment!\ncode = 'hello';\n\n//This is not valid.\ncode = 'hello';\n\n//  Neither is this!\ncode = 'hello';\n\n//\ncode = 'hello';\n\n/** Neither is this! **/\ncode = 'hello';\n\n/**\n * This is the first line of a function comment.\n * This is the second line.\n */\nvar myFunction = function() {\n}\n\n/**\n * This is the first line of a function comment.\n * This is the second line.\n */\nmyFunction = function() {\n}\n\n/**\n * This is the first line of a function comment.\n * This is the second line.\n */\nmyClass.myFunction = function() {\n}\n\ndfx.getIframeDocument = function(iframe)\n{\n    return doc;\n\n};//end dfx.getIframeDocument()\n\nmig.Gallery.prototype = {\n\n    init: function(cb)\n    {\n\n    },//end init()\n\n    imageClicked: function(id)\n    {\n\n    }//end imageClicked()\n\n};\n\n// Here is some inline example code:\n//     -> One\n//         -> One.One\n//     -> Two\n\n/*\n    Here is some inline example code:\n        -> One\n            -> One.One\n        -> Two\n*/\n\n\nvar foo = 'foo'; // Var set to foo.\n\nconsole.info(foo);\n\n//\tComment here.\nconsole.info(foo);\n\n//**\n* invalid comment\n*/\n\n// some comment without capital or full stop\nconsole.log(foo); // An unrelated comment.\n\n// An unrelated comment.\nconsole.log(foo); // some comment without capital or full stop\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/LongConditionClosingCommentUnitTest.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":1,"column":1,"nodeType":"FunctionDeclaration","messageId":"globalNonLexicalBinding","endLine":97,"endColumn":2},{"ruleId":"no-unused-vars","severity":2,"message":"'long_function' is defined but never used.","line":1,"column":10,"nodeType":"Identifier","endLine":1,"endColumn":23},{"ruleId":"camelcase","severity":2,"message":"Identifier 'long_function' is not in camel case.","line":1,"column":10,"nodeType":"Identifier","messageId":"notCamelCase","endLine":1,"endColumn":23},{"ruleId":"no-undef","severity":2,"message":"'longFunction' is not defined.","line":2,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":2,"endColumn":19},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":9,"column":3,"nodeType":"Identifier","messageId":"undef","endLine":9,"endColumn":11},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":9,"column":3,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":9,"endColumn":21},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":11,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":11,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":16,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":16,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'longFunction' is not defined.","line":25,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":25,"endColumn":19},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":32,"column":3,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":32,"endColumn":21},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":32,"column":3,"nodeType":"Identifier","messageId":"undef","endLine":32,"endColumn":11},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":34,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":34,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":39,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":39,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'longFunction' is not defined.","line":48,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":48,"endColumn":19},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":55,"column":3,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":55,"endColumn":21},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":55,"column":3,"nodeType":"Identifier","messageId":"undef","endLine":55,"endColumn":11},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":57,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":57,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":62,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":62,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'longFunction' is not defined.","line":73,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":73,"endColumn":19},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":80,"column":3,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":80,"endColumn":21},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":80,"column":3,"nodeType":"Identifier","messageId":"undef","endLine":80,"endColumn":11},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":82,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":82,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":87,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":87,"endColumn":16},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":99,"column":7,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":99,"endColumn":19},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":99,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":99,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":99,"column":21,"nodeType":"Identifier","messageId":"undef","endLine":99,"endColumn":29},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":99,"column":36,"nodeType":"Identifier","messageId":"undef","endLine":99,"endColumn":44},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":122,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":122,"endColumn":15},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":122,"column":7,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":122,"endColumn":19},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":122,"column":21,"nodeType":"Identifier","messageId":"undef","endLine":122,"endColumn":29},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":122,"column":36,"nodeType":"Identifier","messageId":"undef","endLine":122,"endColumn":44},{"ruleId":"no-undef","severity":2,"message":"'val' is not defined.","line":132,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":132,"endColumn":11},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":132,"column":8,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":132,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'val' is not defined.","line":132,"column":17,"nodeType":"Identifier","messageId":"undef","endLine":132,"endColumn":20},{"ruleId":"no-undef","severity":2,"message":"'val' is not defined.","line":132,"column":27,"nodeType":"Identifier","messageId":"undef","endLine":132,"endColumn":30},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":145,"column":9,"nodeType":"Identifier","messageId":"undef","endLine":145,"endColumn":17},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":168,"column":9,"nodeType":"Identifier","messageId":"undef","endLine":168,"endColumn":17},{"ruleId":"no-undef","severity":2,"message":"'something' is not defined.","line":178,"column":10,"nodeType":"Identifier","messageId":"undef","endLine":178,"endColumn":19},{"ruleId":"no-undef","severity":2,"message":"'longFunction' is not defined.","line":191,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":191,"endColumn":18},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":198,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":198,"endColumn":10},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":198,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":198,"endColumn":20},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":200,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":200,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":205,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":205,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'longFunction' is not defined.","line":214,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":214,"endColumn":18},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":221,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":221,"endColumn":20},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":221,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":221,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":223,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":223,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":228,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":228,"endColumn":15},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":239,"column":7,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":239,"endColumn":19},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":239,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":239,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":239,"column":21,"nodeType":"Identifier","messageId":"undef","endLine":239,"endColumn":29},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":239,"column":36,"nodeType":"Identifier","messageId":"undef","endLine":239,"endColumn":44},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":262,"column":9,"nodeType":"Identifier","messageId":"undef","endLine":262,"endColumn":17},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":285,"column":9,"nodeType":"Identifier","messageId":"undef","endLine":285,"endColumn":17},{"ruleId":"no-constant-condition","severity":2,"message":"Unexpected constant condition.","line":308,"column":6,"nodeType":"Literal","messageId":"unexpected","endLine":308,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'condition' is not defined.","line":329,"column":13,"nodeType":"Identifier","messageId":"undef","endLine":329,"endColumn":22},{"ruleId":"no-undef","severity":2,"message":"'something' is not defined.","line":373,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":373,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'somethingElse' is not defined.","line":376,"column":13,"nodeType":"Identifier","messageId":"undef","endLine":376,"endColumn":26},{"ruleId":"no-undef","severity":2,"message":"'something' is not defined.","line":402,"column":10,"nodeType":"Identifier","messageId":"undef","endLine":402,"endColumn":19},{"ruleId":"no-undef","severity":2,"message":"'condition' is not defined.","line":441,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":441,"endColumn":15},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":442,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":442,"endColumn":18},{"ruleId":"no-undef","severity":2,"message":"'condition' is not defined.","line":442,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":442,"endColumn":11}],"errorCount":62,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"function long_function() {\n\tif ( longFunction ) {\n\t\t// This is a long\n\t\t// IF statement\n\t\t// that does\n\t\t// not have\n\t\t// an ELSE\n\t\t// block on it\n\t\tvariable = 'hello';\n\n\t\tif ( variable === 'hello' ) {\n\t\t\t// This is a short\n\t\t\t// IF statement\n\t\t}\n\n\t\tif ( variable === 'hello' ) {\n\t\t\t// This is a short\n\t\t\t// IF statement\n\t\t} else {\n\t\t\t// This is a short ELSE\n\t\t\t// statement\n\t\t}\n\t}// end if\n\n\tif ( longFunction ) {\n\t\t// This is a long\n\t\t// IF statement\n\t\t// that does\n\t\t// not have\n\t\t// an ELSE\n\t\t// block on it\n\t\tvariable = 'hello';\n\n\t\tif ( variable === 'hello' ) {\n\t\t\t// This is a short\n\t\t\t// IF statement\n\t\t}\n\n\t\tif ( variable === 'hello' ) {\n\t\t\t// This is a short\n\t\t\t// IF statement\n\t\t} else {\n\t\t\t// This is a short ELSE\n\t\t\t// statement\n\t\t}\n\t}\n\n\tif ( longFunction ) {\n\t\t// This is a long\n\t\t// IF statement\n\t\t// that does\n\t\t// not have\n\t\t// an ELSE\n\t\t// block on it\n\t\tvariable = 'hello';\n\n\t\tif ( variable === 'hello' ) {\n\t\t\t// This is a short\n\t\t\t// IF statement\n\t\t}\n\n\t\tif ( variable === 'hello' ) {\n\t\t\t// This is a short\n\t\t\t// IF statement\n\t\t} else {\n\t\t\t// This is a short ELSE\n\t\t\t// statement\n\t\t}\n\t} else {\n\t\t// Short ELSE\n\t}// end if\n\n\tif ( longFunction ) {\n\t\t// This is a long\n\t\t// IF statement\n\t\t// that does\n\t\t// not have\n\t\t// an ELSE\n\t\t// block on it\n\t\tvariable = 'hello';\n\n\t\tif ( variable === 'hello' ) {\n\t\t\t// This is a short\n\t\t\t// IF statement\n\t\t}\n\n\t\tif ( variable === 'hello' ) {\n\t\t\t// This is a short\n\t\t\t// IF statement\n\t\t} else {\n\t\t\t// This is a short ELSE\n\t\t\t// statement\n\t\t}\n\t} else {\n\t\t// Short ELSE\n\t}\n}\n\nfor ( variable = 1; variable < 20; variable++ ) {\n\t// Line 1\n\t// Line 2\n\t// Line 3\n\t// Line 4\n\t// Line 5\n\t// Line 6\n\t// Line 7\n\t// Line 8\n\t// Line 9\n\t// Line 10\n\t// Line 11\n\t// Line 12\n\t// Line 13\n\t// Line 14\n\t// Line 15\n\t// Line 16\n\t// Line 17\n\t// Line 18\n\t// Line 19\n\t// Line 20\n}// end for\n\nfor ( variable = 1; variable < 20; variable++ ) {\n\t// Line 1\n\t// Line 2\n\t// Line 3\n\t// Line 4\n\t// Line 5\n\t// Line 6\n\t// Line 7\n\t// Line 8\n\t// Line 9\n\tfor ( val = 1; val < 20; val++ ) {\n\t\t// Short for.\n\t}\n\t// Line 13\n\t// Line 14\n\t// Line 15\n\t// Line 16\n\t// Line 17\n\t// Line 18\n\t// Line 19\n\t// Line 20\n}\n\nwhile ( variable < 20 ) {\n\t// Line 1\n\t// Line 2\n\t// Line 3\n\t// Line 4\n\t// Line 5\n\t// Line 6\n\t// Line 7\n\t// Line 8\n\t// Line 9\n\t// Line 10\n\t// Line 11\n\t// Line 12\n\t// Line 13\n\t// Line 14\n\t// Line 15\n\t// Line 16\n\t// Line 17\n\t// Line 18\n\t// Line 19\n\t// Line 20\n}// end while\n\nwhile ( variable < 20 ) {\n\t// Line 1\n\t// Line 2\n\t// Line 3\n\t// Line 4\n\t// Line 5\n\t// Line 6\n\t// Line 7\n\t// Line 8\n\t// Line 9\n\twhile ( something ) {\n\t\t// Short while.\n\t}\n\t// Line 13\n\t// Line 14\n\t// Line 15\n\t// Line 16\n\t// Line 17\n\t// Line 18\n\t// Line 19\n\t// Line 20\n}\n\nif ( longFunction ) {\n\t// This is a long\n\t// IF statement\n\t// that does\n\t// not have\n\t// an ELSE\n\t// block on it\n\tvariable = 'hello';\n\n\tif ( variable === 'hello' ) {\n\t\t// This is a short\n\t\t// IF statement\n\t}\n\n\tif ( variable === 'hello' ) {\n\t\t// This is a short\n\t\t// IF statement\n\t} else {\n\t\t// This is a short ELSE\n\t\t// statement\n\t}\n} // end if\n\nif ( longFunction ) {\n\t// This is a long\n\t// IF statement\n\t// that does\n\t// not have\n\t// an ELSE\n\t// block on it\n\tvariable = 'hello';\n\n\tif ( variable === 'hello' ) {\n\t\t// This is a short\n\t\t// IF statement\n\t}\n\n\tif ( variable === 'hello' ) {\n\t\t// This is a short\n\t\t// IF statement\n\t} else {\n\t\t// This is a short ELSE\n\t\t// statement\n\t}\n} else {\n\t// Short ELSE\n} // end if\n\nfor ( variable = 1; variable < 20; variable++ ) {\n\t// Line 1\n\t// Line 2\n\t// Line 3\n\t// Line 4\n\t// Line 5\n\t// Line 6\n\t// Line 7\n\t// Line 8\n\t// Line 9\n\t// Line 10\n\t// Line 11\n\t// Line 12\n\t// Line 13\n\t// Line 14\n\t// Line 15\n\t// Line 16\n\t// Line 17\n\t// Line 18\n\t// Line 19\n\t// Line 20\n} // end for\n\nwhile ( variable < 20 ) {\n\t// Line 1\n\t// Line 2\n\t// Line 3\n\t// Line 4\n\t// Line 5\n\t// Line 6\n\t// Line 7\n\t// Line 8\n\t// Line 9\n\t// Line 10\n\t// Line 11\n\t// Line 12\n\t// Line 13\n\t// Line 14\n\t// Line 15\n\t// Line 16\n\t// Line 17\n\t// Line 18\n\t// Line 19\n\t// Line 20\n} // end while\n\nwhile ( variable < 20 ) {\n\t// Line 1\n\t// Line 2\n\t// Line 3\n\t// Line 4\n\t// Line 5\n\t// Line 6\n\t// Line 7\n\t// Line 8\n\t// Line 9\n\t// Line 10\n\t// Line 11\n\t// Line 12\n\t// Line 13\n\t// Line 14\n\t// Line 15\n\t// Line 16\n\t// Line 17\n\t// Line 18\n\t// Line 19\n\t// Line 20\n}// end for\n\nif ( true ) {\n\t// Line 1\n\t// Line 2\n\t// Line 3\n\t// Line 4\n\t// Line 5\n\t// Line 6\n\t// Line 7\n\t// Line 8\n\t// Line 9\n\t// Line 10\n\t// Line 11\n\t// Line 12\n\t// Line 13\n\t// Line 14\n\t// Line 15\n\t// Line 16\n\t// Line 17\n\t// Line 18\n\t// Line 19\n\t// Line 20\n} else if ( condition ) {\n\t// Line 1\n\t// Line 2\n\t// Line 3\n\t// Line 4\n\t// Line 5\n\t// Line 6\n\t// Line 7\n\t// Line 8\n\t// Line 9\n\t// Line 10\n\t// Line 11\n\t// Line 12\n\t// Line 13\n\t// Line 14\n\t// Line 15\n\t// Line 16\n\t// Line 17\n\t// Line 18\n\t// Line 19\n\t// Line 20\n} else {\n\t// Line 1\n\t// Line 2\n\t// Line 3\n\t// Line 4\n\t// Line 5\n\t// Line 6\n\t// Line 7\n\t// Line 8\n\t// Line 9\n\t// Line 10\n\t// Line 11\n\t// Line 12\n\t// Line 13\n\t// Line 14\n\t// Line 15\n\t// Line 16\n\t// Line 17\n\t// Line 18\n\t// Line 19\n\t// Line 20\n}// end if\n\nif ( something ) {\n\t// Line 1\n\t// Line 2\n} else if ( somethingElse ) {\n\t// Line 1\n\t// Line 2\n} else {\n\t// Line 1\n\t// Line 2\n\t// Line 3\n\t// Line 4\n\t// Line 5\n\t// Line 6\n\t// Line 7\n\t// Line 8\n\t// Line 9\n\t// Line 10\n\t// Line 11\n\t// Line 12\n\t// Line 13\n\t// Line 14\n\t// Line 15\n\t// Line 16\n\t// Line 17\n\t// Line 18\n\t// Line 19\n\t// Line 20\n}\n\nswitch ( something ) {\n\tcase '1':\n\t\t// Line 1\n\t\t// Line 2\n\t\t// Line 3\n\t\t// Line 4\n\t\t// Line 5\n\t\tbreak;\n\tcase '2':\n\t\t// Line 1\n\t\t// Line 2\n\t\t// Line 3\n\t\t// Line 4\n\t\t// Line 5\n\t\tbreak;\n\tcase '3':\n\t\t// Line 1\n\t\t// Line 2\n\t\t// Line 3\n\t\t// Line 4\n\t\t// Line 5\n\t\tbreak;\n\tcase '4':\n\t\t// Line 1\n\t\t// Line 2\n\t\t// Line 3\n\t\t// Line 4\n\t\t// Line 5\n\t\tbreak;\n\tcase '5':\n\t\t// Line 1\n\t\t// Line 2\n\t\t// Line 3\n\t\t// Line 4\n\t\t// Line 5\n\t\tbreak;\n}\n\n// Wrong comment\nif ( condition ) {\n\tcondition = true;\n}// end foreach\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/PostStatementCommentUnitTest.1.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":1,"column":1,"nodeType":"FunctionDeclaration","messageId":"globalNonLexicalBinding","endLine":7,"endColumn":2},{"ruleId":"no-unused-vars","severity":2,"message":"'test' is defined but never used.","line":1,"column":10,"nodeType":"Identifier","endLine":1,"endColumn":14},{"ruleId":"no-unused-vars","severity":2,"message":"'id' is defined but never used.","line":1,"column":16,"nodeType":"Identifier","endLine":1,"endColumn":18},{"ruleId":"no-unused-vars","severity":2,"message":"'buttons' is defined but never used.","line":1,"column":20,"nodeType":"Identifier","endLine":1,"endColumn":27},{"ruleId":"brace-style","severity":2,"message":"Opening curly brace does not appear on the same line as controlling statement.","line":2,"column":1,"nodeType":"Punctuator","messageId":"nextLineOpen","endLine":2,"endColumn":2},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":3,"column":2,"nodeType":"CallExpression","messageId":"unexpected","endLine":3,"endColumn":18},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":4,"column":2,"nodeType":"CallExpression","messageId":"unexpected","endLine":4,"endColumn":24},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":9,"column":1,"nodeType":"VariableDeclaration","messageId":"top","endLine":9,"endColumn":17},{"ruleId":"no-unused-vars","severity":2,"message":"'good' is assigned a value but never used.","line":9,"column":5,"nodeType":"Identifier","endLine":9,"endColumn":9},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":9,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":9,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'mig' is not defined.","line":11,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":11,"endColumn":4},{"ruleId":"no-unused-vars","severity":2,"message":"'cb' is defined but never used.","line":13,"column":19,"nodeType":"Identifier","endLine":13,"endColumn":21},{"ruleId":"no-unused-vars","severity":2,"message":"'id' is defined but never used.","line":17,"column":27,"nodeType":"Identifier","endLine":17,"endColumn":29},{"ruleId":"no-undef","severity":2,"message":"'dfx' is not defined.","line":23,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":23,"endColumn":4},{"ruleId":"no-unused-vars","severity":2,"message":"'iframe' is defined but never used.","line":23,"column":36,"nodeType":"Identifier","endLine":23,"endColumn":42},{"ruleId":"no-undef","severity":2,"message":"'doc' is not defined.","line":25,"column":9,"nodeType":"Identifier","messageId":"undef","endLine":25,"endColumn":12},{"ruleId":"no-undef","severity":2,"message":"'condition' is not defined.","line":30,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":30,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'anotherCondition' is not defined.","line":31,"column":5,"nodeType":"Identifier","messageId":"undef","endLine":31,"endColumn":21},{"ruleId":"no-undef","severity":2,"message":"'condition' is not defined.","line":32,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":32,"endColumn":11},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":32,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":32,"endColumn":18}],"errorCount":20,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"function test( id, buttons ) // cool function\n{\n\talert( 'hello' );\n\talert( 'hello again' ); // And again.\n\t// Valid comment.\n\n}// end test()\n\nvar good = true; // Indeed.\n\nmig.Gallery.prototype = {\n\n\tinit: function ( cb ) {\n\n\t}, // end init()\n\n\timageClicked: function ( id ) {\n\n\t}// end imageClicked()\n\n};\n\ndfx.getIframeDocument = function ( iframe ) {\n\n\treturn doc;\n\n};// end dfx.getIframeDocument()\n\n// Verify that multi-line control structure with comments and annotations are left alone.\nif ( condition && // comment\n    anotherCondition ) {\n\tcondition = true;\n}\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Commenting/PostStatementCommentUnitTest.2.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":2,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":2,"endColumn":12},{"ruleId":"no-unused-vars","severity":2,"message":"'i' is assigned a value but never used.","line":2,"column":5,"nodeType":"Identifier","endLine":2,"endColumn":6}],"errorCount":2,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"// Comment as first thing in a JS file.\nvar i = 100;\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ControlSignatureUnitTest.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":1,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":1,"endColumn":6},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":1,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":3,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":3,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":3,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":3,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":4,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":4,"endColumn":12},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":7,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":7,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":7,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":7,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":8,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":8,"endColumn":12},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":11,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":11,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":11,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":11,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":13,"column":9,"nodeType":"Identifier","messageId":"undef","endLine":13,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":15,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":15,"endColumn":7},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 2 statements. Maximum allowed is 1.","line":15,"column":6,"nodeType":"ExpressionStatement","messageId":"exceed","endLine":15,"endColumn":12},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":15,"column":6,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":15,"endColumn":11},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":15,"column":23,"nodeType":"Identifier","messageId":"undef","endLine":15,"endColumn":24},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":18,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":18,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":18,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":18,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":19,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":19,"endColumn":12},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":21,"column":9,"nodeType":"Identifier","messageId":"undef","endLine":21,"endColumn":10},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":22,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":22,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":22,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":22,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":25,"column":9,"nodeType":"Identifier","messageId":"undef","endLine":25,"endColumn":10},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":26,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":26,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":26,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":26,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":29,"column":9,"nodeType":"Identifier","messageId":"undef","endLine":29,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":29,"column":19,"nodeType":"Identifier","messageId":"undef","endLine":29,"endColumn":20},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":29,"column":19,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":29,"endColumn":24},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 2 statements. Maximum allowed is 1.","line":29,"column":19,"nodeType":"ExpressionStatement","messageId":"exceed","endLine":29,"endColumn":25},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":31,"column":7,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":31,"endColumn":12},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":31,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":31,"endColumn":8},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":31,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":31,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":31,"column":21,"nodeType":"Identifier","messageId":"undef","endLine":31,"endColumn":22},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":32,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":32,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":32,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":32,"endColumn":7},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":35,"column":7,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":35,"endColumn":12},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":35,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":35,"endColumn":8},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":35,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":35,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":35,"column":21,"nodeType":"Identifier","messageId":"undef","endLine":35,"endColumn":22},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":36,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":36,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":36,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":36,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":39,"column":7,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":39,"endColumn":12},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":39,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":39,"endColumn":8},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":39,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":39,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":39,"column":21,"nodeType":"Identifier","messageId":"undef","endLine":39,"endColumn":22},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 2 statements. Maximum allowed is 1.","line":39,"column":29,"nodeType":"ExpressionStatement","messageId":"exceed","endLine":39,"endColumn":35},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":39,"column":29,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":39,"endColumn":34},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":39,"column":29,"nodeType":"Identifier","messageId":"undef","endLine":39,"endColumn":30},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":41,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":41,"endColumn":7},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":41,"column":8,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":41,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":42,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":42,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":42,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":42,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":45,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":45,"endColumn":7},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":45,"column":8,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":45,"endColumn":10},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":46,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":46,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":46,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":46,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":49,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":49,"endColumn":7},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":49,"column":8,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":49,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":49,"column":17,"nodeType":"Identifier","messageId":"undef","endLine":49,"endColumn":18},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 2 statements. Maximum allowed is 1.","line":49,"column":17,"nodeType":"ExpressionStatement","messageId":"exceed","endLine":49,"endColumn":23},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":49,"column":17,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":49,"endColumn":22},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":51,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":51,"endColumn":7},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":51,"column":8,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":51,"endColumn":10},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":52,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":52,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":52,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":52,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":54,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":54,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":54,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":54,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":57,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":57,"endColumn":7},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":57,"column":8,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":57,"endColumn":10},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":58,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":58,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":58,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":58,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":60,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":60,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":60,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":60,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":63,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":63,"endColumn":7},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":63,"column":8,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":63,"endColumn":10},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 3 statements. Maximum allowed is 1.","line":63,"column":17,"nodeType":"ExpressionStatement","messageId":"exceed","endLine":63,"endColumn":23},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":63,"column":17,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":63,"endColumn":22},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":63,"column":17,"nodeType":"Identifier","messageId":"undef","endLine":63,"endColumn":18},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":63,"column":33,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":63,"endColumn":38},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":63,"column":33,"nodeType":"Identifier","messageId":"undef","endLine":63,"endColumn":34},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":65,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":65,"endColumn":7},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":65,"column":8,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":65,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":66,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":66,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":66,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":66,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":67,"column":13,"nodeType":"Identifier","messageId":"undef","endLine":67,"endColumn":14},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":67,"column":15,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":67,"endColumn":17},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":68,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":68,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":68,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":68,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":71,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":71,"endColumn":7},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":71,"column":8,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":71,"endColumn":10},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":72,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":72,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":72,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":72,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":73,"column":13,"nodeType":"Identifier","messageId":"undef","endLine":73,"endColumn":14},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":73,"column":15,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":73,"endColumn":17},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":74,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":74,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":74,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":74,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":77,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":77,"endColumn":7},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":77,"column":8,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":77,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":77,"column":17,"nodeType":"Identifier","messageId":"undef","endLine":77,"endColumn":18},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":77,"column":17,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":77,"endColumn":22},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 4 statements. Maximum allowed is 1.","line":77,"column":17,"nodeType":"ExpressionStatement","messageId":"exceed","endLine":77,"endColumn":23},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":77,"column":36,"nodeType":"Identifier","messageId":"undef","endLine":77,"endColumn":37},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":77,"column":38,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":77,"endColumn":40},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":77,"column":47,"nodeType":"Identifier","messageId":"undef","endLine":77,"endColumn":48},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":77,"column":47,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":77,"endColumn":52},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":79,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":79,"endColumn":7},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":79,"column":8,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":79,"endColumn":10},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":80,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":80,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":80,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":80,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":83,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":83,"endColumn":7},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":83,"column":8,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":83,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":84,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":84,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":84,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":84,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":87,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":87,"endColumn":7},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":87,"column":8,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":87,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":88,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":88,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":88,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":88,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":91,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":91,"endColumn":7},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":91,"column":8,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":91,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":92,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":92,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":92,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":92,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":95,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":95,"endColumn":7},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":95,"column":8,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":95,"endColumn":10},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":95,"column":32,"nodeType":"BlockStatement","messageId":"unexpected","endLine":96,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'code' is not defined.","line":99,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":99,"endColumn":6},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":99,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":99,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'code' is not defined.","line":104,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":104,"endColumn":11},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 2 statements. Maximum allowed is 1.","line":104,"column":7,"nodeType":"ExpressionStatement","messageId":"exceed","endLine":104,"endColumn":21},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":104,"column":7,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":104,"endColumn":20},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":109,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":109,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":109,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":109,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":110,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":110,"endColumn":12},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":112,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":112,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":114,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":114,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":114,"column":2,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":114,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'jQuery' is not defined.","line":127,"column":5,"nodeType":"Identifier","messageId":"undef","endLine":127,"endColumn":11},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":130,"column":37,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":130,"endColumn":39},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 2 statements. Maximum allowed is 1.","line":130,"column":49,"nodeType":"ExpressionStatement","messageId":"exceed","endLine":130,"endColumn":101},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":132,"column":37,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":132,"endColumn":39},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":132,"column":49,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":132,"endColumn":86},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 2 statements. Maximum allowed is 1.","line":132,"column":49,"nodeType":"ExpressionStatement","messageId":"exceed","endLine":132,"endColumn":87},{"ruleId":"no-undef","severity":2,"message":"'$foo' is not defined.","line":132,"column":49,"nodeType":"Identifier","messageId":"undef","endLine":132,"endColumn":53}],"errorCount":141,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"i = 0;\ndo {\n\ti = 0;\n} while ( i > 0 );\n\ndo {\n\ti = 0;\n} while ( i > 0 );\n\ndo {\n\ti = 0;\n}\nwhile ( i > 0 );\n\ndo { i = 0; } while ( i > 0 );\n\ndo {\n\ti = 0;\n} while ( i > 0 );\n\nwhile ( i < 1 ) {\n\ti = 0;\n}\n\nwhile ( i < 1 ) {\n\ti = 0;\n}\n\nwhile ( i < 1 ) { i = 0; }\n\nfor ( i = 1; i < 1; i++ ) {\n\ti = 0;\n}\n\nfor ( i = 1; i < 1; i++ ) {\n\ti = 0;\n}\n\nfor ( i = 1; i < 1; i++ ) { i = 0; }\n\nif ( i == 0 ) {\n\ti = 1;\n}\n\nif ( i == 0 ) {\n\ti = 1;\n}\n\nif ( i == 0 ) { i = 1; }\n\nif ( i == 0 ) {\n\ti = 1;\n} else {\n\ti = 0;\n}\n\nif ( i == 0 ) {\n\ti = 1;\n} else {\n\ti = 0;\n}\n\nif ( i == 0 ) { i = 1; } else { i = 0; }\n\nif ( i == 0 ) {\n\ti = 1;\n} else if ( i == 2 ) {\n\ti = 0;\n}\n\nif ( i == 0 ) {\n\ti = 1;\n} else if ( i == 2 ) {\n\ti = 0;\n}\n\nif ( i == 0 ) { i = 1; } else if ( i == 2 ) { i = 0; }\n\nif ( i == 0 ) { // comments are allowed\n\ti = 1;\n}\n\nif ( i == 0 ) { // comments are allowed\n\ti = 1;\n}\n\nif ( i == 0 ) { /* comments are allowed*/\n\ti = 1;\n}\n\nif ( i == 0 ) { // this is ok\n\ti = 1;\n}\n\nif ( i == 0 ) /* this is ok */ {\n}\n\ntry {\n\tcode = 'this';\n} catch ( e ) {\n\t// Caught!\n}\n\ntry { code = 'this'; } catch ( e ) {\n\t// Caught!\n}\n\ndo {\n\ti = 0;\n} while ( i > 0 );\n\nif ( i === 0 ) {\n\n\ti = 1;\n}\n\nif ( window.jQuery ) {\n\t( function ( $ ) {\n\t\t$.fn.reset = function () {\n\t\t\treturn this.each( function () {\n\t\t\t\ttry {\n\t\t\t\t\tthis.reset();\n\t\t\t\t} catch ( e ) {\n\t\t\t\t}\n\t\t\t} );\n\t\t};\n\t}( jQuery ) );\n}\n\nif ( $( '#myid' ).rotationDegrees() == '90' ) { $( '.modal' ).css( { transform: 'rotate(90deg)' } ); }\n\nif ( $( '#myid' ).rotationDegrees() == '90' ) { $foo = { transform: 'rotate(90deg)' }; }\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/ForLoopDeclarationUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unexpected token","line":126,"column":1}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"// Valid.\nfor (var i = 0; i < 10; i++) {\n}\n\n// Invalid.\nfor ( i = 0; i < 10; i++ ) {\n}\n\nfor (i = 0;  i < 10;  i++) {\n}\n\nfor (var i = 0 ; i < 10 ; i++) {\n}\n\nfor (i = 0;i < 10;i++) {\n}\n\n// The works.\nfor ( var i = 0 ;  i < 10 ;  i++ ) {\n}\n\nthis.formats = {};\ndfx.inherits('ContentFormat', 'Widget');\n\nfor (var widgetid in this.loadedContents) {\n    if (dfx.isset(widget) === true) {\n        widget.loadAutoSaveCWidgetStore.setData('activeScreen', null);widget.getContents(this.loadedContents[widgetid], function() {self.widgetLoaded(widget.id);});\n    }\n}\n\nfor (var i = 0; i < 10;) {\n}\nfor (var i = 0; i < 10; ) {\n}\n\nfor (var i = 0; ; i++) {\n}\nfor (var i = 0;; i++) {\n}\n\n// phpcs:set Squiz.ControlStructures.ForLoopDeclaration requiredSpacesAfterOpen 1\n// phpcs:set Squiz.ControlStructures.ForLoopDeclaration requiredSpacesBeforeClose 1\nfor (var i = 0; i < 10; i++) {}\nfor ( var i = 0; i < 10; i++ ) {}\nfor (  var i = 0; i < 10; i++  ) {}\n// phpcs:set Squiz.ControlStructures.ForLoopDeclaration requiredSpacesAfterOpen 0\n// phpcs:set Squiz.ControlStructures.ForLoopDeclaration requiredSpacesBeforeClose 0\n\nfor (      ; i < 10; i++) {}\nfor (; i < 10; i++) {}\n\n// phpcs:set Squiz.ControlStructures.ForLoopDeclaration requiredSpacesAfterOpen 1\n// phpcs:set Squiz.ControlStructures.ForLoopDeclaration requiredSpacesBeforeClose 1\nfor ( ; i < 10; i++ ) {}\nfor (         ; i < 10; i++ ) {}\nfor (; i < 10; i++ ) {}\n\nfor ( i = 0; i < 10; ) {}\nfor ( i = 0; i < 10;) {}\nfor ( i = 0; i < 10;     ) {}\n// phpcs:set Squiz.ControlStructures.ForLoopDeclaration requiredSpacesAfterOpen 0\n// phpcs:set Squiz.ControlStructures.ForLoopDeclaration requiredSpacesBeforeClose 0\n\n// Test handling of comments and inline annotations.\nfor ( /*phpcs:enable*/ i = 0 /*start*/ ;    /*end*/i < 10/*comment*/; i++ /*comment*/   ) {}\n\n// Test multi-line FOR control structure.\nfor (\n    i = 0;\n    i < 10;\n    i++\n) {}\n\n// Test multi-line FOR control structure with comments and annotations.\nfor (\n    i = 0; /* Start */\n    i < 10; /* phpcs:ignore Standard.Category.SniffName -- for reasons. */\n    i++ // comment\n\n) {}\n\n// Test fixing each error in one go. Note: lines 84 + 88 contain trailing whitespace on purpose.\nfor (\n     \n\n      i = 0\n\n      ; \n\n      i < 10\n\n      ;\n\n      i++\n\n\n) {}\n\n// phpcs:set Squiz.ControlStructures.ForLoopDeclaration requiredSpacesAfterOpen 1\n// phpcs:set Squiz.ControlStructures.ForLoopDeclaration requiredSpacesBeforeClose 1\nfor (\n\n\n\n      i = 0\n\n      ;\n\n      i < 10\n\n      ;\n\n      i++\n\n\n) {}\n// phpcs:set Squiz.ControlStructures.ForLoopDeclaration requiredSpacesAfterOpen 0\n// phpcs:set Squiz.ControlStructures.ForLoopDeclaration requiredSpacesBeforeClose 0\n\n// Test with semi-colon not belonging to for.\nfor (i = function() {self.widgetLoaded(widget.id)  ;  }; i < function() {self.widgetLoaded(widget.id);}; i++) {}\nfor (i = function() {self.widgetLoaded(widget.id);}; i < function() {self.widgetLoaded(widget.id);}  ;   i++) {}\n\n// This test has to be the last one in the file! Intentional parse error check.\nfor\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/ControlStructures/SwitchDeclarationUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unexpected token Case","line":85,"column":5}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"\n\n// Valid SWITCH statement.\nswitch (something) {\n    case '1':\n        myvar = '1';\n    break;\n\n    case '2':\n    case '3':\n        myvar = '5';\n    break;\n\n    case '4':\n        myvar = '4';\n    break;\n\n    default:\n        myvar = null;\n    break;\n}\n\n// Alignment wrong.\nswitch (something) {\n    case '1':\n        myvar = '1';\n        break;\n\ncase '2':\n    case '3':\n        myvar = '5';\n    break;\n\ncase '4':\n    myvar = '4';\nbreak;\n\n    default:\n        myvar = null;\n    break;\n}\n\n// Closing brace wrong.\nswitch (something) {\n    case '1':\n        myvar = '1';\n    break;\n    }\n\n// PEAR style.\nswitch (something) {\ncase '1':\n    myvar = '1';\n    break;\ncase '2':\ncase '3':\n    myvar = '5';\n    break;\ncase '4':\n    myvar = '4';\n    break;\ndefault:\n    myvar = null;\n    break;\n}\n\n// Valid, but missing BREAKS.\nswitch (something) {\n    case '1':\n        myvar = '1';\n\n    case '2':\n    case '3':\n        myvar = '5';\n\n    case '4':\n        myvar = '4';\n\n    default:\n        myvar = null;\n}\n\n// Invalid, and missing BREAKS.\nswitch (something) {\n    Case '1' :\n        myvar = '1';\n\ncase  '2':\n    case  '3' :\n        myvar = '5';\n\n    case'4':\n        myvar = '4';\n\n    Default :\n        myvar = null;\n        something = 'hello';\n        other = 'hi';\n    }\n\n// Valid\nswitch (condition) {\n    case 'string':\n        varStr = 'test';\n\n    default:\n        // Ignore the default.\n    break;\n}\n\n// No default comment\nswitch (condition) {\n    case 'string':\n        varStr = 'test';\n\n    default:\n    break;\n}\n\n// Break problems\nswitch (condition) {\n    case 'string':\n\n\n        varStr = 'test';\n\n    break;\n\n\n    case 'bool':\n        varStr = 'test';\n\n\n    break;\n    default:\n\n        varStr = 'test';\n    break;\n\n}\n\nswitch (var) {\n    case 'one':\n    case 'two':\n    break;\n\n    case 'three':\n        // Nothing to do.\n    break;\n\n    case 'four':\n        echo hi;\n    break;\n\n    default:\n        // No default.\n    break;\n}\n\nswitch (var) {\n    case 'one':\n        if (blah) {\n        }\n\n    break;\n\n    default:\n        // No default.\n    break;\n}\n\nswitch (name) {\n    case \"1\":\n        switch (name2) {\n            case \"1\":\n                return true;\n            break;\n\n            case \"2\":\n            return true;\n            break;\n\n            default:\n                // No default.\n            break;\n        }\n    break;\n\n    case \"2\":\nswitch (name2) {\n    case \"1\":\n        return true;\n    break;\n\n    case \"2\":\n    return true;\n    break;\n\n    default:\n        // No default.\n    break;\n}\n    break;\n}\n\nswitch (name) {\n    case \"1\":\n        switch (name2) {\n            case \"1\":\n            return true;\n\n            default:\n                // No default.\n            break;\n        }\n    break;\n\n    default:\n        // No default.\n    break;\n}\n\nswitch (name2) {\n    default:\n        // No default.\n    break;\n}\n\nswitch (foo) {\n    case \"1\":\n    return true;\n\n    default:\n        if (foo === false) {\n            break;\n        }\n    break;\n}\n\n// Valid SWITCH statement.\nswitch (something) {\n    case '1':\n        myvar = '1';\n    return '1';\n\n    case '2':\n    case '3':\n        myvar = '5';\n    return '2';\n\n    case '4':\n        myvar = '4';\n    return '3';\n\n    default:\n        myvar = null;\n    return '4';\n}\n\nswitch (something) {\n    case '1':\n        myvar = '1';\n    break;\n\n    case '2':\n        throw 'message';\n\n    default:\n    throw 'message';\n}\n\nswitch (something) {\n    case '1';\n        print('one');\n    break;\n\n    default:\n        print('default');\n    return;\n}\n\nswitch (foo) {\n    case '1':\n        return; // comment\n    break;\n\n}\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Debug/JSLintUnitTest.js","messages":[{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":1,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":1,"endColumn":14},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":2,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":2,"endColumn":14}],"errorCount":2,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"alert( 'hi' );\nalert( 'hi' );\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Debug/JavaScriptLintUnitTest.js","messages":[{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":1,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":1,"endColumn":14},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":2,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":2,"endColumn":14}],"errorCount":2,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"alert( 'hi' );\nalert( 'hi' );\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Formatting/OperatorBracketUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: 'return' outside of function","line":74,"column":1}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"value = (one + two);\nvalue = one + two;\n\nvalue = (one - two);\nvalue = one - two;\n\nvalue = (one * two);\nvalue = one * two;\n\nvalue = (one / two);\nvalue = one / two;\n\nvalue = (one % two);\nvalue = one % two;\n\nvalue = (one + two + three);\nvalue = one + two + three;\nvalue = (one + (two + three));\nvalue = one + (two + three);\n\nvalue++;\nvalue--;\nvalue = -1;\nvalue = - 1;\n\nvalue = (1 + 2);\nvalue = 1 + 2;\n\nvalue = (1 - 2);\nvalue = 1 - 2;\n\nvalue = (1 * 2);\nvalue = 1 * 2;\n\nvalue = (1 / 2);\nvalue = 1 / 2;\n\nvalue = (1 % 2);\nvalue = 1 % 2;\n\nvalue = (1 + 2 + 3);\nvalue = 1 + 2 + 3;\nvalue = (1 + (2 + 3));\nvalue = 1 + (2 + 3);\n\nvalue = one + 2 + 3 - (four * five * (6 + 7)) + nine + 2;\nvalue = myFunction(tokens[stackPtr - 1]);\n\nfor (i = 1 + 2; i < 4 + 5; i++) {\n}\n\nfunction myFunction()\n{\n    value = (one + 1) + (two + 2) + (myFunction() + 2);\n    value = myFunction() + 2;\n    value = (myFunction(mvar) + myFunction2(mvar));\n    return -1;\n}\n\nparams['mode'] = id.replace(/WidgetType/, '');\n\nif (index < -1) index = 0;\nif (index < - 1) index = 0;\n\nvar classN = prvId.replace(/\\./g, '-');\n\nthree = myFunction(one / two);\nthree = myFunction((one / two) / four);\nthree = myFunction(one / (two / four));\n\nfour = -0.25;\n\nid = id.replace(/row\\/:/gi, '');\nreturn /MSIE/.test(navigator.userAgent);\n\nvar re = new RegExp(/<\\/?(\\w+)((\\s+\\w+(\\s*=\\s*(?:\".*?\"|'.*?'|[^'\">\\s]+))?)+\\s*|\\s*)\\/?>/gim);\n\nvar options = {\n    minVal: -1,\n    maxVal: -1\n};\n\nstepWidth = Math.round(this.width / 5);\n\ndate.setMonth(d[2] - 1);\n\nswitch (number % 10) {\n    case -1:\n        suffix = 'st';\n    break;\n}\n\nvar pathSplit = ipt.value.split(/\\/|\\\\/);\n\nif (pairs[i].search(/=/) !== -1) {\n}\n\nif (urlValue.search(/[a-zA-z]+:\\/\\//) !== 0) {\n}\n\nif (urlValue.search(/[a-zA-z]+:\\/\\/*/) !== 0) {\n}\n\nif (!value || /^\\s*$/.test(value)) {\n    return true;\n}\n\nparseInt(dfx.attr(selectors[idx], 'elemOffsetTop'), 10) - scrollCoords.y + 'px'\n\nif (something === true\n    ^ somethingElse === true\n) {\n    return false;\n}\n\nif (true === /^\\d*\\.?\\d*$/.test(input)) return true;\n\nif ( ! /^(?:a|select)$/i.test( element.tagName ) ) return true;\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Functions/MultiLineFunctionDeclarationUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unexpected token =","line":2,"column":54}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"\nfunction someFunctionWithAVeryLongName(firstParameter='something',\n   secondParameter='booooo',\n   third=null, fourthParameter=false,\n     fifthParameter=123.12,\n    sixthParam=true\n){\n}\n\nfunction someFunctionWithAVeryLongName2(\nfirstParameter='something',\nsecondParameter='booooo',\n)  {\n}\n\nfunction blah() {\n}\n\nfunction blah()\n{\n}\n\nvar object =\n{\n\n    someFunctionWithAVeryLongName: function(\n        firstParameter='something',\n        secondParameter='booooo',\n        third=null,\n        fourthParameter=false,\n        fifthParameter=123.12,\n        sixthParam=true\n    ) /** w00t */ {\n    }\n\n    someFunctionWithAVeryLongName2: function (firstParameter='something',\n        secondParameter='booooo',\n        third=null\n    ) {\n    }\n\n     someFunctionWithAVeryLongName3: function (\n         firstParameter, secondParameter, third=null\n     ) {\n     }\n\n     someFunctionWithAVeryLongName4: function (\n         firstParameter, secondParameter\n     ) {\n     }\n\n     someFunctionWithAVeryLongName5: function (\n         firstParameter,\n         secondParameter=array(1,2,3),\n         third=null\n     ) {\n     }\n\n}\n\nvar a = Function('return 1+1');\n\nclass test\n{\n    myFunction() {\n       return false;\n    }\n\n    myFunction2()\n    {\n       return false;\n    }\n}\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Objects/DisallowObjectStringIndexUnitTest.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":1,"column":1,"nodeType":"FunctionDeclaration","messageId":"globalNonLexicalBinding","endLine":5,"endColumn":2},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":12,"column":3,"nodeType":"VariableDeclaration","endLine":16,"endColumn":20},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":12,"column":3,"nodeType":"VariableDeclaration","messageId":"top","endLine":16,"endColumn":20},{"ruleId":"no-unused-vars","severity":2,"message":"'t' is assigned a value but never used.","line":12,"column":7,"nodeType":"Identifier","endLine":12,"endColumn":8},{"ruleId":"no-unused-vars","severity":2,"message":"'y' is assigned a value but never used.","line":13,"column":4,"nodeType":"Identifier","endLine":13,"endColumn":5},{"ruleId":"no-unused-vars","severity":2,"message":"'a' is assigned a value but never used.","line":14,"column":4,"nodeType":"Identifier","endLine":14,"endColumn":5},{"ruleId":"no-unused-vars","severity":2,"message":"'z' is assigned a value but never used.","line":15,"column":4,"nodeType":"Identifier","endLine":15,"endColumn":5},{"ruleId":"no-unused-vars","severity":2,"message":"'p' is assigned a value but never used.","line":16,"column":4,"nodeType":"Identifier","endLine":16,"endColumn":5},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":21,"column":1,"nodeType":"FunctionDeclaration","messageId":"globalNonLexicalBinding","endLine":30,"endColumn":2},{"ruleId":"no-redeclare","severity":2,"message":"'test' is already defined.","line":21,"column":10,"nodeType":"Identifier","messageId":"redeclared","endLine":21,"endColumn":14},{"ruleId":"no-undef","severity":2,"message":"'step' is not defined.","line":22,"column":25,"nodeType":"Identifier","messageId":"undef","endLine":22,"endColumn":29},{"ruleId":"no-undef","severity":2,"message":"'errors' is not defined.","line":22,"column":34,"nodeType":"Identifier","messageId":"undef","endLine":22,"endColumn":40},{"ruleId":"no-undef","severity":2,"message":"'x' is not defined.","line":23,"column":21,"nodeType":"Identifier","messageId":"undef","endLine":23,"endColumn":22},{"ruleId":"no-undef","severity":2,"message":"'x' is not defined.","line":24,"column":31,"nodeType":"Identifier","messageId":"undef","endLine":24,"endColumn":32},{"ruleId":"no-undef","severity":2,"message":"'y' is not defined.","line":25,"column":24,"nodeType":"Identifier","messageId":"undef","endLine":25,"endColumn":25},{"ruleId":"no-undef","severity":2,"message":"'x' is not defined.","line":25,"column":30,"nodeType":"Identifier","messageId":"undef","endLine":25,"endColumn":31},{"ruleId":"no-useless-concat","severity":2,"message":"Unexpected string concatenation of literals.","line":26,"column":22,"nodeType":"BinaryExpression"},{"ruleId":"no-undef","severity":2,"message":"'x' is not defined.","line":26,"column":35,"nodeType":"Identifier","messageId":"undef","endLine":26,"endColumn":36},{"ruleId":"no-undef","severity":2,"message":"'y' is not defined.","line":27,"column":15,"nodeType":"Identifier","messageId":"undef","endLine":27,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'x' is not defined.","line":27,"column":21,"nodeType":"Identifier","messageId":"undef","endLine":27,"endColumn":22},{"ruleId":"no-undef","severity":2,"message":"'y' is not defined.","line":28,"column":15,"nodeType":"Identifier","messageId":"undef","endLine":28,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'z' is not defined.","line":28,"column":19,"nodeType":"Identifier","messageId":"undef","endLine":28,"endColumn":20},{"ruleId":"no-undef","severity":2,"message":"'x' is not defined.","line":28,"column":25,"nodeType":"Identifier","messageId":"undef","endLine":28,"endColumn":26},{"ruleId":"no-undef","severity":2,"message":"'x' is not defined.","line":29,"column":42,"nodeType":"Identifier","messageId":"undef","endLine":29,"endColumn":43},{"ruleId":"no-undef","severity":2,"message":"'child' is not defined.","line":32,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":32,"endColumn":11},{"ruleId":"no-undef","severity":2,"message":"'above' is not defined.","line":33,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":33,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'child' is not defined.","line":34,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":34,"endColumn":7},{"ruleId":"no-undef","severity":2,"message":"'above' is not defined.","line":34,"column":30,"nodeType":"Identifier","messageId":"undef","endLine":34,"endColumn":35},{"ruleId":"new-cap","severity":2,"message":"A constructor name should not start with a lowercase letter.","line":34,"column":30,"nodeType":"NewExpression","messageId":"lower"}],"errorCount":29,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"function test( id ) {\n\n\tthis.id = id;\n\n}\n/**/\ntest.prototype = {\n\tinit: function () {\n\t\tvar x = {};\n\t\tx.name = 'test';\n\t\tx.phone = 123124324;\n\t\tvar t = [ 'test', 'this' ].join( '' ),\n\t\t\ty = [ 'test' ].join( '' ),\n\t\t\ta = x[ 0 ],\n\t\t\tz = x[ x.name ],\n\t\t\tp = x[ x.name ];\n\t}\n\n};\n\nfunction test() {\n\tthis.errors[ 'step_' + step ] = errors;\n\tthis.errors.test = x;\n\tthis.errors[ 'test' + 10 ] = x;\n\tthis.errors[ 'test' + y ] = x;\n\tthis.errors[ 'test' + 'blah' ] = x;\n\tthis.errors[ y ] = x;\n\tthis.errors[ y + z ] = x;\n\tthis.permissions[ 'workflow.cancel' ] = x;\n}\n\nif ( child.prototype ) {\n\tabove.prototype.constructor = parent;\n\tchild.prototype.super = new above();\n}\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Objects/ObjectMemberCommaUnitTest.js","messages":[{"ruleId":"no-undef","severity":2,"message":"'addTypeFormatButton' is not defined.","line":3,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":3,"endColumn":20},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":7,"column":1,"nodeType":"VariableDeclaration","messageId":"top","endLine":27,"endColumn":4},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":7,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":7,"endColumn":11},{"ruleId":"no-unused-vars","severity":2,"message":"'x' is assigned a value but never used.","line":7,"column":5,"nodeType":"Identifier","endLine":7,"endColumn":6},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":9,"column":2,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":15,"endColumn":3},{"ruleId":"no-unused-vars","severity":2,"message":"'y' is assigned a value but never used.","line":9,"column":2,"nodeType":"Identifier","endLine":9,"endColumn":3},{"ruleId":"no-unused-vars","severity":2,"message":"'arg' is defined but never used.","line":12,"column":24,"nodeType":"Identifier","endLine":12,"endColumn":27},{"ruleId":"no-console","severity":2,"message":"Unexpected console statement.","line":13,"column":4,"nodeType":"MemberExpression","messageId":"unexpected","endLine":13,"endColumn":16},{"ruleId":"no-unused-vars","severity":2,"message":"'z' is assigned a value but never used.","line":17,"column":2,"nodeType":"Identifier","endLine":17,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":17,"column":2,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":23,"endColumn":3},{"ruleId":"no-unused-vars","severity":2,"message":"'arg' is defined but never used.","line":20,"column":24,"nodeType":"Identifier","endLine":20,"endColumn":27},{"ruleId":"no-console","severity":2,"message":"Unexpected console statement.","line":21,"column":4,"nodeType":"MemberExpression","messageId":"unexpected","endLine":21,"endColumn":16},{"ruleId":"no-redeclare","severity":2,"message":"'x' is already defined.","line":25,"column":2,"nodeType":"Identifier","messageId":"redeclared","endLine":25,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":25,"column":2,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":27,"endColumn":3},{"ruleId":"no-console","severity":2,"message":"Unexpected console statement.","line":26,"column":3,"nodeType":"MemberExpression","messageId":"unexpected","endLine":26,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'AssetListingEditWidgetType' is not defined.","line":29,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":29,"endColumn":27},{"ruleId":"no-unused-vars","severity":2,"message":"'data' is defined but never used.","line":30,"column":19,"nodeType":"Identifier","endLine":30,"endColumn":23},{"ruleId":"no-unused-vars","severity":2,"message":"'assetid' is defined but never used.","line":30,"column":25,"nodeType":"Identifier","endLine":30,"endColumn":32},{"ruleId":"no-unused-vars","severity":2,"message":"'editables' is defined but never used.","line":30,"column":34,"nodeType":"Identifier","endLine":30,"endColumn":43},{"ruleId":"no-undef","severity":2,"message":"'AssetListingEditWidgetType' is not defined.","line":34,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":34,"endColumn":27},{"ruleId":"no-unused-vars","severity":2,"message":"'data' is defined but never used.","line":35,"column":19,"nodeType":"Identifier","endLine":35,"endColumn":23},{"ruleId":"no-unused-vars","severity":2,"message":"'assetid' is defined but never used.","line":35,"column":25,"nodeType":"Identifier","endLine":35,"endColumn":32},{"ruleId":"no-unused-vars","severity":2,"message":"'editables' is defined but never used.","line":35,"column":34,"nodeType":"Identifier","endLine":35,"endColumn":43},{"ruleId":"no-undef","severity":2,"message":"'AssetListingEditWidgetType' is not defined.","line":39,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":39,"endColumn":27},{"ruleId":"no-unused-vars","severity":2,"message":"'data' is defined but never used.","line":41,"column":19,"nodeType":"Identifier","endLine":41,"endColumn":23},{"ruleId":"no-unused-vars","severity":2,"message":"'assetid' is defined but never used.","line":41,"column":25,"nodeType":"Identifier","endLine":41,"endColumn":32},{"ruleId":"no-unused-vars","severity":2,"message":"'editables' is defined but never used.","line":41,"column":34,"nodeType":"Identifier","endLine":41,"endColumn":43}],"errorCount":27,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"this.request( { action: 'getTypeFormatContents' } );\n\naddTypeFormatButton.addClickEvent( function () {\n\tself.addNewTypeFormat();\n} );\n\nvar x = {},\n\n\ty = {\n\t\tVarOne: 'If you ask me, thats if you ask',\n\t\tVarTwo: [ 'Alonzo played you', 'for a fool', 'esse' ],\n\t\tVarThree: function ( arg ) {\n\t\t\tconsole.info( 1 );\n\t\t}\n\t},\n\n\tz = {\n\t\tVarOne: 'If you ask me, thats if you ask',\n\t\tVarTwo: [ 'Alonzo played you', 'for a fool', 'esse' ],\n\t\tVarThree: function ( arg ) {\n\t\t\tconsole.info( 1 );\n\t\t}\n\t},\n\n\tx = function () {\n\t\tconsole.info( 2 );\n\t};\n\nAssetListingEditWidgetType.prototype = {\n\tinit: function ( data, assetid, editables ) {\n\t}\n};\n\nAssetListingEditWidgetType.prototype = {\n\tinit: function ( data, assetid, editables ) {\n\t}\n};\n\nAssetListingEditWidgetType.prototype = {\n\t// phpcs: disable Standard.Cat.SniffName -- testing annotation between closing brace and comma\n\tinit: function ( data, assetid, editables ) {\n\t}\n\t// phpcs:enable\n};\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/Operators/ComparisonOperatorUsageUnitTest.js","messages":[{"ruleId":"no-undef","severity":2,"message":"'value' is not defined.","line":1,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":11},{"ruleId":"no-undef","severity":2,"message":"'TRUE' is not defined.","line":1,"column":16,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":20},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":1,"column":23,"nodeType":"BlockStatement","messageId":"unexpected","endLine":2,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'value' is not defined.","line":2,"column":13,"nodeType":"Identifier","messageId":"undef","endLine":2,"endColumn":18},{"ruleId":"no-undef","severity":2,"message":"'FALSE' is not defined.","line":2,"column":23,"nodeType":"Identifier","messageId":"undef","endLine":2,"endColumn":28},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":2,"column":31,"nodeType":"BlockStatement","messageId":"unexpected","endLine":3,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'value' is not defined.","line":5,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":5,"endColumn":11},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":5,"column":12,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":5,"endColumn":14},{"ruleId":"no-undef","severity":2,"message":"'TRUE' is not defined.","line":5,"column":15,"nodeType":"Identifier","messageId":"undef","endLine":5,"endColumn":19},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":5,"column":22,"nodeType":"BlockStatement","messageId":"unexpected","endLine":6,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'value' is not defined.","line":6,"column":13,"nodeType":"Identifier","messageId":"undef","endLine":6,"endColumn":18},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":6,"column":19,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":6,"endColumn":21},{"ruleId":"no-undef","severity":2,"message":"'FALSE' is not defined.","line":6,"column":22,"nodeType":"Identifier","messageId":"undef","endLine":6,"endColumn":27},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":6,"column":30,"nodeType":"BlockStatement","messageId":"unexpected","endLine":7,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'value' is not defined.","line":9,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":9,"endColumn":11},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":9,"column":14,"nodeType":"BlockStatement","messageId":"unexpected","endLine":10,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'value' is not defined.","line":10,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":10,"endColumn":19},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":10,"column":22,"nodeType":"BlockStatement","messageId":"unexpected","endLine":11,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'value' is not defined.","line":13,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":13,"endColumn":11},{"ruleId":"no-undef","severity":2,"message":"'TRUE' is not defined.","line":13,"column":28,"nodeType":"Identifier","messageId":"undef","endLine":13,"endColumn":32},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":13,"column":35,"nodeType":"BlockStatement","messageId":"unexpected","endLine":14,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'myFunction' is not defined.","line":14,"column":13,"nodeType":"Identifier","messageId":"undef","endLine":14,"endColumn":23},{"ruleId":"no-undef","severity":2,"message":"'value' is not defined.","line":14,"column":25,"nodeType":"Identifier","messageId":"undef","endLine":14,"endColumn":30},{"ruleId":"no-undef","severity":2,"message":"'FALSE' is not defined.","line":14,"column":37,"nodeType":"Identifier","messageId":"undef","endLine":14,"endColumn":42},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":14,"column":45,"nodeType":"BlockStatement","messageId":"unexpected","endLine":15,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'value' is not defined.","line":17,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":17,"endColumn":11},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":17,"column":24,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":17,"endColumn":26},{"ruleId":"no-undef","severity":2,"message":"'TRUE' is not defined.","line":17,"column":27,"nodeType":"Identifier","messageId":"undef","endLine":17,"endColumn":31},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":17,"column":34,"nodeType":"BlockStatement","messageId":"unexpected","endLine":18,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'myFunction' is not defined.","line":18,"column":13,"nodeType":"Identifier","messageId":"undef","endLine":18,"endColumn":23},{"ruleId":"no-undef","severity":2,"message":"'value' is not defined.","line":18,"column":25,"nodeType":"Identifier","messageId":"undef","endLine":18,"endColumn":30},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":18,"column":33,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":18,"endColumn":35},{"ruleId":"no-undef","severity":2,"message":"'FALSE' is not defined.","line":18,"column":36,"nodeType":"Identifier","messageId":"undef","endLine":18,"endColumn":41},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":18,"column":44,"nodeType":"BlockStatement","messageId":"unexpected","endLine":19,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'value' is not defined.","line":21,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":21,"endColumn":11},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":21,"column":26,"nodeType":"BlockStatement","messageId":"unexpected","endLine":22,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'myFunction' is not defined.","line":22,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":22,"endColumn":24},{"ruleId":"no-undef","severity":2,"message":"'value' is not defined.","line":22,"column":26,"nodeType":"Identifier","messageId":"undef","endLine":22,"endColumn":31},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":22,"column":36,"nodeType":"BlockStatement","messageId":"unexpected","endLine":23,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'value' is not defined.","line":25,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":25,"endColumn":11},{"ruleId":"no-undef","severity":2,"message":"'TRUE' is not defined.","line":25,"column":16,"nodeType":"Identifier","messageId":"undef","endLine":25,"endColumn":20},{"ruleId":"no-undef","severity":2,"message":"'other' is not defined.","line":25,"column":24,"nodeType":"Identifier","messageId":"undef","endLine":25,"endColumn":29},{"ruleId":"no-undef","severity":2,"message":"'FALSE' is not defined.","line":25,"column":34,"nodeType":"Identifier","messageId":"undef","endLine":25,"endColumn":39},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":25,"column":42,"nodeType":"BlockStatement","messageId":"unexpected","endLine":26,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'value' is not defined.","line":28,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":28,"endColumn":11},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":28,"column":12,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":28,"endColumn":14},{"ruleId":"no-undef","severity":2,"message":"'TRUE' is not defined.","line":28,"column":15,"nodeType":"Identifier","messageId":"undef","endLine":28,"endColumn":19},{"ruleId":"no-undef","severity":2,"message":"'other' is not defined.","line":28,"column":23,"nodeType":"Identifier","messageId":"undef","endLine":28,"endColumn":28},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":28,"column":29,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":28,"endColumn":31},{"ruleId":"no-undef","severity":2,"message":"'FALSE' is not defined.","line":28,"column":32,"nodeType":"Identifier","messageId":"undef","endLine":28,"endColumn":37},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":28,"column":40,"nodeType":"BlockStatement","messageId":"unexpected","endLine":29,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'value' is not defined.","line":31,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":31,"endColumn":11},{"ruleId":"no-undef","severity":2,"message":"'other' is not defined.","line":31,"column":16,"nodeType":"Identifier","messageId":"undef","endLine":31,"endColumn":21},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":31,"column":24,"nodeType":"BlockStatement","messageId":"unexpected","endLine":32,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":34,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":34,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'TRUE' is not defined.","line":34,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":34,"endColumn":18},{"ruleId":"no-undef","severity":2,"message":"'two' is not defined.","line":34,"column":22,"nodeType":"Identifier","messageId":"undef","endLine":34,"endColumn":25},{"ruleId":"no-undef","severity":2,"message":"'TRUE' is not defined.","line":34,"column":30,"nodeType":"Identifier","messageId":"undef","endLine":34,"endColumn":34},{"ruleId":"no-undef","severity":2,"message":"'three' is not defined.","line":34,"column":38,"nodeType":"Identifier","messageId":"undef","endLine":34,"endColumn":43},{"ruleId":"no-undef","severity":2,"message":"'FALSE' is not defined.","line":34,"column":48,"nodeType":"Identifier","messageId":"undef","endLine":34,"endColumn":53},{"ruleId":"no-undef","severity":2,"message":"'four' is not defined.","line":34,"column":57,"nodeType":"Identifier","messageId":"undef","endLine":34,"endColumn":61},{"ruleId":"no-undef","severity":2,"message":"'TRUE' is not defined.","line":34,"column":66,"nodeType":"Identifier","messageId":"undef","endLine":34,"endColumn":70},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":34,"column":73,"nodeType":"BlockStatement","messageId":"unexpected","endLine":35,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":37,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":37,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'two' is not defined.","line":37,"column":13,"nodeType":"Identifier","messageId":"undef","endLine":37,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'three' is not defined.","line":37,"column":21,"nodeType":"Identifier","messageId":"undef","endLine":37,"endColumn":26},{"ruleId":"no-undef","severity":2,"message":"'four' is not defined.","line":37,"column":30,"nodeType":"Identifier","messageId":"undef","endLine":37,"endColumn":34},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":37,"column":37,"nodeType":"BlockStatement","messageId":"unexpected","endLine":38,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":40,"column":9,"nodeType":"Identifier","messageId":"undef","endLine":40,"endColumn":12},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":40,"column":13,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":40,"endColumn":15},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":40,"column":23,"nodeType":"BlockStatement","messageId":"unexpected","endLine":41,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":43,"column":9,"nodeType":"Identifier","messageId":"undef","endLine":43,"endColumn":12},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":43,"column":24,"nodeType":"BlockStatement","messageId":"unexpected","endLine":44,"endColumn":2},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":46,"column":4,"nodeType":"BlockStatement","messageId":"unexpected","endLine":47,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":47,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":47,"endColumn":14},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":47,"column":15,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":47,"endColumn":17},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":49,"column":4,"nodeType":"BlockStatement","messageId":"unexpected","endLine":50,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":50,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":50,"endColumn":14},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":52,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":52,"endColumn":10},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":52,"column":7,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":52,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":52,"column":17,"nodeType":"Identifier","messageId":"undef","endLine":52,"endColumn":20},{"ruleId":"eqeqeq","severity":2,"message":"Expected '!==' and instead saw '!='.","line":52,"column":21,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":52,"endColumn":23},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":52,"column":27,"nodeType":"Identifier","messageId":"undef","endLine":52,"endColumn":30},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":52,"column":35,"nodeType":"BlockStatement","messageId":"unexpected","endLine":53,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":55,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":55,"endColumn":10},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":55,"column":7,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":55,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":55,"column":17,"nodeType":"Identifier","messageId":"undef","endLine":55,"endColumn":20},{"ruleId":"no-undef","severity":2,"message":"'one' is not defined.","line":55,"column":28,"nodeType":"Identifier","messageId":"undef","endLine":55,"endColumn":31},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":55,"column":36,"nodeType":"BlockStatement","messageId":"unexpected","endLine":56,"endColumn":2},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":58,"column":1,"nodeType":"ForInStatement","messageId":"globalVariableLeak","endLine":59,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'type' is not defined.","line":58,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":58,"endColumn":11},{"ruleId":"no-undef","severity":2,"message":"'types' is not defined.","line":58,"column":15,"nodeType":"Identifier","messageId":"undef","endLine":58,"endColumn":20},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":58,"column":23,"nodeType":"BlockStatement","messageId":"unexpected","endLine":59,"endColumn":2},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":61,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":61,"endColumn":57},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":61,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":61,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'variable2' is not defined.","line":61,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":61,"endColumn":23},{"ruleId":"no-undef","severity":2,"message":"'variable1' is not defined.","line":61,"column":37,"nodeType":"Identifier","messageId":"undef","endLine":61,"endColumn":46},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":63,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":63,"endColumn":56},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":63,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":63,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'variable2' is not defined.","line":63,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":63,"endColumn":23},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":63,"column":24,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":63,"endColumn":26},{"ruleId":"no-undef","severity":2,"message":"'variable1' is not defined.","line":63,"column":36,"nodeType":"Identifier","messageId":"undef","endLine":63,"endColumn":45},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":65,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":65,"endColumn":9},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":65,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":65,"endColumn":58},{"ruleId":"no-undef","severity":2,"message":"'variable2' is not defined.","line":65,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":65,"endColumn":23},{"ruleId":"no-undef","severity":2,"message":"'variable1' is not defined.","line":65,"column":38,"nodeType":"Identifier","messageId":"undef","endLine":65,"endColumn":47},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":67,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":67,"endColumn":9},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":67,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":67,"endColumn":57},{"ruleId":"no-undef","severity":2,"message":"'variable2' is not defined.","line":67,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":67,"endColumn":23},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":67,"column":24,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":67,"endColumn":26},{"ruleId":"no-undef","severity":2,"message":"'variable1' is not defined.","line":67,"column":37,"nodeType":"Identifier","messageId":"undef","endLine":67,"endColumn":46},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":69,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":69,"endColumn":54},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":69,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":69,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'variable2' is not defined.","line":69,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":69,"endColumn":23},{"ruleId":"no-undef","severity":2,"message":"'variable1' is not defined.","line":69,"column":34,"nodeType":"Identifier","messageId":"undef","endLine":69,"endColumn":43},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":71,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":71,"endColumn":53},{"ruleId":"no-undef","severity":2,"message":"'variable' is not defined.","line":71,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":71,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'variable2' is not defined.","line":71,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":71,"endColumn":23},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":71,"column":24,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":71,"endColumn":26},{"ruleId":"no-undef","severity":2,"message":"'variable1' is not defined.","line":71,"column":33,"nodeType":"Identifier","messageId":"undef","endLine":71,"endColumn":42}],"errorCount":120,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"if ( value === TRUE ) {\n} else if ( value === FALSE ) {\n}\n\nif ( value == TRUE ) {\n} else if ( value == FALSE ) {\n}\n\nif ( value ) {\n} else if ( !value ) {\n}\n\nif ( value.isSomething === TRUE ) {\n} else if ( myFunction( value ) === FALSE ) {\n}\n\nif ( value.isSomething == TRUE ) {\n} else if ( myFunction( value ) == FALSE ) {\n}\n\nif ( value.isSomething ) {\n} else if ( !myFunction( value ) ) {\n}\n\nif ( value === TRUE || other === FALSE ) {\n}\n\nif ( value == TRUE || other == FALSE ) {\n}\n\nif ( value || !other ) {\n}\n\nif ( one === TRUE || two === TRUE || three === FALSE || four === TRUE ) {\n}\n\nif ( one || two || !three || four ) {\n}\n\nwhile ( one == true ) {\n}\n\nwhile ( one === true ) {\n}\n\ndo {\n} while ( one == true );\n\ndo {\n} while ( one === true );\n\nfor ( one = 10; one != 0; one-- ) {\n}\n\nfor ( one = 10; one !== 0; one-- ) {\n}\n\nfor ( type in types ) {\n}\n\nvariable = ( variable2 === true ) ? variable1 : 'foobar';\n\nvariable = ( variable2 == true ) ? variable1 : 'foobar';\n\nvariable = ( variable2 === false ) ? variable1 : 'foobar';\n\nvariable = ( variable2 == false ) ? variable1 : 'foobar';\n\nvariable = ( variable2 === 0 ) ? variable1 : 'foobar';\n\nvariable = ( variable2 == 0 ) ? variable1 : 'foobar';\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowInlineIfUnitTest.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":1,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":1,"endColumn":18},{"ruleId":"no-undef","severity":2,"message":"'x' is not defined.","line":1,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'x' is not defined.","line":1,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":8},{"ruleId":"no-undef","severity":2,"message":"'a' is not defined.","line":1,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":12},{"ruleId":"no-undef","severity":2,"message":"'x' is not defined.","line":1,"column":15,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":16},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":2,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":2,"endColumn":34},{"ruleId":"no-undef","severity":2,"message":"'id' is not defined.","line":2,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":2,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'id' is not defined.","line":2,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":2,"endColumn":8}],"errorCount":8,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"x = ( x ? a : x );\nid = id.replace( /row\\/:/gi, '' );\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/PHP/DisallowSizeFunctionsInLoopsUnitTest.js","messages":[{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":1,"column":7,"nodeType":"VariableDeclaration","messageId":"top","endLine":1,"endColumn":16},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":1,"column":11,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":1,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'permissions' is not defined.","line":1,"column":22,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":33},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":5,"column":1,"nodeType":"VariableDeclaration","messageId":"top","endLine":5,"endColumn":34},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":5,"column":1,"nodeType":"VariableDeclaration","endLine":5,"endColumn":34},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":5,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":5,"endColumn":33},{"ruleId":"no-undef","severity":2,"message":"'permissions' is not defined.","line":5,"column":15,"nodeType":"Identifier","messageId":"undef","endLine":5,"endColumn":26},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":6,"column":7,"nodeType":"VariableDeclaration","messageId":"top","endLine":6,"endColumn":21},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":6,"column":7,"nodeType":"VariableDeclaration","endLine":6,"endColumn":21},{"ruleId":"no-redeclare","severity":2,"message":"'length' is already defined as a built-in global variable.","line":6,"column":11,"nodeType":"Identifier","messageId":"redeclaredAsBuiltin","endLine":6,"endColumn":17},{"ruleId":"no-unused-vars","severity":2,"message":"'length' is assigned a value but never used.","line":6,"column":11,"nodeType":"Identifier","endLine":6,"endColumn":17},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected redeclaration of read-only global variable.","line":6,"column":11,"nodeType":"VariableDeclarator","messageId":"redeclarationOfReadonlyGlobal","endLine":6,"endColumn":21},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":10,"column":1,"nodeType":"VariableDeclaration","endLine":10,"endColumn":30},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":10,"column":1,"nodeType":"VariableDeclaration","messageId":"top","endLine":10,"endColumn":30},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":10,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":10,"endColumn":29},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":11,"column":7,"nodeType":"VariableDeclaration","endLine":11,"endColumn":29},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":11,"column":7,"nodeType":"VariableDeclaration","messageId":"top","endLine":11,"endColumn":29},{"ruleId":"no-redeclare","severity":2,"message":"'i' is already defined.","line":11,"column":11,"nodeType":"Identifier","messageId":"redeclared","endLine":11,"endColumn":12},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":11,"column":11,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":11,"endColumn":29},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":12,"column":2,"nodeType":"VariableDeclaration","endLine":12,"endColumn":12},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":12,"column":2,"nodeType":"VariableDeclaration","messageId":"top","endLine":12,"endColumn":12},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":12,"column":6,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":12,"endColumn":11},{"ruleId":"no-unused-vars","severity":2,"message":"'x' is assigned a value but never used.","line":12,"column":6,"nodeType":"Identifier","endLine":12,"endColumn":7}],"errorCount":23,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"for ( var i = 0; i < permissions.length; i++ ) {\n\t// Code here.\n}\n\nvar permLen = permissions.length;\nfor ( var length = 0; i < permLen; i++ ) {\n\t// Code here.\n}\n\nvar myArray = [ 1, 2, 3, 4 ];\nfor ( var i = myArray.length; i >= 0; i-- ) {\n\tvar x = i;\n}\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/ControlStructureSpacingUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unexpected token {","line":19,"column":14}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"\nif (something) {\n}\nfor (i = 0; i < 10; i++) {\n}\n\nwhile (true) {\n    for (i = 0; i < 10; i++) {\n    }\n    if (something) {\n    }\n\n    do {\n    } while (true);\n\n}\n\nif (one) {\n} else (two) {\n} else if (three) {\n}\nif (one) {\n} else (two) {\n} else if (three) {\n}\n\nswitch (blah) {\n    case 'one':\n        if (blah) {\n            // There are no spaces before break.\n        }\n    break;\n\n    default:\n        if (blah) {\n            // There are no spaces before break.\n        }\n    break;\n}\n\nswitch (blah) {\n    case 'one':\n        if (blah) {\n            // There are no spaces before break.\n        }\n    break;\n\n    default:\n        if (blah) {\n            // Code here.\n        }\n}\n\nfor (i = 0; i < 10; i++) {\n    if (blah) {\n    }\n    break;\n}\n\nwhile (true) {\n    for (i = 0; i < 10; i++) {\n\n        if (something) {\n        }\n\n    }\n\n    do {\n\n        alert(i);\n    } while (true);\n}\n\nfor (  i = 0; i < 10; i++  ) {\n    if ( blah   ) {\n    }\n}\n\nvar x = {\n    a: function () {\n        if (blah) {\n        }\n\n    },\n};\n\nif (one) {\n}\n// else if something\nelse if (two) {\n} // else do something\nelse {\n}\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionClosingBraceSpaceUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: Unexpected token .","line":120,"column":9}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"function FuncOne()\n{\n    // Code here.\n\n}//end AdjustModalDialogWidgetType\n\n\nTesting.prototype = {\n\n    doSomething: function()\n    {\n        // Code here.\n    },\n\n    doSomethingElse: function()\n    {\n        // Code here.\n\n    },\n};\n\nfunction FuncFour()\n{\n    // Code here.\n}\n\nfunction FuncFive()\n{\n    // Code here.\n\n\n}\n\nfunction valid()\n{\n   if (true) {\n       test = {\n           namespaces: {}\n       };\n   }\n\n}\n\ndfx.addEvent(this.rightScroll, 'mousedown', function() {\n    t = setInterval(function() {\n        pos -= 10;\n    }, 30);\n});\n\n// Valid because function is empty.\nif (dfx.isFn(callback) === false) {\n    callback = function() {};\n    callback = function() { };\n}\n\nAbstractAttributeEditorWidgetType.prototype = {\n    isActive: function() {\n        return this.active;\n    },\n\n    activate: function(data)\n    {\n        var x = {\n            test: function () {\n                alert('This is ok');\n\n            }\n        };\n\n        this.active = true;\n\n    }\n\n};\n\nvar myFunc = function()\n{\n    var x = 1;\n\n    blah(function() {\n        alert(2);\n    });\n\n    blah(function() { alert(2); });\n\n    return x;\n\n}\n\na.prototype = {\n\n    a: function()\n    {\n        var settings = {\n            default: ''\n        };\n\n    },\n\n    b: function()\n    {\n        var self = this;\n\n    }\n\n};\n\nvar a = new function()\n{\n    this.initScreen = function(usersFolderid)\n    {\n        for (var i = 0; i < paramSelectors.length; i++) {\n        }//end for\n    }\n\n};\n\na.prototype = {\n\n    this.addItem(\n            id,\n            {\n                b: function()\n                {\n                    for (var i = 0; i < paramSelectors.length; i++) {\n                    }//end for\n\n                }\n            }\n    )\n\n};\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/FunctionOpeningBraceSpaceUnitTest.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":1,"column":1,"nodeType":"FunctionDeclaration","messageId":"globalNonLexicalBinding","endLine":4,"endColumn":2},{"ruleId":"no-unused-vars","severity":2,"message":"'FuncOne' is defined but never used.","line":1,"column":10,"nodeType":"Identifier","endLine":1,"endColumn":17},{"ruleId":"no-undef","severity":2,"message":"'Testing' is not defined.","line":6,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":6,"endColumn":8},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 2 statements. Maximum allowed is 1.","line":20,"column":92,"nodeType":"ExpressionStatement","messageId":"exceed","endLine":20,"endColumn":109},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":25,"column":1,"nodeType":"FunctionDeclaration","messageId":"globalNonLexicalBinding","endLine":28,"endColumn":2},{"ruleId":"no-unused-vars","severity":2,"message":"'FuncFour' is defined but never used.","line":25,"column":10,"nodeType":"Identifier","endLine":25,"endColumn":18},{"ruleId":"no-undef","severity":2,"message":"'AbstractAttributeEditorWidgetType' is not defined.","line":30,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":30,"endColumn":34},{"ruleId":"no-unused-vars","severity":2,"message":"'data' is defined but never used.","line":37,"column":23,"nodeType":"Identifier","endLine":37,"endColumn":27},{"ruleId":"no-unused-vars","severity":2,"message":"'x' is assigned a value but never used.","line":38,"column":7,"nodeType":"Identifier","endLine":38,"endColumn":8},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":40,"column":5,"nodeType":"CallExpression","messageId":"unexpected","endLine":40,"endColumn":26},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":50,"column":1,"nodeType":"FunctionDeclaration","messageId":"globalNonLexicalBinding","endLine":58,"endColumn":2},{"ruleId":"no-unused-vars","severity":2,"message":"'test' is defined but never used.","line":50,"column":10,"nodeType":"Identifier","endLine":50,"endColumn":14},{"ruleId":"no-unused-vars","severity":2,"message":"'y' is assigned a value but never used.","line":52,"column":3,"nodeType":"Identifier","endLine":52,"endColumn":4},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":53,"column":4,"nodeType":"CallExpression","messageId":"unexpected","endLine":53,"endColumn":14},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":60,"column":1,"nodeType":"VariableDeclaration","messageId":"top","endLine":71,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":60,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":71,"endColumn":2},{"ruleId":"no-unused-vars","severity":2,"message":"'myFunc' is assigned a value but never used.","line":60,"column":5,"nodeType":"Identifier","endLine":60,"endColumn":11},{"ruleId":"no-undef","severity":2,"message":"'blah' is not defined.","line":63,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":63,"endColumn":6},{"ruleId":"no-undef","severity":2,"message":"'y' is not defined.","line":63,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":63,"endColumn":12},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":64,"column":3,"nodeType":"CallExpression","messageId":"unexpected","endLine":64,"endColumn":13},{"ruleId":"no-undef","severity":2,"message":"'z' is not defined.","line":65,"column":5,"nodeType":"Identifier","messageId":"undef","endLine":65,"endColumn":6},{"ruleId":"no-undef","severity":2,"message":"'blah' is not defined.","line":67,"column":2,"nodeType":"Identifier","messageId":"undef","endLine":67,"endColumn":6},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 2 statements. Maximum allowed is 1.","line":67,"column":22,"nodeType":"ExpressionStatement","messageId":"exceed","endLine":67,"endColumn":33},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":67,"column":22,"nodeType":"CallExpression","messageId":"unexpected","endLine":67,"endColumn":32},{"ruleId":"no-undef","severity":2,"message":"'HelpWidgetType' is not defined.","line":73,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":73,"endColumn":15},{"ruleId":"no-unused-vars","severity":2,"message":"'y' is assigned a value but never used.","line":76,"column":4,"nodeType":"Identifier","endLine":76,"endColumn":5},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":79,"column":6,"nodeType":"CallExpression","messageId":"unexpected","endLine":79,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'CustomFormEditWidgetType' is not defined.","line":87,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":87,"endColumn":25},{"ruleId":"no-unused-vars","severity":2,"message":"'settings' is assigned a value but never used.","line":90,"column":7,"nodeType":"Identifier","endLine":90,"endColumn":15},{"ruleId":"no-unused-vars","severity":2,"message":"'self' is assigned a value but never used.","line":97,"column":7,"nodeType":"Identifier","endLine":97,"endColumn":11}],"errorCount":30,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"function FuncOne() {\n\t// Code here.\n\n}// end AdjustModalDialogWidgetType\n\nTesting.prototype = {\n\n\tdoSomething: function () {\n\n\t\t// Code here.\n\n\t},\n\n\tdoSomethingElse: function () {\n\t\t// Code here.\n\n\t},\n\n\tstart: function () {\n\t\tthis.toolbarPlugin.addButton( 'Image', 'imageEditor', 'Insert/Edit Image', function () { self.editImage(); } );\n\n\t}\n};\n\nfunction FuncFour() {\n\n\t// Code here.\n}\n\nAbstractAttributeEditorWidgetType.prototype = {\n\tisActive: function () {\n\n\t\treturn this.active;\n\n\t},\n\n\tactivate: function ( data ) {\n\t\tvar x = {\n\t\t\ttest: function () {\n\t\t\t\talert( 'This is ok' );\n\t\t\t}\n\t\t};\n\n\t\tthis.active = true;\n\n\t}\n\n};\n\nfunction test() {\n\tvar x = 1,\n\t\ty = function () {\n\t\t\talert( 1 );\n\t\t};\n\n\treturn x;\n\n}\n\nvar myFunc = function () {\n\tvar x = 1;\n\n\tblah( x, y, function () {\n\t\talert( 2 );\n\t}, z );\n\n\tblah( function () { alert( 2 ); } );\n\n\treturn x;\n\n};\n\nHelpWidgetType.prototype = {\n\tinit: function () {\n\t\tvar x = 1,\n\t\t\ty = {\n\t\t\t\ttest: function () {\n\n\t\t\t\t\talert( 3 );\n\t\t\t\t}\n\t\t\t};\n\t\treturn x;\n\n\t}\n};\n\nCustomFormEditWidgetType.prototype = {\n\n\taddQuestion: function () {\n\t\tvar settings = {\n\t\t\tdefault: ''\n\t\t};\n\n\t},\n\n\taddQuestionRulesEvent: function () {\n\t\tvar self = this;\n\n\t}\n\n};\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/LogicalOperatorSpacingUnitTest.js","messages":[{"ruleId":"no-undef","severity":2,"message":"'foo' is not defined.","line":1,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'bar' is not defined.","line":1,"column":13,"nodeType":"Identifier","messageId":"undef","endLine":1,"endColumn":16},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":1,"column":19,"nodeType":"BlockStatement","messageId":"unexpected","endLine":1,"endColumn":21},{"ruleId":"no-undef","severity":2,"message":"'foo' is not defined.","line":2,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":2,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'bar' is not defined.","line":2,"column":13,"nodeType":"Identifier","messageId":"undef","endLine":2,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'baz' is not defined.","line":2,"column":20,"nodeType":"Identifier","messageId":"undef","endLine":2,"endColumn":23},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":2,"column":26,"nodeType":"BlockStatement","messageId":"unexpected","endLine":2,"endColumn":28},{"ruleId":"no-undef","severity":2,"message":"'foo' is not defined.","line":3,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":3,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'bar' is not defined.","line":3,"column":13,"nodeType":"Identifier","messageId":"undef","endLine":3,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'baz' is not defined.","line":3,"column":20,"nodeType":"Identifier","messageId":"undef","endLine":3,"endColumn":23},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":3,"column":26,"nodeType":"BlockStatement","messageId":"unexpected","endLine":3,"endColumn":28},{"ruleId":"no-undef","severity":2,"message":"'foo' is not defined.","line":4,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":4,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'bar' is not defined.","line":4,"column":13,"nodeType":"Identifier","messageId":"undef","endLine":4,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'baz' is not defined.","line":4,"column":20,"nodeType":"Identifier","messageId":"undef","endLine":4,"endColumn":23},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":4,"column":26,"nodeType":"BlockStatement","messageId":"unexpected","endLine":4,"endColumn":28},{"ruleId":"no-undef","severity":2,"message":"'foo' is not defined.","line":7,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":7,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'bar' is not defined.","line":8,"column":5,"nodeType":"Identifier","messageId":"undef","endLine":8,"endColumn":8},{"ruleId":"no-undef","severity":2,"message":"'baz' is not defined.","line":9,"column":5,"nodeType":"Identifier","messageId":"undef","endLine":9,"endColumn":8},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":10,"column":3,"nodeType":"BlockStatement","messageId":"unexpected","endLine":11,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'foo' is not defined.","line":13,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":13,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'bar' is not defined.","line":14,"column":5,"nodeType":"Identifier","messageId":"undef","endLine":14,"endColumn":8},{"ruleId":"no-undef","severity":2,"message":"'baz' is not defined.","line":15,"column":5,"nodeType":"Identifier","messageId":"undef","endLine":15,"endColumn":8},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":16,"column":3,"nodeType":"BlockStatement","messageId":"unexpected","endLine":17,"endColumn":2}],"errorCount":23,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"if ( foo || bar ) {}\nif ( foo || bar && baz ) {}\nif ( foo || bar && baz ) {}\nif ( foo || bar && baz ) {}\n\n// Spacing after || below is ignored as it is EOL whitespace.\nif ( foo ||\n    bar &&\n    baz\n) {\n}\n\nif ( foo ||\n    bar &&\n    baz\n) {\n}\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/OperatorSpacingUnitTest.js","messages":[{"ruleId":null,"fatal":true,"severity":2,"message":"Parsing error: 'return' outside of function","line":61,"column":5}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"\n\nresult = 1 + 2;\nresult = 1  + 2;\nresult = 1  +   2;\nresult = 1 +2;\nresult = 1+ 2;\nresult = 1+2;\n\nresult = 1 - 2;\nresult = 1  - 2;\nresult = 1  -   2;\nresult = 1 -2;\nresult = 1- 2;\nresult = 1-2;\n\nresult = 1 * 2;\nresult = 1  * 2;\nresult = 1  *   2;\nresult = 1 *2;\nresult = 1* 2;\nresult = 1*2;\n\nresult = 1 / 2;\nresult = 1  / 2;\nresult = 1  /   2;\nresult = 1 /2;\nresult = 1/ 2;\nresult = 1/2;\n\nresult = 1 % 2;\nresult = 1  % 2;\nresult = 1  %   2;\nresult = 1 %2;\nresult = 1% 2;\nresult = 1%2;\nresult = '100%';\n\nresult += 4;\nresult+=4;\nresult -= 4;\nresult-=4;\nresult /= 4;\nresult/=4;\nresult *=4;\nresult*=4;\n\n$.localScroll({offset: {top: -32}});\n\nswitch (result) {\n\tcase -1:\n\t\tbreak;\n}\n\nresult = x?y:z;\nresult = x ? y : z;\n\nif (something === true\n    ^ somethingElse === true\n) {\n    return false;\n}\n\ny = 1\n  + 2  \n  - 3;\n\ny = 1 + \n    2 - \n    3;\n\ny = 1\n+ 2\n- 3;\n\n// phpcs:set Squiz.WhiteSpace.OperatorSpacing ignoreNewlines true\ny = 1\n  + 2\n  - 3;\n\ny = 1 +\n    2 -\n    3;\n\ny = 1\n+ 2\n- 3;\n// phpcs:set Squiz.WhiteSpace.OperatorSpacing ignoreNewlines false\n\nif (true || -1 == b) {\n}\n\nx = x << y;\nx <<= y;\nx = x >> y;\nx >>= y;\nx = x >>> y;\nx >>>= y;\n\nvar foo = bar.map(baz=> baz.length);\n\n// phpcs:set Squiz.WhiteSpace.OperatorSpacing ignoreSpacingBeforeAssignments false\na  =  3;\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/PropertyLabelSpacingUnitTest.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":1,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":14,"endColumn":2},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":6,"column":3,"nodeType":"CallExpression","messageId":"unexpected","endLine":6,"endColumn":25},{"ruleId":"no-undef","severity":2,"message":"'a' is not defined.","line":7,"column":13,"nodeType":"Identifier","messageId":"undef","endLine":7,"endColumn":14},{"ruleId":"no-undef","severity":2,"message":"'id' is not defined.","line":16,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":16,"endColumn":3},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":16,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":16,"endColumn":34},{"ruleId":"no-undef","severity":2,"message":"'id' is not defined.","line":16,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":16,"endColumn":8},{"ruleId":"camelcase","severity":2,"message":"Identifier 'outer_loop' is not in camel case.","line":18,"column":1,"nodeType":"Identifier","messageId":"notCamelCase","endLine":18,"endColumn":11},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":19,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":19,"endColumn":8},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":19,"column":7,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":19,"endColumn":12},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":19,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":19,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":19,"column":21,"nodeType":"Identifier","messageId":"undef","endLine":19,"endColumn":22},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":20,"column":8,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":20,"endColumn":13},{"ruleId":"no-undef","severity":2,"message":"'j' is not defined.","line":20,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":20,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'j' is not defined.","line":20,"column":15,"nodeType":"Identifier","messageId":"undef","endLine":20,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'j' is not defined.","line":20,"column":22,"nodeType":"Identifier","messageId":"undef","endLine":20,"endColumn":23},{"ruleId":"no-undef","severity":2,"message":"'j' is not defined.","line":21,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":21,"endColumn":9},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":21,"column":10,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":21,"endColumn":12},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 2 statements. Maximum allowed is 1.","line":21,"column":19,"nodeType":"BreakStatement","messageId":"exceed","endLine":21,"endColumn":36},{"ruleId":"camelcase","severity":2,"message":"Identifier 'outer_loop' is not in camel case.","line":21,"column":25,"nodeType":"Identifier","messageId":"notCamelCase","endLine":21,"endColumn":35},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":24,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":24,"endColumn":14},{"ruleId":"camelcase","severity":2,"message":"Identifier 'even_number' is not in camel case.","line":26,"column":1,"nodeType":"Identifier","messageId":"notCamelCase","endLine":26,"endColumn":12},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":26,"column":21,"nodeType":"Identifier","messageId":"undef","endLine":26,"endColumn":22},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":26,"column":29,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":26,"endColumn":31},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":27,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":27,"endColumn":8},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":27,"column":9,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":27,"endColumn":11},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 2 statements. Maximum allowed is 1.","line":27,"column":19,"nodeType":"BreakStatement","messageId":"exceed","endLine":27,"endColumn":37},{"ruleId":"camelcase","severity":2,"message":"Identifier 'even_number' is not in camel case.","line":27,"column":25,"nodeType":"Identifier","messageId":"notCamelCase","endLine":27,"endColumn":36},{"ruleId":"no-undef","severity":2,"message":"'blah' is not defined.","line":30,"column":10,"nodeType":"Identifier","messageId":"undef","endLine":30,"endColumn":14},{"ruleId":"no-undef","severity":2,"message":"'dfx' is not defined.","line":31,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":31,"endColumn":10},{"ruleId":"no-undef","severity":2,"message":"'shiftKey' is not defined.","line":32,"column":19,"nodeType":"Identifier","messageId":"undef","endLine":32,"endColumn":27},{"ruleId":"no-undef","severity":2,"message":"'blah' is not defined.","line":35,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":35,"endColumn":12},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":35,"column":15,"nodeType":"BlockStatement","messageId":"unexpected","endLine":36,"endColumn":4}],"errorCount":32,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"var x = {\n\tb: 'x',\n\txasd: x,\n\tabc: x,\n\ta: function () {\n\t\talert( 'thats right' );\n\t\tx = ( x ? a : x );\n\t},\n\tcasdasd: 123123,\n\tomgwtfbbq: {\n\t\ta: 1,\n\t\tb: 2\n\t}\n};\n\nid = id.replace( /row\\/:/gi, '' );\n\nouter_loop:\nfor ( i = 0; i < 3; i++ ) {\n\tfor ( j = 0; j < 5; j++ ) {\n\t\tif ( j == x ) { break outer_loop; }\n\t}\n}\nalert( 'hi' );\n\neven_number: if ( ( i % 2 ) == 0 ) {\n\tif ( i == 12 ) { break even_number; }\n}\n\nswitch ( blah ) {\n\tcase dfx.DOM_VK_LEFT:\n\t\tthis.caretLeft( shiftKey );\n\t\tbreak;\n\tdefault:\n\t\tif ( blah ) {\n\t\t}\n\t\tbreak;\n}\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SemicolonSpacingUnitTest.js","messages":[{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":1,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":6,"endColumn":2},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":3,"column":3,"nodeType":"CallExpression","messageId":"unexpected","endLine":3,"endColumn":25},{"ruleId":"no-undef","severity":2,"message":"'a' is not defined.","line":4,"column":13,"nodeType":"Identifier","messageId":"undef","endLine":4,"endColumn":14},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":8,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":8,"endColumn":35},{"ruleId":"no-undef","severity":2,"message":"'id' is not defined.","line":8,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":8,"endColumn":3},{"ruleId":"no-undef","severity":2,"message":"'id' is not defined.","line":8,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":8,"endColumn":8},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":10,"column":7,"nodeType":"Identifier","messageId":"undef","endLine":10,"endColumn":8},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":10,"column":7,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":10,"endColumn":12},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":10,"column":14,"nodeType":"Identifier","messageId":"undef","endLine":10,"endColumn":15},{"ruleId":"no-undef","severity":2,"message":"'i' is not defined.","line":10,"column":21,"nodeType":"Identifier","messageId":"undef","endLine":10,"endColumn":22},{"ruleId":"no-undef","severity":2,"message":"'j' is not defined.","line":11,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":11,"endColumn":9},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":11,"column":8,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":11,"endColumn":13},{"ruleId":"no-undef","severity":2,"message":"'j' is not defined.","line":11,"column":15,"nodeType":"Identifier","messageId":"undef","endLine":11,"endColumn":16},{"ruleId":"no-undef","severity":2,"message":"'j' is not defined.","line":11,"column":22,"nodeType":"Identifier","messageId":"undef","endLine":11,"endColumn":23},{"ruleId":"no-undef","severity":2,"message":"'j' is not defined.","line":12,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":12,"endColumn":9},{"ruleId":"eqeqeq","severity":2,"message":"Expected '===' and instead saw '=='.","line":12,"column":10,"nodeType":"BinaryExpression","messageId":"unexpected","endLine":12,"endColumn":12},{"ruleId":"max-statements-per-line","severity":2,"message":"This line has 2 statements. Maximum allowed is 1.","line":12,"column":19,"nodeType":"BreakStatement","messageId":"exceed","endLine":12,"endColumn":25},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":15,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":15,"endColumn":14},{"ruleId":"vars-on-top","severity":2,"message":"All 'var' declarations must be at the top of the function scope.","line":17,"column":1,"nodeType":"VariableDeclaration","messageId":"top","endLine":21,"endColumn":10},{"ruleId":"one-var","severity":2,"message":"Combine this with the previous 'var' statement.","line":17,"column":1,"nodeType":"VariableDeclaration","endLine":21,"endColumn":10},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":17,"column":5,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":17,"endColumn":12},{"ruleId":"no-unused-vars","severity":2,"message":"'sum' is assigned a value but never used.","line":17,"column":5,"nodeType":"Identifier","endLine":17,"endColumn":8},{"ruleId":"no-undef","severity":2,"message":"'a' is not defined.","line":17,"column":11,"nodeType":"Identifier","messageId":"undef","endLine":17,"endColumn":12},{"ruleId":"no-redeclare","severity":2,"message":"'sum' is already defined.","line":19,"column":2,"nodeType":"Identifier","messageId":"redeclared","endLine":19,"endColumn":5},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":19,"column":2,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":19,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'a' is not defined.","line":19,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":19,"endColumn":9},{"ruleId":"no-redeclare","severity":2,"message":"'sum' is already defined.","line":21,"column":2,"nodeType":"Identifier","messageId":"redeclared","endLine":21,"endColumn":5},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected 'var' declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":21,"column":2,"nodeType":"VariableDeclarator","messageId":"globalNonLexicalBinding","endLine":21,"endColumn":9},{"ruleId":"no-undef","severity":2,"message":"'a' is not defined.","line":21,"column":8,"nodeType":"Identifier","messageId":"undef","endLine":21,"endColumn":9}],"errorCount":29,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"var x = {\n\ta: function () {\n\t\talert( 'thats right' );\n\t\tx = ( x ? a : x );\n\t}\n};\n\nid = id.replace( /row\\/:;/gi, '' );\n\nfor ( i = 0; i < 3; i++ ) {\n\tfor ( j = 0; j < 5; j++ ) {\n\t\tif ( j == x ) { break; }\n\t}\n}\nalert( 'hi' );\n\nvar sum = a,\n\n\tsum = a, // +b\n\n\tsum = a;\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.1.js","messages":[{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":1,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":1,"endColumn":14},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":2,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":2,"endColumn":17},{"ruleId":"no-undef","severity":2,"message":"'something' is not defined.","line":4,"column":6,"nodeType":"Identifier","messageId":"undef","endLine":4,"endColumn":15},{"ruleId":"no-empty","severity":2,"message":"Empty block statement.","line":4,"column":18,"nodeType":"BlockStatement","messageId":"unexpected","endLine":6,"endColumn":2},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":8,"column":1,"nodeType":"FunctionDeclaration","messageId":"globalNonLexicalBinding","endLine":19,"endColumn":2},{"ruleId":"no-unused-vars","severity":2,"message":"'myFunction' is defined but never used.","line":8,"column":10,"nodeType":"Identifier","endLine":8,"endColumn":20},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":9,"column":2,"nodeType":"CallExpression","messageId":"unexpected","endLine":9,"endColumn":22},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":11,"column":2,"nodeType":"CallExpression","messageId":"unexpected","endLine":11,"endColumn":22},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":21,"column":1,"nodeType":"FunctionDeclaration","messageId":"globalNonLexicalBinding","endLine":26,"endColumn":2},{"ruleId":"no-unused-vars","severity":2,"message":"'myFunction2' is defined but never used.","line":21,"column":10,"nodeType":"Identifier","endLine":21,"endColumn":21},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":22,"column":2,"nodeType":"CallExpression","messageId":"unexpected","endLine":22,"endColumn":22},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":24,"column":2,"nodeType":"CallExpression","messageId":"unexpected","endLine":24,"endColumn":22},{"ruleId":"no-implicit-globals","severity":2,"message":"Global variable leak, declare the variable if it is intended to be local.","line":28,"column":1,"nodeType":"AssignmentExpression","messageId":"globalVariableLeak","endLine":33,"endColumn":2},{"ruleId":"no-undef","severity":2,"message":"'MyFunction' is not defined.","line":28,"column":1,"nodeType":"Identifier","messageId":"undef","endLine":28,"endColumn":11},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":29,"column":2,"nodeType":"CallExpression","messageId":"unexpected","endLine":29,"endColumn":22},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":31,"column":2,"nodeType":"CallExpression","messageId":"unexpected","endLine":31,"endColumn":22},{"ruleId":"no-implicit-globals","severity":2,"message":"Unexpected function declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.","line":37,"column":1,"nodeType":"FunctionDeclaration","messageId":"globalNonLexicalBinding","endLine":42,"endColumn":2},{"ruleId":"no-redeclare","severity":2,"message":"'myFunction2' is already defined.","line":37,"column":10,"nodeType":"Identifier","messageId":"redeclared","endLine":37,"endColumn":21},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":38,"column":2,"nodeType":"CallExpression","messageId":"unexpected","endLine":38,"endColumn":22},{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":40,"column":2,"nodeType":"CallExpression","messageId":"unexpected","endLine":40,"endColumn":22}],"errorCount":20,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"alert( 'hi' );\nalert( 'hello' );\n\nif ( something ) {\n\n}\n\nfunction myFunction() {\n\talert( 'code here' );\n\n\talert( 'code here' );\n\n\t// Hello.\n\n\t/*\n        HI\n    */\n\n}\n\nfunction myFunction2() {\n\talert( 'code here' );\n\n\talert( 'code here' );\n\n}\n\nMyFunction = function () {\n\talert( 'code here' );\n\n\talert( 'code here' );\n\n};\n\n// phpcs:set Squiz.WhiteSpace.SuperfluousWhitespace ignoreBlankLines true\n\nfunction myFunction2() {\n\talert( 'code here' );\n\n\talert( 'code here' );\n\n}\n\n// phpcs:set Squiz.WhiteSpace.SuperfluousWhitespace ignoreBlankLines false\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.2.js","messages":[{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":1,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":1,"endColumn":14}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"alert( 'hi' );\n"},{"filePath":"/venv/src/repo/vendor/squizlabs/php_codesniffer/src/Standards/Squiz/Tests/WhiteSpace/SuperfluousWhitespaceUnitTest.3.js","messages":[{"ruleId":"no-alert","severity":2,"message":"Unexpected alert.","line":1,"column":1,"nodeType":"CallExpression","messageId":"unexpected","endLine":1,"endColumn":14}],"errorCount":1,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"source":"alert( 'hi' );\n"}]

$ npm ci
npm WARN prepare removing existing node_modules/ before installation
added 518 packages in 19.582s

$ npm test

> @ test /venv/src/repo
> grunt test

Running "eslint:all" (eslint) task

Running "banana:all" (banana) task
>> 5 message directories checked.

Running "stylelint:all" (stylelint) task
Browserslist: caniuse-lite is outdated. Please run next command `npm update`
>> Linted 28 files without errors

Done.

$ git add .

$ grr init
Installed commit-msg hook

$ git commit -F /tmp/tmp9j8cj5x1
[master 33d1b57] build: Updating npm dependencies
 4 files changed, 262 insertions(+), 167 deletions(-)

$ git format-patch HEAD~1 --stdout
From 33d1b57debbc19159de36744f58fa965c15d66ca Mon Sep 17 00:00:00 2001
From: libraryupgrader <tools.libraryupgrader@tools.wmflabs.org>
Date: Wed, 8 Jan 2020 09:18:20 +0000
Subject: [PATCH] build: Updating npm dependencies
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

* grunt-eslint: 21.0.0 → 22.0.0
* eslint-config-wikimedia: 0.13.1 → 0.15.0
  The following rules are failing and were disabled:
  * brace-style
  * camelcase
  * eqeqeq
  * max-statements-per-line
  * new-cap
  * no-alert
  * no-console
  * no-constant-condition
  * no-dupe-keys
  * no-empty
  * no-implicit-globals
  * no-mixed-spaces-and-tabs
  * no-new
  * no-redeclare
  * no-tabs
  * no-undef
  * no-underscore-dangle
  * no-unused-expressions
  * no-unused-vars
  * no-useless-concat
  * one-var
  * valid-jsdoc
  * vars-on-top

Additional changes:
* Added .eslintcache to .gitignore.
* Removing manual reportUnusedDisableDirectives for eslint.

Change-Id: I9ddeb560dbffad4d46b4be84966687761a231874
---
 .eslintrc.json    |  25 +++-
 Gruntfile.js      |   3 +-
 package-lock.json | 397 ++++++++++++++++++++++++++++++++----------------------
 package.json      |   4 +-
 4 files changed, 262 insertions(+), 167 deletions(-)

diff --git a/.eslintrc.json b/.eslintrc.json
index 91a0513..0e95e51 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -14,6 +14,29 @@
 	},
 	"rules": {
 		"max-len": 0,
-		"no-use-before-define": 0
+		"no-use-before-define": 0,
+		"brace-style": "warn",
+		"camelcase": "warn",
+		"eqeqeq": "warn",
+		"max-statements-per-line": "warn",
+		"new-cap": "warn",
+		"no-alert": "warn",
+		"no-console": "warn",
+		"no-constant-condition": "warn",
+		"no-dupe-keys": "warn",
+		"no-empty": "warn",
+		"no-implicit-globals": "warn",
+		"no-mixed-spaces-and-tabs": "warn",
+		"no-new": "warn",
+		"no-redeclare": "warn",
+		"no-tabs": "warn",
+		"no-undef": "warn",
+		"no-underscore-dangle": "warn",
+		"no-unused-expressions": "warn",
+		"no-unused-vars": "warn",
+		"no-useless-concat": "warn",
+		"one-var": "warn",
+		"valid-jsdoc": "warn",
+		"vars-on-top": "warn"
 	}
 }
diff --git a/Gruntfile.js b/Gruntfile.js
index 4e1bd47..3e5d50a 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -10,8 +10,7 @@ module.exports = function ( grunt ) {
 		eslint: {
 			options: {
 				extensions: [ '.js', '.json' ],
-				cache: true,
-				reportUnusedDisableDirectives: true
+				cache: true
 			},
 			all: [
 				'**/*.js{,on}',
diff --git a/package-lock.json b/package-lock.json
index a05b6d8..1e1fd26 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -237,15 +237,15 @@
       "dev": true
     },
     "acorn": {
-      "version": "6.1.1",
-      "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.1.1.tgz",
-      "integrity": "sha512-jPTiwtOxaHNaAPg/dmrJ/beuzLRnXtB0kQPQ8JpotKJgTB6rX6c8mlf315941pyjBSaPg8NHXS9fhP4u17DpGA==",
+      "version": "7.1.0",
+      "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.1.0.tgz",
+      "integrity": "sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ==",
       "dev": true
     },
     "acorn-jsx": {
-      "version": "5.0.1",
-      "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.1.tgz",
-      "integrity": "sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg==",
+      "version": "5.1.0",
+      "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.1.0.tgz",
+      "integrity": "sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==",
       "dev": true
     },
     "ajv": {
@@ -261,15 +261,18 @@
       }
     },
     "ansi-escapes": {
-      "version": "3.2.0",
-      "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz",
-      "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==",
-      "dev": true
+      "version": "4.3.0",
+      "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.0.tgz",
+      "integrity": "sha512-EiYhwo0v255HUL6eDyuLrXEkTi7WwVCLAw+SeOQ7M7qdun1z1pum4DEm/nuqIVbPvi9RPPc9k9LbyBv6H0DwVg==",
+      "dev": true,
+      "requires": {
+        "type-fest": "^0.8.1"
+      }
     },
     "ansi-regex": {
-      "version": "3.0.0",
-      "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz",
-      "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=",
+      "version": "5.0.0",
+      "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz",
+      "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==",
       "dev": true
     },
     "ansi-styles": {
@@ -645,12 +648,12 @@
       }
     },
     "cli-cursor": {
-      "version": "2.1.0",
-      "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz",
-      "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=",
+      "version": "3.1.0",
+      "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz",
+      "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==",
       "dev": true,
       "requires": {
-        "restore-cursor": "^2.0.0"
+        "restore-cursor": "^3.1.0"
       }
     },
     "cli-width": {
@@ -1002,58 +1005,86 @@
       "dev": true
     },
     "eslint": {
-      "version": "5.16.0",
-      "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.16.0.tgz",
-      "integrity": "sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==",
+      "version": "6.8.0",
+      "resolved": "https://registry.npmjs.org/eslint/-/eslint-6.8.0.tgz",
+      "integrity": "sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig==",
       "dev": true,
       "requires": {
         "@babel/code-frame": "^7.0.0",
-        "ajv": "^6.9.1",
+        "ajv": "^6.10.0",
         "chalk": "^2.1.0",
         "cross-spawn": "^6.0.5",
         "debug": "^4.0.1",
         "doctrine": "^3.0.0",
-        "eslint-scope": "^4.0.3",
-        "eslint-utils": "^1.3.1",
-        "eslint-visitor-keys": "^1.0.0",
-        "espree": "^5.0.1",
+        "eslint-scope": "^5.0.0",
+        "eslint-utils": "^1.4.3",
+        "eslint-visitor-keys": "^1.1.0",
+        "espree": "^6.1.2",
         "esquery": "^1.0.1",
         "esutils": "^2.0.2",
         "file-entry-cache": "^5.0.1",
         "functional-red-black-tree": "^1.0.1",
-        "glob": "^7.1.2",
-        "globals": "^11.7.0",
+        "glob-parent": "^5.0.0",
+        "globals": "^12.1.0",
         "ignore": "^4.0.6",
         "import-fresh": "^3.0.0",
         "imurmurhash": "^0.1.4",
-        "inquirer": "^6.2.2",
-        "js-yaml": "^3.13.0",
+        "inquirer": "^7.0.0",
+        "is-glob": "^4.0.0",
+        "js-yaml": "^3.13.1",
         "json-stable-stringify-without-jsonify": "^1.0.1",
         "levn": "^0.3.0",
-        "lodash": "^4.17.11",
+        "lodash": "^4.17.14",
         "minimatch": "^3.0.4",
         "mkdirp": "^0.5.1",
         "natural-compare": "^1.4.0",
-        "optionator": "^0.8.2",
-        "path-is-inside": "^1.0.2",
+        "optionator": "^0.8.3",
         "progress": "^2.0.0",
         "regexpp": "^2.0.1",
-        "semver": "^5.5.1",
-        "strip-ansi": "^4.0.0",
-        "strip-json-comments": "^2.0.1",
+        "semver": "^6.1.2",
+        "strip-ansi": "^5.2.0",
+        "strip-json-comments": "^3.0.1",
         "table": "^5.2.3",
-        "text-table": "^0.2.0"
+        "text-table": "^0.2.0",
+        "v8-compile-cache": "^2.0.3"
+      },
+      "dependencies": {
+        "glob-parent": {
+          "version": "5.1.0",
+          "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.0.tgz",
+          "integrity": "sha512-qjtRgnIVmOfnKUE3NJAQEdk+lKrxfw8t5ke7SXtfMTHcjsBfOfWXCQfdb30zfDoZQ2IRSIiidmjtbHZPZ++Ihw==",
+          "dev": true,
+          "requires": {
+            "is-glob": "^4.0.1"
+          }
+        },
+        "globals": {
+          "version": "12.3.0",
+          "resolved": "https://registry.npmjs.org/globals/-/globals-12.3.0.tgz",
+          "integrity": "sha512-wAfjdLgFsPZsklLJvOBUBmzYE8/CwhEqSBEMRXA3qxIiNtyqvjYurAtIfDh6chlEPUfmTY3MnZh5Hfh4q0UlIw==",
+          "dev": true,
+          "requires": {
+            "type-fest": "^0.8.1"
+          }
+        },
+        "semver": {
+          "version": "6.3.0",
+          "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz",
+          "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==",
+          "dev": true
+        }
       }
     },
     "eslint-config-wikimedia": {
-      "version": "0.13.1",
-      "resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.13.1.tgz",
-      "integrity": "sha512-/pdbBgaEmZ4WHQCjyCrdAlP+e4dPKr+nxeevVMYyvi420uunk14Hyf1qwCPdvY/noDEmFfEWltJG+2oEvWaLTQ==",
+      "version": "0.15.0",
+      "resolved": "https://registry.npmjs.org/eslint-config-wikimedia/-/eslint-config-wikimedia-0.15.0.tgz",
+      "integrity": "sha512-aW3ETh3MSZCNrEeehZZfLBGhaH1t928/YkQ9p7a4aB1ZX1G8uuw8jj7izkr0iJj3da42ZPZbnsjT3G5nmAwinw==",
       "dev": true,
       "requires": {
-        "eslint": "^5.16.0",
+        "eslint": "^6.5.1",
         "eslint-plugin-json": "^1.4.0",
-        "eslint-plugin-no-jquery": "^2.1.0",
+        "eslint-plugin-mediawiki": "^0.1.0",
+        "eslint-plugin-no-jquery": "^2.3.0",
         "eslint-plugin-qunit": "^4.0.0"
       }
     },
@@ -1066,10 +1097,16 @@
         "vscode-json-languageservice": "^3.2.1"
       }
     },
+    "eslint-plugin-mediawiki": {
+      "version": "0.1.0",
+      "resolved": "https://registry.npmjs.org/eslint-plugin-mediawiki/-/eslint-plugin-mediawiki-0.1.0.tgz",
+      "integrity": "sha512-OiRH4axfR+TOFbw/7fKHakgleo0z9nXAiLzN7Bo1iqQNK9QTTK0v1MqQUfJXy4SfDQih7g1yHUDl80Ea1oinmQ==",
+      "dev": true
+    },
     "eslint-plugin-no-jquery": {
-      "version": "2.1.0",
-      "resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-2.1.0.tgz",
-      "integrity": "sha512-5sr5tOJRfuRviyAvFTe/mr80TXWxTteD/JHRuJtDN8q/bxAh16eSKoKLAevLC7wZCRN2iwnEfhQPQV4rp/gYtg==",
+      "version": "2.3.1",
+      "resolved": "https://registry.npmjs.org/eslint-plugin-no-jquery/-/eslint-plugin-no-jquery-2.3.1.tgz",
+      "integrity": "sha512-/fiQUBSOMUETnfBuiK5ewvtRbek1IRTy5ov/6RZ6nlybvZ337vyGaNPWM1KgaIoIeN7dairNrPfq0h7A0tpT3A==",
       "dev": true
     },
     "eslint-plugin-qunit": {
@@ -1079,9 +1116,9 @@
       "dev": true
     },
     "eslint-scope": {
-      "version": "4.0.3",
-      "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz",
-      "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==",
+      "version": "5.0.0",
+      "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz",
+      "integrity": "sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==",
       "dev": true,
       "requires": {
         "esrecurse": "^4.1.0",
@@ -1089,29 +1126,29 @@
       }
     },
     "eslint-utils": {
-      "version": "1.4.2",
-      "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.2.tgz",
-      "integrity": "sha512-eAZS2sEUMlIeCjBeubdj45dmBHQwPHWyBcT1VSYB7o9x9WRRqKxyUoiXlRjyAwzN7YEzHJlYg0NmzDRWx6GP4Q==",
+      "version": "1.4.3",
+      "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz",
+      "integrity": "sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==",
       "dev": true,
       "requires": {
-        "eslint-visitor-keys": "^1.0.0"
+        "eslint-visitor-keys": "^1.1.0"
       }
     },
     "eslint-visitor-keys": {
-      "version": "1.0.0",
-      "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz",
-      "integrity": "sha512-qzm/XxIbxm/FHyH341ZrbnMUpe+5Bocte9xkmFMzPMjRaZMcXww+MpBptFvtU+79L362nqiLhekCxCxDPaUMBQ==",
+      "version": "1.1.0",
+      "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz",
+      "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==",
       "dev": true
     },
     "espree": {
-      "version": "5.0.1",
-      "resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz",
-      "integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==",
+      "version": "6.1.2",
+      "resolved": "https://registry.npmjs.org/espree/-/espree-6.1.2.tgz",
+      "integrity": "sha512-2iUPuuPP+yW1PZaMSDM9eyVf8D5P0Hi8h83YtZ5bPc/zHYjII5khoixIUTMO794NOY8F/ThF1Bo8ncZILarUTA==",
       "dev": true,
       "requires": {
-        "acorn": "^6.0.7",
-        "acorn-jsx": "^5.0.0",
-        "eslint-visitor-keys": "^1.0.0"
+        "acorn": "^7.1.0",
+        "acorn-jsx": "^5.1.0",
+        "eslint-visitor-keys": "^1.1.0"
       }
     },
     "esprima": {
@@ -1139,9 +1176,9 @@
       }
     },
     "estraverse": {
-      "version": "4.2.0",
-      "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz",
-      "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=",
+      "version": "4.3.0",
+      "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz",
+      "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==",
       "dev": true
     },
     "esutils": {
@@ -1249,9 +1286,9 @@
       }
     },
     "external-editor": {
-      "version": "3.0.3",
-      "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.0.3.tgz",
-      "integrity": "sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA==",
+      "version": "3.1.0",
+      "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz",
+      "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==",
       "dev": true,
       "requires": {
         "chardet": "^0.7.0",
@@ -1380,9 +1417,9 @@
       "dev": true
     },
     "figures": {
-      "version": "2.0.0",
-      "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz",
-      "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=",
+      "version": "3.1.0",
+      "resolved": "https://registry.npmjs.org/figures/-/figures-3.1.0.tgz",
+      "integrity": "sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg==",
       "dev": true,
       "requires": {
         "escape-string-regexp": "^1.0.5"
@@ -1702,13 +1739,13 @@
       "dev": true
     },
     "grunt-eslint": {
-      "version": "21.0.0",
-      "resolved": "https://registry.npmjs.org/grunt-eslint/-/grunt-eslint-21.0.0.tgz",
-      "integrity": "sha512-HJocD9P35lpCvy6pPPCTgzBavzckrT1nt7lpqV55Vy8E6LQJv4RortXoH1jJTYhO5DYY7RPATv7Uc4383PUYqQ==",
+      "version": "22.0.0",
+      "resolved": "https://registry.npmjs.org/grunt-eslint/-/grunt-eslint-22.0.0.tgz",
+      "integrity": "sha512-I7vIU4x/mb20fmA6TAmLx6Wzn7mfs8ZXeuk7LbP2ujKVFV7KZmJ3qXUyqe2wnD+v/74Rs5uYOZrLL8EoBmlG9Q==",
       "dev": true,
       "requires": {
         "chalk": "^2.1.0",
-        "eslint": "^5.0.0"
+        "eslint": "^6.0.1"
       }
     },
     "grunt-known-options": {
@@ -1908,9 +1945,9 @@
       "dev": true
     },
     "import-fresh": {
-      "version": "3.0.0",
-      "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.0.0.tgz",
-      "integrity": "sha512-pOnA9tfM3Uwics+SaBLCNyZZZbK+4PTu0OPZtLlMIrv17EdBoC15S9Kn8ckJ9TZTyKb3ywNE5y1yeDxxGA7nTQ==",
+      "version": "3.2.1",
+      "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz",
+      "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==",
       "dev": true,
       "requires": {
         "parent-module": "^1.0.0",
@@ -1967,40 +2004,31 @@
       "dev": true
     },
     "inquirer": {
-      "version": "6.3.1",
-      "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.3.1.tgz",
-      "integrity": "sha512-MmL624rfkFt4TG9y/Jvmt8vdmOo836U7Y0Hxr2aFk3RelZEGX4Igk0KabWrcaaZaTv9uzglOqWh1Vly+FAWAXA==",
+      "version": "7.0.3",
+      "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.0.3.tgz",
+      "integrity": "sha512-+OiOVeVydu4hnCGLCSX+wedovR/Yzskv9BFqUNNKq9uU2qg7LCcCo3R86S2E7WLo0y/x2pnEZfZe1CoYnORUAw==",
       "dev": true,
       "requires": {
-        "ansi-escapes": "^3.2.0",
+        "ansi-escapes": "^4.2.1",
         "chalk": "^2.4.2",
-        "cli-cursor": "^2.1.0",
+        "cli-cursor": "^3.1.0",
         "cli-width": "^2.0.0",
         "external-editor": "^3.0.3",
-        "figures": "^2.0.0",
-        "lodash": "^4.17.11",
-        "mute-stream": "0.0.7",
+        "figures": "^3.0.0",
+        "lodash": "^4.17.15",
+        "mute-stream": "0.0.8",
         "run-async": "^2.2.0",
-        "rxjs": "^6.4.0",
-        "string-width": "^2.1.0",
+        "rxjs": "^6.5.3",
+        "string-width": "^4.1.0",
         "strip-ansi": "^5.1.0",
         "through": "^2.3.6"
       },
       "dependencies": {
-        "ansi-regex": {
-          "version": "4.1.0",
-          "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
-          "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+        "lodash": {
+          "version": "4.17.15",
+          "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
+          "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==",
           "dev": true
-        },
-        "strip-ansi": {
-          "version": "5.2.0",
-          "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
-          "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
-          "dev": true,
-          "requires": {
-            "ansi-regex": "^4.1.0"
-          }
         }
       }
     },
@@ -2310,9 +2338,9 @@
       }
     },
     "jsonc-parser": {
-      "version": "2.1.0",
-      "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-2.1.0.tgz",
-      "integrity": "sha512-n9GrT8rrr2fhvBbANa1g+xFmgGK5X91KFeDwlKQ3+SJfmH5+tKv/M/kahx/TXOMflfWHKGKqKyfHQaLKTNzJ6w==",
+      "version": "2.2.0",
+      "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-2.2.0.tgz",
+      "integrity": "sha512-4fLQxW1j/5fWj6p78vAlAafoCKtuBm6ghv+Ij5W2DrDx0qE+ZdEl2c6Ko1mgJNF5ftX1iEWQQ4Ap7+3GlhjkOA==",
       "dev": true
     },
     "kind-of": {
@@ -2531,9 +2559,9 @@
       }
     },
     "mimic-fn": {
-      "version": "1.2.0",
-      "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz",
-      "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==",
+      "version": "2.1.0",
+      "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
+      "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
       "dev": true
     },
     "minimatch": {
@@ -2598,9 +2626,9 @@
       "dev": true
     },
     "mute-stream": {
-      "version": "0.0.7",
-      "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz",
-      "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=",
+      "version": "0.0.8",
+      "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz",
+      "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==",
       "dev": true
     },
     "nanomatch": {
@@ -2753,26 +2781,26 @@
       }
     },
     "onetime": {
-      "version": "2.0.1",
-      "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz",
-      "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=",
+      "version": "5.1.0",
+      "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz",
+      "integrity": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==",
       "dev": true,
       "requires": {
-        "mimic-fn": "^1.0.0"
+        "mimic-fn": "^2.1.0"
       }
     },
     "optionator": {
-      "version": "0.8.2",
-      "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz",
-      "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=",
+      "version": "0.8.3",
+      "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz",
+      "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==",
       "dev": true,
       "requires": {
         "deep-is": "~0.1.3",
-        "fast-levenshtein": "~2.0.4",
+        "fast-levenshtein": "~2.0.6",
         "levn": "~0.3.0",
         "prelude-ls": "~1.1.2",
         "type-check": "~0.3.2",
-        "wordwrap": "~1.0.0"
+        "word-wrap": "~1.2.3"
       }
     },
     "os-tmpdir": {
@@ -2864,12 +2892,6 @@
       "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
       "dev": true
     },
-    "path-is-inside": {
-      "version": "1.0.2",
-      "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz",
-      "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=",
-      "dev": true
-    },
     "path-key": {
       "version": "2.0.1",
       "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz",
@@ -3247,12 +3269,12 @@
       "dev": true
     },
     "restore-cursor": {
-      "version": "2.0.0",
-      "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz",
-      "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=",
+      "version": "3.1.0",
+      "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz",
+      "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==",
       "dev": true,
       "requires": {
-        "onetime": "^2.0.0",
+        "onetime": "^5.1.0",
         "signal-exit": "^3.0.2"
       }
     },
@@ -3281,9 +3303,9 @@
       }
     },
     "rxjs": {
-      "version": "6.5.2",
-      "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.2.tgz",
-      "integrity": "sha512-HUb7j3kvb7p7eCUHE3FqjoDsC1xfZQ4AHFWfTKSpZ+sAhhz5X1WX0ZuUqWbzB2QhSLp3DoLUG+hMdEDKqWo2Zg==",
+      "version": "6.5.4",
+      "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz",
+      "integrity": "sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q==",
       "dev": true,
       "requires": {
         "tslib": "^1.9.0"
@@ -3611,13 +3633,37 @@
       }
     },
     "string-width": {
-      "version": "2.1.1",
-      "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",
-      "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==",
+      "version": "4.2.0",
+      "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz",
+      "integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==",
       "dev": true,
       "requires": {
-        "is-fullwidth-code-point": "^2.0.0",
-        "strip-ansi": "^4.0.0"
+        "emoji-regex": "^8.0.0",
+        "is-fullwidth-code-point": "^3.0.0",
+        "strip-ansi": "^6.0.0"
+      },
+      "dependencies": {
+        "emoji-regex": {
+          "version": "8.0.0",
+          "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
+          "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
+          "dev": true
+        },
+        "is-fullwidth-code-point": {
+          "version": "3.0.0",
+          "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
+          "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
+          "dev": true
+        },
+        "strip-ansi": {
+          "version": "6.0.0",
+          "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz",
+          "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==",
+          "dev": true,
+          "requires": {
+            "ansi-regex": "^5.0.0"
+          }
+        }
       }
     },
     "string_decoder": {
@@ -3642,12 +3688,20 @@
       }
     },
     "strip-ansi": {
-      "version": "4.0.0",
-      "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz",
-      "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=",
+      "version": "5.2.0",
+      "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz",
+      "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==",
       "dev": true,
       "requires": {
-        "ansi-regex": "^3.0.0"
+        "ansi-regex": "^4.1.0"
+      },
+      "dependencies": {
+        "ansi-regex": {
+          "version": "4.1.0",
+          "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz",
+          "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==",
+          "dev": true
+        }
       }
     },
     "strip-bom": {
@@ -3669,9 +3723,9 @@
       }
     },
     "strip-json-comments": {
-      "version": "2.0.1",
-      "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz",
-      "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=",
+      "version": "3.0.1",
+      "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.0.1.tgz",
+      "integrity": "sha512-VTyMAUfdm047mwKl+u79WIdrZxtFtn+nBxHeb844XBQ9uMNTuTHdx2hc5RiAJYqwTj3wc/xe5HLSdJSkJ+WfZw==",
       "dev": true
     },
     "style-search": {
@@ -4123,9 +4177,9 @@
       "dev": true
     },
     "tslib": {
-      "version": "1.9.3",
-      "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz",
-      "integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==",
+      "version": "1.10.0",
+      "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz",
+      "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==",
       "dev": true
     },
     "type-check": {
@@ -4137,6 +4191,12 @@
         "prelude-ls": "~1.1.2"
       }
     },
+    "type-fest": {
+      "version": "0.8.1",
+      "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz",
+      "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==",
+      "dev": true
+    },
     "underscore.string": {
       "version": "3.3.5",
       "resolved": "https://registry.npmjs.org/underscore.string/-/underscore.string-3.3.5.tgz",
@@ -4306,6 +4366,12 @@
       "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=",
       "dev": true
     },
+    "v8-compile-cache": {
+      "version": "2.1.0",
+      "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.1.0.tgz",
+      "integrity": "sha512-usZBT3PW+LOjM25wbqIlZwPeJV+3OSz3M1k1Ws8snlW39dZyYL9lOGC5FgPVHfk0jKmjiDV8Z0mIbVQPiwFs7g==",
+      "dev": true
+    },
     "validate-npm-package-license": {
       "version": "3.0.4",
       "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
@@ -4352,21 +4418,28 @@
       }
     },
     "vscode-json-languageservice": {
-      "version": "3.2.1",
-      "resolved": "https://registry.npmjs.org/vscode-json-languageservice/-/vscode-json-languageservice-3.2.1.tgz",
-      "integrity": "sha512-ee9MJ70/xR55ywvm0bZsDLhA800HCRE27AYgMNTU14RSg20Y+ngHdQnUt6OmiTXrQDI/7sne6QUOtHIN0hPQYA==",
+      "version": "3.4.11",
+      "resolved": "https://registry.npmjs.org/vscode-json-languageservice/-/vscode-json-languageservice-3.4.11.tgz",
+      "integrity": "sha512-26Qv1SFp6x3XmCqU1BRceRsSKRO3xkQa6/K8ziSRt52/LQPiw5ipSxlGVSlzIoi5LCmQVEqUajhiVEMNlFXhNw==",
       "dev": true,
       "requires": {
-        "jsonc-parser": "^2.0.2",
-        "vscode-languageserver-types": "^3.13.0",
-        "vscode-nls": "^4.0.0",
-        "vscode-uri": "^1.0.6"
+        "jsonc-parser": "^2.2.0",
+        "vscode-languageserver-textdocument": "^1.0.0-next.5",
+        "vscode-languageserver-types": "^3.15.0-next.9",
+        "vscode-nls": "^4.1.1",
+        "vscode-uri": "^2.1.1"
       }
     },
+    "vscode-languageserver-textdocument": {
+      "version": "1.0.0-next.5",
+      "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.0-next.5.tgz",
+      "integrity": "sha512-1jp/zAidN/bF/sqPimhBX1orH5G4rzRw63k75TesukJDuxm8yW79ECStWbDSy41BHGOwSGN4M69QFvhancSr5A==",
+      "dev": true
+    },
     "vscode-languageserver-types": {
-      "version": "3.14.0",
-      "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.14.0.tgz",
-      "integrity": "sha512-lTmS6AlAlMHOvPQemVwo3CezxBp0sNB95KNPkqp3Nxd5VFEnuG1ByM0zlRWos0zjO3ZWtkvhal0COgiV1xIA4A==",
+      "version": "3.15.0-next.9",
+      "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.15.0-next.9.tgz",
+      "integrity": "sha512-Rl/8qJ6932nrHCdPn+9y0x08uLVQaSLRG+U4JzhyKpWU4eJbVaDRoAcz1Llj7CErJGbPr6kdBvShPy5fRfR+Uw==",
       "dev": true
     },
     "vscode-nls": {
@@ -4376,9 +4449,9 @@
       "dev": true
     },
     "vscode-uri": {
-      "version": "1.0.8",
-      "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-1.0.8.tgz",
-      "integrity": "sha512-obtSWTlbJ+a+TFRYGaUumtVwb+InIUVI0Lu0VBUAPmj2cU5JutEXg3xUE0c2J5Tcy7h2DEKVJBFi+Y9ZSFzzPQ==",
+      "version": "2.1.1",
+      "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-2.1.1.tgz",
+      "integrity": "sha512-eY9jmGoEnVf8VE8xr5znSah7Qt1P/xsCdErz+g8HYZtJ7bZqKH5E3d+6oVNm1AC/c6IHUDokbmVXKOi4qPAC9A==",
       "dev": true
     },
     "which": {
@@ -4390,10 +4463,10 @@
         "isexe": "^2.0.0"
       }
     },
-    "wordwrap": {
-      "version": "1.0.0",
-      "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz",
-      "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=",
+    "word-wrap": {
+      "version": "1.2.3",
+      "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
+      "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
       "dev": true
     },
     "wrappy": {
diff --git a/package.json b/package.json
index 50603d9..1d8908f 100644
--- a/package.json
+++ b/package.json
@@ -4,10 +4,10 @@
 		"test": "grunt test"
 	},
 	"devDependencies": {
-		"eslint-config-wikimedia": "0.13.1",
+		"eslint-config-wikimedia": "0.15.0",
 		"grunt": "1.0.4",
 		"grunt-banana-checker": "0.8.1",
-		"grunt-eslint": "21.0.0",
+		"grunt-eslint": "22.0.0",
 		"grunt-stylelint": "0.10.1",
 		"stylelint-config-wikimedia": "0.6.0"
 	}
-- 
2.11.0

composer dependencies
Dependencies
composer/installers: >=1.0.1 (1.7.0 available) 
davefx/phplot: 6.2.1 
mustangostang/spyc: 0.6.2 (0.6.3 available) 
php: >=5.6.99 
Development dependencies
jakub-onderka/php-console-highlighter: 0.3.2 (0.4 available) 
jakub-onderka/php-parallel-lint: 1.0.0 
mediawiki/mediawiki-codesniffer: 28.0.0 
mediawiki/mediawiki-phan-config: 0.9.0 
mediawiki/minus-x: 0.3.2 
mediawiki/phan-taint-check-plugin: 2.0.1 (2.1.0 available) 
npm dependencies
Development dependencies
eslint-config-wikimedia: 0.13.1 (0.15.0 available✔️) 
grunt: 1.0.4 
grunt-banana-checker: 0.8.1 
grunt-eslint: 21.0.0 (22.0.0 available✔️) 
grunt-stylelint: 0.10.1 (0.13.0 available✔️) 
stylelint-config-wikimedia: 0.6.0 (0.8.0 available✔️) 
Source code is licensed under the AGPL.

Event Timeline

Doing this well is blocked on T204176: Decide how to configure ESLint rules and ignores - moving the eslint configuration out of Gruntfile.js so we can use the eslint cli tool natively without going through grunt.

Change 563042 had a related patch set uploaded (by Legoktm; owner: Legoktm):
[labs/libraryupgrader@master] Run eslint over only whitelisted paths according to grunt configuration

https://gerrit.wikimedia.org/r/563042

Change 563042 merged by jenkins-bot:
[labs/libraryupgrader@master] Run eslint over only whitelisted paths according to grunt configuration

https://gerrit.wikimedia.org/r/563042