diff --git a/package-lock.json b/package-lock.json index bfdb4ed2e..f7785172c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -74,14 +74,16 @@ "devDependencies": { "@electron-toolkit/eslint-config": "^1.0.1", "@electron-toolkit/eslint-config-prettier": "^1.0.1", + "@eslint/js": "^9.19.0", "@rollup/plugin-commonjs": "^25.0.7", "@vitejs/plugin-react": "^4.0.4", "electron": "19.0.0", "electron-builder": "^24.6.3", "electron-vite": "^1.0.27", "esbuild": "^0.21.3", - "eslint": "^8.47.0", + "eslint": "^8.57.1", "eslint-plugin-react": "^7.33.2", + "globals": "^15.14.0", "postcss": "^8.4.38", "postcss-preset-mantine": "^1.14.0", "postcss-simple-vars": "^7.0.1", @@ -410,6 +412,15 @@ "node": ">=6.9.0" } }, + "node_modules/@babel/traverse/node_modules/globals": { + "version": "11.12.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", + "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, "node_modules/@babel/types": { "version": "7.26.0", "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.0.tgz", @@ -1194,12 +1205,12 @@ } }, "node_modules/@eslint/js": { - "version": "8.56.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.56.0.tgz", - "integrity": "sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A==", + "version": "9.19.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.19.0.tgz", + "integrity": "sha512-rbq9/g38qjfqFLOVPvwjIvFFdNziEC5S65jmjPw5r6A//QH+W91akh9irMwjDN8zKUTak6W9EsAv4m/7Wnw0UQ==", "dev": true, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } }, "node_modules/@fairdataihub/config": { @@ -1313,13 +1324,14 @@ } }, "node_modules/@humanwhocodes/config-array": { - "version": "0.11.13", - "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.13.tgz", - "integrity": "sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ==", + "version": "0.13.0", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.13.0.tgz", + "integrity": "sha512-DZLEEqFWQFiyK6h5YIeynKx7JlvCYWL0cImfSRXZ9l4Sg2efkFGTuFf6vzXjK1cq6IYkU+Eg/JizXw+TD2vRNw==", + "deprecated": "Use @eslint/config-array instead", "dev": true, "dependencies": { - "@humanwhocodes/object-schema": "^2.0.1", - "debug": "^4.1.1", + "@humanwhocodes/object-schema": "^2.0.3", + "debug": "^4.3.1", "minimatch": "^3.0.5" }, "engines": { @@ -1362,9 +1374,10 @@ } }, "node_modules/@humanwhocodes/object-schema": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz", - "integrity": "sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw==", + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.3.tgz", + "integrity": "sha512-93zYdMES/c1D69yZiKDBj0V24vqNzB/koF26KPaagAfd3P/4gUlh3Dys5ogAK+Exi9QyzlD8x/08Zt7wIKcDcA==", + "deprecated": "Use @eslint/object-schema instead", "dev": true }, "node_modules/@isaacs/cliui": { @@ -8003,16 +8016,17 @@ } }, "node_modules/eslint": { - "version": "8.56.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz", - "integrity": "sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==", + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", + "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", + "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.6.1", "@eslint/eslintrc": "^2.1.4", - "@eslint/js": "8.56.0", - "@humanwhocodes/config-array": "^0.11.13", + "@eslint/js": "8.57.1", + "@humanwhocodes/config-array": "^0.13.0", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", "@ungap/structured-clone": "^1.2.0", @@ -8208,6 +8222,15 @@ "url": "https://opencollective.com/eslint" } }, + "node_modules/eslint/node_modules/@eslint/js": { + "version": "8.57.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.57.1.tgz", + "integrity": "sha512-d9zaMRSTIKDLhctzH12MtXvJKSSUhaHcjV+2Z+GK+EEY7XKpP5yR4x+N3TAcHTcu963nIr+TMcCb4DBCYX1z6Q==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, "node_modules/eslint/node_modules/ansi-styles": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", @@ -9911,12 +9934,15 @@ } }, "node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", + "version": "15.14.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.14.0.tgz", + "integrity": "sha512-OkToC372DtlQeje9/zHIo5CT8lRP/FUgEOKBEhU4e0abL7J7CD24fD9ohiLN5hagG/kWCYj4K5oaxxtj2Z0Dig==", "dev": true, "engines": { - "node": ">=4" + "node": ">=18" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/globalthis": { diff --git a/package.json b/package.json index e7bf0549e..0499e0e51 100644 --- a/package.json +++ b/package.json @@ -94,14 +94,16 @@ "devDependencies": { "@electron-toolkit/eslint-config": "^1.0.1", "@electron-toolkit/eslint-config-prettier": "^1.0.1", + "@eslint/js": "^9.19.0", "@rollup/plugin-commonjs": "^25.0.7", "@vitejs/plugin-react": "^4.0.4", "electron": "19.0.0", "electron-builder": "^24.6.3", "electron-vite": "^1.0.27", "esbuild": "^0.21.3", - "eslint": "^8.47.0", + "eslint": "^8.57.1", "eslint-plugin-react": "^7.33.2", + "globals": "^15.14.0", "postcss": "^8.4.38", "postcss-preset-mantine": "^1.14.0", "postcss-simple-vars": "^7.0.1", diff --git a/src/renderer/src/scripts/clean-output.json b/src/renderer/src/scripts/clean-output.json new file mode 100644 index 000000000..ad56e2978 --- /dev/null +++ b/src/renderer/src/scripts/clean-output.json @@ -0,0 +1,13076 @@ +[ + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/advanced-features/advanced_features.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'mutation' is defined but never used.", + "line": 369, + "column": 24, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 369, + "endColumn": 32 + } + ], + "suppressedMessages": [], + "errorCount": 1, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/advanced-features/compare-local-remote-dataset.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'removeRows' is defined but never used.", + "line": 7, + "column": 19, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 7, + "endColumn": 29 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'e' is defined but never used.", + "line": 28, + "column": 31, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 28, + "endColumn": 32 + } + ], + "suppressedMessages": [], + "errorCount": 2, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/collections/collections.js", + "messages": [ + { + "ruleId": "no-undef", + "severity": 2, + "message": "'collectionDatasetTags' is not defined.", + "line": 37, + "column": 27, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 37, + "endColumn": 48 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'collectionDatasetTags' is not defined.", + "line": 38, + "column": 23, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 38, + "endColumn": 44 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'defaultBfDataset' is not defined.", + "line": 157, + "column": 58, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 157, + "endColumn": 74 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 202, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 202, + "endColumn": 10 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'delayAnimation' is not defined.", + "line": 203, + "column": 8, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 203, + "endColumn": 22 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'collectionDatasetTags' is not defined.", + "line": 220, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 220, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'collectionDatasetTags' is not defined.", + "line": 221, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 221, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'collectionDatasetTags' is not defined.", + "line": 224, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 224, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'collectionDatasetTags' is not defined.", + "line": 264, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 264, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'collectionDatasetTags' is not defined.", + "line": 266, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 266, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'collectionDatasetTags' is not defined.", + "line": 267, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 267, + "endColumn": 26 + } + ], + "suppressedMessages": [], + "errorCount": 11, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/disseminate/disseminate.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'determineDatasetLocation' is defined but never used.", + "line": 11, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 11, + "endColumn": 32 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 58, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 58, + "endColumn": 8 + }, + { + "ruleId": "no-dupe-keys", + "severity": 2, + "message": "Duplicate key 'confirmButtonText'.", + "line": 67, + "column": 7, + "nodeType": "ObjectExpression", + "messageId": "unexpected", + "endLine": 67, + "endColumn": 24 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'refreshDatasetStatus' is assigned a value but never used.", + "line": 88, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 88, + "endColumn": 27 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'nothing' is defined but never used.", + "line": 104, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 104, + "endColumn": 18 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'disseminateShowCurrentPermission' is assigned a value but never used.", + "line": 112, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 112, + "endColumn": 39 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'disseminiateShowCurrentDatasetStatus' is assigned a value but never used.", + "line": 156, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 156, + "endColumn": 43 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'client' is not defined.", + "line": 164, + "column": 41, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 164, + "endColumn": 47 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'myitemselect' is assigned a value but never used.", + "line": 180, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 180, + "endColumn": 23 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'checkDatasetDisseminate' is assigned a value but never used.", + "line": 211, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 211, + "endColumn": 30 + } + ], + "suppressedMessages": [], + "errorCount": 10, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/disseminate/prePublishingReview.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'currentDataset' is assigned a value but never used.", + "line": 519, + "column": 5, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 519, + "endColumn": 19 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'reviewDatasetInfo' is assigned a value but never used.", + "line": 673, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 673, + "endColumn": 26 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'removeChildren' is assigned a value but never used.", + "line": 712, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 712, + "endColumn": 21 + } + ], + "suppressedMessages": [], + "errorCount": 3, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/globals.js", + "messages": [ + { + "ruleId": "no-empty", + "severity": 2, + "message": "Empty block statement.", + "line": 49, + "column": 43, + "nodeType": "BlockStatement", + "messageId": "unexpected", + "endLine": 50, + "endColumn": 4, + "suggestions": [ + { + "messageId": "suggestComment", + "data": { + "type": "block" + }, + "fix": { + "range": [ + 2346, + 2349 + ], + "text": " /* empty */ " + }, + "desc": "Add comment inside empty block statement." + } + ] + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'bfaccount' is defined but never used.", + "line": 85, + "column": 28, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 85, + "endColumn": 37 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'i' is already defined.", + "line": 115, + "column": 16, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 115, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'bfaccount' is defined but never used.", + "line": 208, + "column": 40, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 208, + "endColumn": 49 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'organiztions' is not defined.", + "line": 231, + "column": 24, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 231, + "endColumn": 36 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'field' is already defined.", + "line": 335, + "column": 12, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 335, + "endColumn": 17 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'field' is already defined.", + "line": 350, + "column": 12, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 350, + "endColumn": 17 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'field' is already defined.", + "line": 424, + "column": 12, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 424, + "endColumn": 17 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'False' is not defined.", + "line": 908, + "column": 58, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 908, + "endColumn": 63 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'footerMessage' is assigned a value but never used.", + "line": 924, + "column": 5, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 924, + "endColumn": 18 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'updateBfAccountList' is not defined.", + "line": 1204, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1204, + "endColumn": 28 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'CURRENT_PAGE' is not defined.", + "line": 1210, + "column": 31, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1210, + "endColumn": 43 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'openPage' is not defined.", + "line": 1212, + "column": 19, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1212, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetList' is not defined.", + "line": 1229, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1229, + "endColumn": 18 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'clearDatasetDropdowns' is not defined.", + "line": 1231, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1231, + "endColumn": 28 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'show_timer' is assigned a value but never used.", + "line": 1352, + "column": 50, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1352, + "endColumn": 60 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'currentDatasetLicense' is not defined.", + "line": 1379, + "column": 30, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1379, + "endColumn": 51 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 1462, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1462, + "endColumn": 14 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'currentDatasetLicense' is not defined.", + "line": 1715, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1715, + "endColumn": 34 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'oldDatasetButtonSelected' is assigned a value but never used.", + "line": 1729, + "column": 13, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1729, + "endColumn": 37 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'onPennsieveButton' is assigned a value but never used.", + "line": 1741, + "column": 15, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1741, + "endColumn": 32 + }, + { + "ruleId": "no-unreachable", + "severity": 2, + "message": "Unreachable code.", + "line": 1880, + "column": 7, + "nodeType": "ExpressionStatement", + "messageId": "unreachableCode", + "endLine": 1886, + "endColumn": 9 + }, + { + "ruleId": "no-self-assign", + "severity": 2, + "message": "'window.currentDatasetLicense.innerText' is assigned to itself.", + "line": 2019, + "column": 50, + "nodeType": "MemberExpression", + "messageId": "selfAssignment", + "endLine": 2019, + "endColumn": 88 + }, + { + "ruleId": "no-async-promise-executor", + "severity": 2, + "message": "Promise executor functions should not be async.", + "line": 2171, + "column": 22, + "nodeType": "Identifier", + "messageId": "async", + "endLine": 2171, + "endColumn": 27 + } + ], + "suppressedMessages": [], + "errorCount": 24, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/guided-mode/guided-curate-dataset.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'setGuidedModePage' is defined but never used.", + "line": 41, + "column": 3, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 41, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'autoSelectDatasetFoldersAndFilesForEnteredEntityIds' is defined but never used.", + "line": 52, + "column": 3, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 52, + "endColumn": 54 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'setDatasetStructureSearchFilter' is defined but never used.", + "line": 56, + "column": 3, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 56, + "endColumn": 34 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'showNotyfs' is assigned a value but never used.", + "line": 165, + "column": 31, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 165, + "endColumn": 41 + }, + { + "ruleId": "no-empty", + "severity": 2, + "message": "Empty block statement.", + "line": 397, + "column": 61, + "nodeType": "BlockStatement", + "messageId": "unexpected", + "endLine": 398, + "endColumn": 4, + "suggestions": [ + { + "messageId": "suggestComment", + "data": { + "type": "block" + }, + "fix": { + "range": [ + 12338, + 12341 + ], + "text": " /* empty */ " + }, + "desc": "Add comment inside empty block statement." + } + ] + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'emessage' is assigned a value but never used.", + "line": 425, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 425, + "endColumn": 19 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'skipOrUnSkipCodeDescriptionPage' is assigned a value but never used.", + "line": 441, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 441, + "endColumn": 38 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'emessage' is assigned a value but never used.", + "line": 453, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 453, + "endColumn": 19 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetStructureJSONObj' is not defined.", + "line": 761, + "column": 23, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 761, + "endColumn": 46 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetStructureJSONObj' is not defined.", + "line": 762, + "column": 23, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 762, + "endColumn": 46 + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\|.", + "line": 1123, + "column": 106, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 1123, + "endColumn": 107, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 43729, + 43730 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 43729, + 43729 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-empty", + "severity": 2, + "message": "Empty block statement.", + "line": 1493, + "column": 59, + "nodeType": "BlockStatement", + "messageId": "unexpected", + "endLine": 1494, + "endColumn": 6, + "suggestions": [ + { + "messageId": "suggestComment", + "data": { + "type": "block" + }, + "fix": { + "range": [ + 58494, + 58499 + ], + "text": " /* empty */ " + }, + "desc": "Add comment inside empty block statement." + } + ] + }, + { + "ruleId": "no-empty", + "severity": 2, + "message": "Empty block statement.", + "line": 1496, + "column": 55, + "nodeType": "BlockStatement", + "messageId": "unexpected", + "endLine": 1497, + "endColumn": 6, + "suggestions": [ + { + "messageId": "suggestComment", + "data": { + "type": "block" + }, + "fix": { + "range": [ + 58557, + 58562 + ], + "text": " /* empty */ " + }, + "desc": "Add comment inside empty block statement." + } + ] + }, + { + "ruleId": "no-empty", + "severity": 2, + "message": "Empty block statement.", + "line": 1761, + "column": 68, + "nodeType": "BlockStatement", + "messageId": "unexpected", + "endLine": 1762, + "endColumn": 6, + "suggestions": [ + { + "messageId": "suggestComment", + "data": { + "type": "block" + }, + "fix": { + "range": [ + 69200, + 69205 + ], + "text": " /* empty */ " + }, + "desc": "Add comment inside empty block statement." + } + ] + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 1974, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1974, + "endColumn": 10 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'skippedPages' is assigned a value but never used.", + "line": 2010, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2010, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'event' is defined but never used.", + "line": 2076, + "column": 53, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2076, + "endColumn": 58 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'event' is defined but never used.", + "line": 2100, + "column": 62, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2100, + "endColumn": 67 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'withdrawDatasetSubmission' is not defined.", + "line": 2571, + "column": 30, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2571, + "endColumn": 55 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'elementToDisable' is not defined.", + "line": 2714, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2714, + "endColumn": 19 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'elementToDisable' is not defined.", + "line": 2715, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2715, + "endColumn": 19 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'elementToDisable' is not defined.", + "line": 2716, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2716, + "endColumn": 19 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'elementToEnable' is not defined.", + "line": 2720, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2720, + "endColumn": 18 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'elementToEnable' is not defined.", + "line": 2721, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2721, + "endColumn": 18 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'elementToEnable' is not defined.", + "line": 2722, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2722, + "endColumn": 18 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'guidedTransitionFromDatasetNameSubtitlePage' is assigned a value but never used.", + "line": 2857, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2857, + "endColumn": 50 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 2915, + "column": 30, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2915, + "endColumn": 34 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 2922, + "column": 26, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2922, + "endColumn": 30 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'loadingDiv' is not defined.", + "line": 3162, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3162, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'generateManifestEditCard' is assigned a value but never used.", + "line": 3270, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3270, + "endColumn": 31 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'manifestData' is assigned a value but never used.", + "line": 3301, + "column": 32, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3301, + "endColumn": 44 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'folder_counter' is assigned a value but never used.", + "line": 3659, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3659, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'emessage' is assigned a value but never used.", + "line": 3724, + "column": 13, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3724, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'folderHasNoFiles' is assigned a value but never used.", + "line": 4259, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 4259, + "endColumn": 23 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'validatePageArray' is assigned a value but never used.", + "line": 4764, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 4764, + "endColumn": 24 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'arrayOfPagesToCheck' is defined but never used.", + "line": 4764, + "column": 34, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 4764, + "endColumn": 53 + }, + { + "ruleId": "no-useless-catch", + "severity": 2, + "message": "Unnecessary try/catch wrapper.", + "line": 4777, + "column": 3, + "nodeType": "TryStatement", + "messageId": "unnecessaryCatch", + "endLine": 4782, + "endColumn": 4 + }, + { + "ruleId": "no-empty", + "severity": 2, + "message": "Empty block statement.", + "line": 5005, + "column": 86, + "nodeType": "BlockStatement", + "messageId": "unexpected", + "endLine": 5006, + "endColumn": 8, + "suggestions": [ + { + "messageId": "suggestComment", + "data": { + "type": "block" + }, + "fix": { + "range": [ + 189242, + 189249 + ], + "text": " /* empty */ " + }, + "desc": "Add comment inside empty block statement." + } + ] + }, + { + "ruleId": "no-empty", + "severity": 2, + "message": "Empty block statement.", + "line": 5006, + "column": 14, + "nodeType": "BlockStatement", + "messageId": "unexpected", + "endLine": 5007, + "endColumn": 8, + "suggestions": [ + { + "messageId": "suggestComment", + "data": { + "type": "block" + }, + "fix": { + "range": [ + 189257, + 189264 + ], + "text": " /* empty */ " + }, + "desc": "Add comment inside empty block statement." + } + ] + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 5315, + "column": 17, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 5315, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'subjects' is assigned a value but never used.", + "line": 5575, + "column": 13, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5575, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'existingSubjectRelatedFoldersAndFiles' is assigned a value but never used.", + "line": 5576, + "column": 13, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5576, + "endColumn": 50 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'createParsedReadme' is not defined.", + "line": 5988, + "column": 39, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 5988, + "endColumn": 57 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'confirmPennsieveAccountDiv' is assigned a value but never used.", + "line": 6140, + "column": 13, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6140, + "endColumn": 39 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'selectPennsieveAccountDiv' is assigned a value but never used.", + "line": 6143, + "column": 13, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6143, + "endColumn": 38 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'pennsieveIntroAccountDetailsText' is not defined.", + "line": 6175, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 6175, + "endColumn": 43 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 6220, + "column": 19, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 6220, + "endColumn": 22 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'homeDirectory' is not defined.", + "line": 6239, + "column": 48, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 6239, + "endColumn": 61 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'emessage' is assigned a value but never used.", + "line": 6308, + "column": 15, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6308, + "endColumn": 23 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'description' is assigned a value but never used.", + "line": 6816, + "column": 17, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6816, + "endColumn": 28 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'pennsieveDOICopy' is assigned a value but never used.", + "line": 6877, + "column": 13, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6877, + "endColumn": 29 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'renderMilestoneSelectionTable' is not defined.", + "line": 7478, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 7478, + "endColumn": 36 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'createCompletionDateRadioElement' is not defined.", + "line": 7527, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 7527, + "endColumn": 41 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'createCompletionDateRadioElement' is not defined.", + "line": 7541, + "column": 18, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 7541, + "endColumn": 50 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'guidedSubmissionTagsTagify' is not defined.", + "line": 7572, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 7572, + "endColumn": 31 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'guidedSubmissionTagsTagify' is not defined.", + "line": 7579, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 7579, + "endColumn": 31 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'sodaJSONObj' is defined but never used.", + "line": 7698, + "column": 40, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 7698, + "endColumn": 51 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'infoMark' is not defined.", + "line": 8083, + "column": 22, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 8083, + "endColumn": 30 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'showWarningIfSampleFoldersExist' is defined but never used.", + "line": 8591, + "column": 65, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 8591, + "endColumn": 96 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'generateContributorField' is assigned a value but never used.", + "line": 8947, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 8947, + "endColumn": 31 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'verifyOrcidID' is assigned a value but never used.", + "line": 9183, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 9183, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'afterLink' is assigned a value but never used.", + "line": 9189, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 9189, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'inputValue' is defined but never used.", + "line": 9354, + "column": 24, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 9354, + "endColumn": 34 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'e' is defined but never used.", + "line": 9628, + "column": 70, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 9628, + "endColumn": 71 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'addContributorField' is assigned a value but never used.", + "line": 9894, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 9894, + "endColumn": 26 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'values' is assigned a value but never used.", + "line": 10090, + "column": 18, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 10090, + "endColumn": 24 + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 10093, + "column": 213, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 10093, + "endColumn": 214, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 396343, + 396344 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 396343, + 396343 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 10093, + "column": 236, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 10093, + "endColumn": 237, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 396366, + 396367 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 396366, + 396366 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'removeProtocolField' is assigned a value but never used.", + "line": 10149, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 10149, + "endColumn": 26 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'protocolRowIsValid' is assigned a value but never used.", + "line": 10181, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 10181, + "endColumn": 25 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'returnToTableFromFolderStructure' is assigned a value but never used.", + "line": 10503, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 10503, + "endColumn": 39 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'previousFolderStructurePage' is not defined.", + "line": 10504, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 10504, + "endColumn": 30 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'previousFolderStructurePage' is not defined.", + "line": 10505, + "column": 19, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 10505, + "endColumn": 46 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'returnToSubjectMetadataTableFromSubjectMetadataForm' is assigned a value but never used.", + "line": 10510, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 10510, + "endColumn": 58 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'guidedLoadSubjectMetadataIfExists' is assigned a value but never used.", + "line": 10553, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 10553, + "endColumn": 40 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'newOption' is already defined.", + "line": 11051, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 11051, + "endColumn": 18 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'openPoolRenameInput' is assigned a value but never used.", + "line": 11080, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 11080, + "endColumn": 26 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'updateGuidedTableIndices' is assigned a value but never used.", + "line": 11106, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 11106, + "endColumn": 31 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'element' is defined but never used.", + "line": 11315, + "column": 22, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 11315, + "endColumn": 29 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'endConfirmOnBlur' is assigned a value but never used.", + "line": 11323, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 11323, + "endColumn": 23 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'subjectsOutsidePools' is assigned a value but never used.", + "line": 11370, + "column": 27, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 11370, + "endColumn": 47 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'getSubjectsSamples' is assigned a value but never used.", + "line": 11379, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 11379, + "endColumn": 25 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 11413, + "column": 30, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 11413, + "endColumn": 32 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'notyf' is not defined.", + "line": 11475, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 11475, + "endColumn": 12 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'validateDatasetStructureSpreadsheet' is assigned a value but never used.", + "line": 11491, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 11491, + "endColumn": 42 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'guidedExtractEntityNamesFromFolders' is assigned a value but never used.", + "line": 11691, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 11691, + "endColumn": 42 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'notyf' is not defined.", + "line": 11777, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 11777, + "endColumn": 12 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 11790, + "column": 48, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 11790, + "endColumn": 52 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'sampleNames' is assigned a value but never used.", + "line": 11795, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 11795, + "endColumn": 20 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 11795, + "column": 47, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 11795, + "endColumn": 51 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'addSampleTableRow' is assigned a value but never used.", + "line": 12091, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 12091, + "endColumn": 24 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'re' is assigned a value but never used.", + "line": 12146, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 12146, + "endColumn": 11 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'permissionTypeToRemove' is assigned a value but never used.", + "line": 12234, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 12234, + "endColumn": 29 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'userPermission' is not defined.", + "line": 12648, + "column": 8, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 12648, + "endColumn": 22 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'userPermission' is not defined.", + "line": 12650, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 12650, + "endColumn": 21 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'userPermission' is not defined.", + "line": 12651, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 12651, + "endColumn": 21 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'userPermission' is not defined.", + "line": 12653, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 12653, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'guidedRemoveUserPermission' is assigned a value but never used.", + "line": 12662, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 12662, + "endColumn": 33 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'userParentElement' is defined but never used.", + "line": 12662, + "column": 37, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 12662, + "endColumn": 54 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'teamPermission' is not defined.", + "line": 12666, + "column": 8, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 12666, + "endColumn": 22 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'teamPermission' is not defined.", + "line": 12668, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 12668, + "endColumn": 21 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'teamPermission' is not defined.", + "line": 12669, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 12669, + "endColumn": 21 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'teamPermission' is not defined.", + "line": 12671, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 12671, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'guidedRemoveTeamPermission' is assigned a value but never used.", + "line": 12680, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 12680, + "endColumn": 33 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'teamParentElement' is defined but never used.", + "line": 12680, + "column": 37, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 12680, + "endColumn": 54 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'setGuidedLicense' is assigned a value but never used.", + "line": 12682, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 12682, + "endColumn": 23 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'newLicense' is defined but never used.", + "line": 12682, + "column": 27, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 12682, + "endColumn": 37 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'poolName' is assigned a value but never used.", + "line": 12712, + "column": 15, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 12712, + "endColumn": 23 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'directToFreeFormMode' is not defined.", + "line": 13236, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 13236, + "endColumn": 23 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 13541, + "column": 10, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 13541, + "endColumn": 21 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'nextQuestionID' is not defined.", + "line": 13650, + "column": 41, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 13650, + "endColumn": 55 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'a1' is not defined.", + "line": 13678, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 13678, + "endColumn": 7 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'b1' is not defined.", + "line": 13679, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 13679, + "endColumn": 7 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'a1' is not defined.", + "line": 13681, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 13681, + "endColumn": 11 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'b1' is not defined.", + "line": 13681, + "column": 20, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 13681, + "endColumn": 22 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'a1' is not defined.", + "line": 13681, + "column": 32, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 13681, + "endColumn": 34 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'b1' is not defined.", + "line": 13681, + "column": 62, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 13681, + "endColumn": 64 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'a1' is not defined.", + "line": 13684, + "column": 14, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 13684, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'b1' is not defined.", + "line": 13684, + "column": 24, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 13684, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'a1' is not defined.", + "line": 13686, + "column": 14, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 13686, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'b1' is not defined.", + "line": 13686, + "column": 24, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 13686, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'ManageDatasetsAnalyticsPrefix' is not defined.", + "line": 14030, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14030, + "endColumn": 36 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'res' is assigned a value but never used.", + "line": 14073, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 14073, + "endColumn": 12 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'ManageDatasetsAnalyticsPrefix' is not defined.", + "line": 14116, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14116, + "endColumn": 36 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 14148, + "column": 23, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14148, + "endColumn": 25 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'ManageDatasetsAnalyticsPrefix' is not defined.", + "line": 14207, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14207, + "endColumn": 36 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'ManageDatasetsAnalyticsPrefix' is not defined.", + "line": 14300, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14300, + "endColumn": 36 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'ManageDatasetsAnalyticsPrefix' is not defined.", + "line": 14372, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14372, + "endColumn": 36 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 14389, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14389, + "endColumn": 8 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 14404, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14404, + "endColumn": 8 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'ps_add_permission' is assigned a value but never used.", + "line": 14431, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 14431, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 14449, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14449, + "endColumn": 10 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 14453, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14453, + "endColumn": 10 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 14478, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14478, + "endColumn": 8 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'ManageDatasetsAnalyticsPrefix' is not defined.", + "line": 14497, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14497, + "endColumn": 36 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is assigned a value but never used.", + "line": 14525, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 14525, + "endColumn": 15 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'ps_add_permission' is assigned a value but never used.", + "line": 14577, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 14577, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 14594, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14594, + "endColumn": 10 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 14597, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14597, + "endColumn": 10 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 14622, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14622, + "endColumn": 8 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'ManageDatasetsAnalyticsPrefix' is not defined.", + "line": 14641, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14641, + "endColumn": 36 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is assigned a value but never used.", + "line": 14668, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 14668, + "endColumn": 15 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'roundToHundredth' is not defined.", + "line": 14681, + "column": 10, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14681, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'unHideAndSmoothScrollToElement' is not defined.", + "line": 14727, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14727, + "endColumn": 37 + }, + { + "ruleId": "no-constant-condition", + "severity": 2, + "message": "Unexpected constant condition.", + "line": 14785, + "column": 16, + "nodeType": "Literal", + "messageId": "unexpected", + "endLine": 14785, + "endColumn": 20 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'unHideAndSmoothScrollToElement' is not defined.", + "line": 14817, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14817, + "endColumn": 45 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'unHideAndSmoothScrollToElement' is not defined.", + "line": 14873, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14873, + "endColumn": 37 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'unHideAndSmoothScrollToElement' is not defined.", + "line": 14881, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14881, + "endColumn": 37 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'subjectsTableData' is not defined.", + "line": 14889, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14889, + "endColumn": 24 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 15037, + "column": 24, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 15037, + "endColumn": 35 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 15123, + "column": 8, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 15123, + "endColumn": 19 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 15124, + "column": 8, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 15124, + "endColumn": 19 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 15130, + "column": 8, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 15130, + "endColumn": 19 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 15283, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 15283, + "endColumn": 15 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 15637, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 15637, + "endColumn": 10 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 16068, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16068, + "endColumn": 12 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 16134, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16134, + "endColumn": 10 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'logProgressToAnalytics' is assigned a value but never used.", + "line": 16147, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 16147, + "endColumn": 31 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'getCheckedContributors' is assigned a value but never used.", + "line": 16212, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 16212, + "endColumn": 29 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'checkedContributorData' is not defined.", + "line": 16215, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16215, + "endColumn": 25 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'checkedContributorData' is not defined.", + "line": 16224, + "column": 10, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16224, + "endColumn": 32 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'contributorInputObj' is assigned a value but never used.", + "line": 16270, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 16270, + "endColumn": 30 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 16346, + "column": 23, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16346, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 16348, + "column": 23, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16348, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 16353, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16353, + "endColumn": 10 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'error' is not defined.", + "line": 16354, + "column": 39, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16354, + "endColumn": 44 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 16368, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16368, + "endColumn": 17 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 16368, + "column": 23, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16368, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 16369, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16369, + "endColumn": 17 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 16369, + "column": 23, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16369, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 16373, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16373, + "endColumn": 14 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'guidedSaveSubmissionFile' is not defined.", + "line": 16409, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16409, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 16512, + "column": 21, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16512, + "endColumn": 25 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'homeDirectory' is not defined.", + "line": 16512, + "column": 31, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16512, + "endColumn": 44 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 16525, + "column": 19, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16525, + "endColumn": 23 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'imageDataURI' is not defined.", + "line": 16528, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16528, + "endColumn": 15 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'event' is defined but never used.", + "line": 16549, + "column": 45, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 16549, + "endColumn": 50 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 16570, + "column": 22, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 16570, + "endColumn": 28 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 16673, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 16673, + "endColumn": 8 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'getCheckedMilestones' is not defined.", + "line": 17186, + "column": 36, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 17186, + "endColumn": 56 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'guidedSubmissionTagsTagify' is not defined.", + "line": 17219, + "column": 58, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 17219, + "endColumn": 84 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 17287, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 17287, + "endColumn": 8 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'total_item_count' is assigned a value but never used.", + "line": 17403, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 17403, + "endColumn": 25 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'guidedCombineLinkSections' is assigned a value but never used.", + "line": 17666, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 17666, + "endColumn": 32 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'getGuidedProtocolSection' is not defined.", + "line": 17667, + "column": 23, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 17667, + "endColumn": 47 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'getGuidedAdditionalLinkSection' is not defined.", + "line": 17668, + "column": 20, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 17668, + "endColumn": 50 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'guidedSaveParticipantInformation' is assigned a value but never used.", + "line": 17673, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 17673, + "endColumn": 39 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 17749, + "column": 22, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 17749, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 17770, + "column": 24, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 17770, + "endColumn": 28 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'createTestDataset' is assigned a value but never used.", + "line": 17798, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 17798, + "endColumn": 24 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 17832, + "column": 28, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 17832, + "endColumn": 32 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'homeDirectory' is not defined.", + "line": 17832, + "column": 38, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 17832, + "endColumn": 51 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 17838, + "column": 30, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 17838, + "endColumn": 34 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 17849, + "column": 24, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 17849, + "endColumn": 28 + } + ], + "suppressedMessages": [], + "errorCount": 194, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/manage-dataset/manage-dataset.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'axios' is defined but never used.", + "line": 1, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1, + "endColumn": 13 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'logSelectedUpdateExistingDatasetOptions' is defined but never used.", + "line": 13, + "column": 3, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 13, + "endColumn": 42 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'emessage' is not defined.", + "line": 347, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 347, + "endColumn": 15 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'emessage' is not defined.", + "line": 350, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 350, + "endColumn": 23 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'selectedBfAccount' is assigned a value but never used.", + "line": 1225, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1225, + "endColumn": 26 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'mutableReadme' is assigned a value but never used.", + "line": 1464, + "column": 3, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1464, + "endColumn": 16 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'changeDatasetUnderDD' is assigned a value but never used.", + "line": 1625, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1625, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetDescriptionFileDataset' is not defined.", + "line": 1626, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1626, + "endColumn": 32 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'displayBannerImage' is assigned a value but never used.", + "line": 1800, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1800, + "endColumn": 25 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'Jimp' is not defined.", + "line": 1831, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1831, + "endColumn": 17 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'Jimp' is not defined.", + "line": 1855, + "column": 23, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1855, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'homeDirectory' is not defined.", + "line": 1938, + "column": 38, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1938, + "endColumn": 51 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'imageDataURI' is not defined.", + "line": 1955, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1955, + "endColumn": 15 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'notyf' is not defined.", + "line": 2022, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2022, + "endColumn": 14 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'notyf' is not defined.", + "line": 2080, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2080, + "endColumn": 14 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'event' is defined but never used.", + "line": 2149, + "column": 32, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2149, + "endColumn": 37 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 2171, + "column": 16, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2171, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 2327, + "column": 12, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2327, + "endColumn": 18 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'PrepareDatasetsAnalyticsPrefix' is not defined.", + "line": 3045, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3045, + "endColumn": 39 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'PrepareDatasetsAnalyticsPrefix' is not defined.", + "line": 3055, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3055, + "endColumn": 39 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'navError' is assigned a value but never used.", + "line": 3108, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3108, + "endColumn": 15 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'err' is assigned a value but never used.", + "line": 3176, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3176, + "endColumn": 10 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'uploadErrorChildren' is assigned a value but never used.", + "line": 3416, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3416, + "endColumn": 26 + } + ], + "suppressedMessages": [], + "errorCount": 23, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/metadata-files/datasetDescription.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'determineDatasetLocation' is defined but never used.", + "line": 2, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2, + "endColumn": 32 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'dsAwardArray' is assigned a value but never used.", + "line": 31, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 31, + "endColumn": 19 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'dsContributorArrayLast1' is assigned a value but never used.", + "line": 32, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 32, + "endColumn": 30 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'dsContributorArrayFirst1' is assigned a value but never used.", + "line": 33, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 33, + "endColumn": 31 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'currentContributorsFirstNames' is assigned a value but never used.", + "line": 36, + "column": 5, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 36, + "endColumn": 34 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'addCurrentContributorsBtn' is assigned a value but never used.", + "line": 40, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 40, + "endColumn": 32 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'contactPerson' is assigned a value but never used.", + "line": 41, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 41, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'generateDSBtn' is assigned a value but never used.", + "line": 42, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 42, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'addAdditionalLinkBtn' is assigned a value but never used.", + "line": 43, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 43, + "endColumn": 27 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'datasetDescriptionFileDataset' is assigned a value but never used.", + "line": 44, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 44, + "endColumn": 36 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'parentDSDropdown' is assigned a value but never used.", + "line": 45, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 45, + "endColumn": 23 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'sparcAwards' is assigned a value but never used.", + "line": 47, + "column": 5, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 47, + "endColumn": 16 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'populateProtocolLink' is assigned a value but never used.", + "line": 119, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 119, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'protocolResearcherList' is not defined.", + "line": 135, + "column": 35, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 135, + "endColumn": 57 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'protocolResearcherList' is not defined.", + "line": 137, + "column": 31, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 137, + "endColumn": 53 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'convertDropdownToTextBox' is assigned a value but never used.", + "line": 231, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 231, + "endColumn": 31 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'resetDDUI' is assigned a value but never used.", + "line": 241, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 241, + "endColumn": 16 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'currentRow' is assigned a value but never used.", + "line": 244, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 244, + "endColumn": 17 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newRowIndex' is not defined.", + "line": 261, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 261, + "endColumn": 14 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'row' is assigned a value but never used.", + "line": 262, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 262, + "endColumn": 10 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newRowIndex' is not defined.", + "line": 264, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 264, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newRowIndex' is not defined.", + "line": 266, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 266, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newRowIndex' is not defined.", + "line": 268, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 268, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newRowIndex' is not defined.", + "line": 270, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 270, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newRowIndex' is not defined.", + "line": 272, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 272, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newRowIndex' is not defined.", + "line": 274, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 274, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newRowIndex' is not defined.", + "line": 276, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 276, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newRowIndex' is not defined.", + "line": 278, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 278, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newRowIndex' is not defined.", + "line": 280, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 280, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newRowIndex' is not defined.", + "line": 282, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 282, + "endColumn": 16 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 479, + "column": 12, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 479, + "endColumn": 18 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 515, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 515, + "endColumn": 6 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'successMessage' is already defined.", + "line": 542, + "column": 11, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 542, + "endColumn": 25 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'currentRow' is assigned a value but never used.", + "line": 736, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 736, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'row' is assigned a value but never used.", + "line": 740, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 740, + "endColumn": 10 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'currentRow' is assigned a value but never used.", + "line": 765, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 765, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'row' is assigned a value but never used.", + "line": 769, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 769, + "endColumn": 10 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 800, + "column": 12, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 800, + "endColumn": 18 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'generateContributorRowElement' is assigned a value but never used.", + "line": 805, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 805, + "endColumn": 36 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'currentRow' is assigned a value but never used.", + "line": 831, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 831, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'newRowIndex' is assigned a value but never used.", + "line": 833, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 833, + "endColumn": 18 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'indexNumber' is assigned a value but never used.", + "line": 834, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 834, + "endColumn": 18 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'row' is assigned a value but never used.", + "line": 841, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 841, + "endColumn": 10 + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 720, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 721, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 34228, + 34229 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 34228, + 34228 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 739, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 740, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 34247, + 34248 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 34247, + 34247 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 748, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 749, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 34256, + 34257 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 34256, + 34256 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 762, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 763, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 34270, + 34271 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 34270, + 34270 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 772, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 773, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 34280, + 34281 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 34280, + 34280 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 780, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 781, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 34288, + 34289 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 34288, + 34288 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 1182, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 1183, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 34690, + 34691 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 34690, + 34690 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 1189, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 1190, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 34697, + 34698 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 34697, + 34697 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 1620, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 1621, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 35128, + 35129 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 35128, + 35128 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 1627, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 1628, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 35135, + 35136 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 35135, + 35135 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 1692, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 1693, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 35200, + 35201 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 35200, + 35200 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 1738, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 1739, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 35246, + 35247 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 35246, + 35246 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 1748, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 1749, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 35256, + 35257 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 35256, + 35256 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 1756, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 1757, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 35264, + 35265 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 35264, + 35264 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 1765, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 1766, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 35273, + 35274 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 35273, + 35273 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\'.", + "line": 857, + "column": 1779, + "nodeType": "TemplateElement", + "messageId": "unnecessaryEscape", + "endLine": 857, + "endColumn": 1780, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 35287, + 35288 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 35287, + 35287 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'footer' is already defined.", + "line": 874, + "column": 11, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 874, + "endColumn": 17 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'element' is already defined.", + "line": 875, + "column": 11, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 875, + "endColumn": 18 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'element' is already defined.", + "line": 878, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 878, + "endColumn": 16 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'footer' is already defined.", + "line": 879, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 879, + "endColumn": 15 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'currentRowid' is assigned a value but never used.", + "line": 1058, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1058, + "endColumn": 23 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'checkContactPersonStatus' is assigned a value but never used.", + "line": 1301, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1301, + "endColumn": 31 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'contactPersonExists' is already defined.", + "line": 1321, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1321, + "endColumn": 28 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'rowcount' is already defined.", + "line": 1322, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1322, + "endColumn": 17 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'i' is already defined.", + "line": 1323, + "column": 14, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1323, + "endColumn": 15 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'contactLabel' is already defined.", + "line": 1324, + "column": 11, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1324, + "endColumn": 23 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'checkDuplicateLink' is assigned a value but never used.", + "line": 1365, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1365, + "endColumn": 25 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'addNewRow' is assigned a value but never used.", + "line": 1421, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1421, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'contactPersonCheck' is not defined.", + "line": 1464, + "column": 34, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1464, + "endColumn": 52 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'newRowIndex' is already defined.", + "line": 1480, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1480, + "endColumn": 20 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'row' is already defined.", + "line": 1481, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1481, + "endColumn": 12 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'row' is assigned a value but never used.", + "line": 1481, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1481, + "endColumn": 12 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 1536, + "column": 16, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1536, + "endColumn": 22 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 1559, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1559, + "endColumn": 6 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'arr' is already defined.", + "line": 1666, + "column": 12, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1666, + "endColumn": 15 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'arr' is already defined.", + "line": 1688, + "column": 12, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1688, + "endColumn": 15 + } + ], + "suppressedMessages": [], + "errorCount": 79, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/metadata-files/downloadTemplates.js", + "messages": [ + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 39, + "column": 10, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 39, + "endColumn": 12 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 40, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 40, + "endColumn": 9 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 44, + "column": 14, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 44, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 51, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 51, + "endColumn": 9 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 67, + "column": 14, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 67, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 69, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 69, + "endColumn": 13 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 72, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 72, + "endColumn": 11 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'destinationPath' is not defined.", + "line": 118, + "column": 30, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 118, + "endColumn": 45 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'destinationPath' is not defined.", + "line": 149, + "column": 80, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 149, + "endColumn": 95 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'event' is defined but never used.", + "line": 183, + "column": 51, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 183, + "endColumn": 56 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'event' is defined but never used.", + "line": 190, + "column": 50, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 190, + "endColumn": 55 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'event' is defined but never used.", + "line": 197, + "column": 39, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 197, + "endColumn": 44 + } + ], + "suppressedMessages": [], + "errorCount": 12, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/metadata-files/manifest.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'excelToJson' is defined but never used.", + "line": 2, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2, + "endColumn": 19 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'https' is defined but never used.", + "line": 4, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 4, + "endColumn": 13 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'createEventDataPrepareMetadata' is defined but never used.", + "line": 8, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 8, + "endColumn": 38 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'swalShowInfo' is defined but never used.", + "line": 18, + "column": 10, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 18, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'jsonManifest' is assigned a value but never used.", + "line": 274, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 274, + "endColumn": 19 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'homeDirectory' is not defined.", + "line": 318, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 318, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'datasetStructCopy' is assigned a value but never used.", + "line": 352, + "column": 13, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 352, + "endColumn": 30 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'homeDirectory' is not defined.", + "line": 389, + "column": 51, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 389, + "endColumn": 64 + }, + { + "ruleId": "no-empty", + "severity": 2, + "message": "Empty block statement.", + "line": 400, + "column": 66, + "nodeType": "BlockStatement", + "messageId": "unexpected", + "endLine": 401, + "endColumn": 14, + "suggestions": [ + { + "messageId": "suggestComment", + "data": { + "type": "block" + }, + "fix": { + "range": [ + 12673, + 12686 + ], + "text": " /* empty */ " + }, + "desc": "Add comment inside empty block statement." + } + ] + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'fileData' is assigned a value but never used.", + "line": 425, + "column": 35, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 425, + "endColumn": 43 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'originalManifestEntry' is assigned a value but never used.", + "line": 434, + "column": 17, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 434, + "endColumn": 38 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'sortedJSON' is assigned a value but never used.", + "line": 504, + "column": 21, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 504, + "endColumn": 31 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'homeDirectory' is not defined.", + "line": 564, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 564, + "endColumn": 28 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'homeDirectory' is not defined.", + "line": 692, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 692, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 860, + "column": 12, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 860, + "endColumn": 18 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 952, + "column": 18, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 952, + "endColumn": 24 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 981, + "column": 18, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 981, + "endColumn": 24 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 1009, + "column": 18, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1009, + "endColumn": 24 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'dataset_name' is assigned a value but never used.", + "line": 1056, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1056, + "endColumn": 21 + }, + { + "ruleId": "no-empty", + "severity": 2, + "message": "Empty block statement.", + "line": 1067, + "column": 30, + "nodeType": "BlockStatement", + "messageId": "unexpected", + "endLine": 1068, + "endColumn": 8, + "suggestions": [ + { + "messageId": "suggestComment", + "data": { + "type": "block" + }, + "fix": { + "range": [ + 38522, + 38529 + ], + "text": " /* empty */ " + }, + "desc": "Add comment inside empty block statement." + } + ] + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'ev' is defined but never used.", + "line": 1073, + "column": 41, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1073, + "endColumn": 43 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'manifest_state' is assigned a value but never used.", + "line": 1088, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1088, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'dataset_name' is assigned a value but never used.", + "line": 1102, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1102, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'localDestination' is assigned a value but never used.", + "line": 1168, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1168, + "endColumn": 25 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'homeDirectory' is not defined.", + "line": 1194, + "column": 32, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1194, + "endColumn": 45 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'dataset_name' is assigned a value but never used.", + "line": 1258, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1258, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'dataset_destination' is assigned a value but never used.", + "line": 1259, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1259, + "endColumn": 28 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'dataset_name' is assigned a value but never used.", + "line": 1266, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1266, + "endColumn": 23 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'dataset_destination' is assigned a value but never used.", + "line": 1267, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1267, + "endColumn": 30 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'dataset_name' is assigned a value but never used.", + "line": 1270, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1270, + "endColumn": 23 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'dataset_destination' is assigned a value but never used.", + "line": 1271, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1271, + "endColumn": 30 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'file_counter' is not defined.", + "line": 1298, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1298, + "endColumn": 17 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'folder_counter' is not defined.", + "line": 1299, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1299, + "endColumn": 19 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'destination' is assigned a value but never used.", + "line": 1331, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1331, + "endColumn": 18 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'folder' is not defined.", + "line": 1354, + "column": 10, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1354, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fd' is not defined.", + "line": 1614, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1614, + "endColumn": 15 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fd' is not defined.", + "line": 1615, + "column": 33, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1615, + "endColumn": 35 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 1722, + "column": 16, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1722, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 1761, + "column": 16, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1761, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 1796, + "column": 16, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1796, + "endColumn": 22 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'nonAllowedCharacters' is not defined.", + "line": 1890, + "column": 176, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1890, + "endColumn": 196 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 1905, + "column": 16, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1905, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 1927, + "column": 14, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1927, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 2105, + "column": 16, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2105, + "endColumn": 22 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'homeDirectory' is not defined.", + "line": 2126, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2126, + "endColumn": 18 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'res' is assigned a value but never used.", + "line": 2147, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2147, + "endColumn": 12 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 2180, + "column": 18, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2180, + "endColumn": 24 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'homeDirectory' is not defined.", + "line": 2208, + "column": 34, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2208, + "endColumn": 47 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 2281, + "column": 14, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2281, + "endColumn": 20 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'highLevelFolders' is not defined.", + "line": 2383, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2383, + "endColumn": 27 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'new_node' is already defined.", + "line": 2387, + "column": 13, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 2387, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'firstNode' is assigned a value but never used.", + "line": 2389, + "column": 13, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2389, + "endColumn": 22 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'new_node' is already defined.", + "line": 2425, + "column": 19, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 2425, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'highLevelFolders' is not defined.", + "line": 2454, + "column": 14, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2454, + "endColumn": 30 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'highLevelFolders' is not defined.", + "line": 2479, + "column": 58, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2479, + "endColumn": 74 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'moved' is assigned a value but never used.", + "line": 2516, + "column": 10, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2516, + "endColumn": 15 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'e' is defined but never used.", + "line": 2531, + "column": 76, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2531, + "endColumn": 77 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'e' is defined but never used.", + "line": 2569, + "column": 82, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2569, + "endColumn": 83 + } + ], + "suppressedMessages": [], + "errorCount": 58, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/metadata-files/readme-changes.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'determineDatasetLocation' is defined but never used.", + "line": 1, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1, + "endColumn": 32 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 128, + "column": 12, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 128, + "endColumn": 18 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'data' is assigned a value but never used.", + "line": 233, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 233, + "endColumn": 15 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 390, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 390, + "endColumn": 10 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'error' is not defined.", + "line": 391, + "column": 39, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 391, + "endColumn": 44 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'newName' is already defined.", + "line": 416, + "column": 13, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 416, + "endColumn": 20 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 421, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 421, + "endColumn": 14 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 571, + "column": 12, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 571, + "endColumn": 18 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'shortName' is already defined.", + "line": 575, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 575, + "endColumn": 18 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 579, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 579, + "endColumn": 6 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'upperCaseLetter' is already defined.", + "line": 652, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 652, + "endColumn": 24 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 701, + "column": 16, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 701, + "endColumn": 22 + } + ], + "suppressedMessages": [], + "errorCount": 12, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/metadata-files/subjects-samples.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'axios' is defined but never used.", + "line": 1, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1, + "endColumn": 13 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'determineDatasetLocation' is defined but never used.", + "line": 5, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5, + "endColumn": 32 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'userErrorMessage' is defined but never used.", + "line": 7, + "column": 23, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 7, + "endColumn": 39 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'kombuchaEnums' is defined but never used.", + "line": 8, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 8, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'createEventDataPrepareMetadata' is defined but never used.", + "line": 9, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 9, + "endColumn": 38 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'swalConfirmAction' is defined but never used.", + "line": 11, + "column": 10, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 11, + "endColumn": 27 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'guidedSamplesTableData' is assigned a value but never used.", + "line": 52, + "column": 5, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 52, + "endColumn": 27 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'editBoolean' is defined but never used.", + "line": 54, + "column": 26, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 54, + "endColumn": 37 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'editBoolean' is defined but never used.", + "line": 66, + "column": 33, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 66, + "endColumn": 44 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'promptImportPrevInfoSamples' is assigned a value but never used.", + "line": 86, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 86, + "endColumn": 34 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'arr2' is defined but never used.", + "line": 86, + "column": 44, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 86, + "endColumn": 48 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'introStatus' is not defined.", + "line": 124, + "column": 8, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 124, + "endColumn": 19 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'introStatus' is not defined.", + "line": 166, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 166, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'promptImportPrevInfoSubject' is assigned a value but never used.", + "line": 172, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 172, + "endColumn": 34 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'displayPreviousSample' is assigned a value but never used.", + "line": 199, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 199, + "endColumn": 28 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'confirmSample' is assigned a value but never used.", + "line": 219, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 219, + "endColumn": 20 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'notyf' is not defined.", + "line": 235, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 235, + "endColumn": 12 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'notyf' is not defined.", + "line": 249, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 249, + "endColumn": 12 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'notyf' is not defined.", + "line": 278, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 278, + "endColumn": 12 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'notyf' is not defined.", + "line": 291, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 291, + "endColumn": 12 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'notyf' is not defined.", + "line": 303, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 303, + "endColumn": 12 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'keyword' is already defined.", + "line": 388, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 388, + "endColumn": 16 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'int' is already defined.", + "line": 389, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 389, + "endColumn": 12 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'table' is already defined.", + "line": 390, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 390, + "endColumn": 14 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'message' is already defined.", + "line": 401, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 401, + "endColumn": 16 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'currentRow' is assigned a value but never used.", + "line": 405, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 405, + "endColumn": 17 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'row' is already defined.", + "line": 427, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 427, + "endColumn": 12 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'row' is assigned a value but never used.", + "line": 427, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 427, + "endColumn": 12 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'keyword' is already defined.", + "line": 457, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 457, + "endColumn": 16 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'int' is already defined.", + "line": 458, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 458, + "endColumn": 12 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'table' is already defined.", + "line": 459, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 459, + "endColumn": 14 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'message' is already defined.", + "line": 470, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 470, + "endColumn": 16 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'message' is assigned a value but never used.", + "line": 487, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 487, + "endColumn": 16 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'message' is assigned a value but never used.", + "line": 511, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 511, + "endColumn": 16 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'field' is already defined.", + "line": 527, + "column": 12, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 527, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'curationModeSelectorPrefix' is assigned a value but never used.", + "line": 540, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 540, + "endColumn": 33 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'keyword' is assigned a value but never used.", + "line": 543, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 543, + "endColumn": 16 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'subjectID' is defined but never used.", + "line": 562, + "column": 29, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 562, + "endColumn": 38 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'clearAllSubjectFormFields' is not defined.", + "line": 875, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 875, + "endColumn": 30 + }, + { + "ruleId": "no-self-assign", + "severity": 2, + "message": "'field.value' is assigned to itself.", + "line": 917, + "column": 23, + "nodeType": "MemberExpression", + "messageId": "selfAssignment", + "endLine": 917, + "endColumn": 34 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'sampleID' is defined but never used.", + "line": 953, + "column": 28, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 953, + "endColumn": 36 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'protocolTitleDropdown' is not defined.", + "line": 1227, + "column": 17, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1227, + "endColumn": 38 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'protocolURLDropdown' is not defined.", + "line": 1228, + "column": 17, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1228, + "endColumn": 36 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'curationModeSelectorPrefix' is assigned a value but never used.", + "line": 1263, + "column": 5, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1263, + "endColumn": 31 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'c' is assigned a value but never used.", + "line": 1281, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1281, + "endColumn": 10 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'curationModePrefix' is not defined.", + "line": 1292, + "column": 25, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1292, + "endColumn": 43 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'curationModePrefix' is not defined.", + "line": 1297, + "column": 25, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1297, + "endColumn": 43 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'curationModePrefix' is not defined.", + "line": 1301, + "column": 21, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1301, + "endColumn": 39 + }, + { + "ruleId": "no-self-assign", + "severity": 2, + "message": "'field.value' is assigned to itself.", + "line": 1391, + "column": 25, + "nodeType": "MemberExpression", + "messageId": "selfAssignment", + "endLine": 1391, + "endColumn": 36 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'i' is already defined.", + "line": 1414, + "column": 14, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1414, + "endColumn": 15 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'i' is already defined.", + "line": 1425, + "column": 16, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1425, + "endColumn": 17 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'i' is already defined.", + "line": 1462, + "column": 14, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1462, + "endColumn": 15 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'i' is already defined.", + "line": 1473, + "column": 16, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1473, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'res' is assigned a value but never used.", + "line": 1610, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1610, + "endColumn": 14 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'res' is assigned a value but never used.", + "line": 1652, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1652, + "endColumn": 14 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'updateOrderIDTable' is assigned a value but never used.", + "line": 1717, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1717, + "endColumn": 25 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'i' is not defined.", + "line": 1724, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1724, + "endColumn": 4 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'j' is not defined.", + "line": 1726, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1726, + "endColumn": 6 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'j' is not defined.", + "line": 1728, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1728, + "endColumn": 6 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'j' is not defined.", + "line": 1731, + "column": 38, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1731, + "endColumn": 39 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'j' is not defined.", + "line": 1733, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1733, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'i' is not defined.", + "line": 1734, + "column": 26, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1734, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'i' is not defined.", + "line": 1735, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1735, + "endColumn": 10 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'updateOrderContributorTable' is assigned a value but never used.", + "line": 1747, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1747, + "endColumn": 34 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'i' is not defined.", + "line": 1752, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1752, + "endColumn": 4 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'i' is not defined.", + "line": 1757, + "column": 26, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1757, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'i' is not defined.", + "line": 1758, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1758, + "endColumn": 10 + }, + { + "ruleId": "no-dupe-keys", + "severity": 2, + "message": "Duplicate key 'heightAuto'.", + "line": 1831, + "column": 9, + "nodeType": "ObjectExpression", + "messageId": "unexpected", + "endLine": 1831, + "endColumn": 19 + }, + { + "ruleId": "no-dupe-keys", + "severity": 2, + "message": "Duplicate key 'backdrop'.", + "line": 1832, + "column": 9, + "nodeType": "ObjectExpression", + "messageId": "unexpected", + "endLine": 1832, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'showConfirmButtonBool' is assigned a value but never used.", + "line": 1947, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1947, + "endColumn": 28 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'index' is defined but never used.", + "line": 2035, + "column": 70, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2035, + "endColumn": 75 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'lowerCasedArray' is already defined.", + "line": 2065, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 2065, + "endColumn": 24 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'divElement' is already defined.", + "line": 2138, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 2138, + "endColumn": 19 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'field' is already defined.", + "line": 2287, + "column": 12, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 2287, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 2554, + "column": 16, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2554, + "endColumn": 22 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'loadSubjectsFileToDataframe' is not defined.", + "line": 2555, + "column": 18, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2555, + "endColumn": 45 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 2604, + "column": 16, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2604, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 2624, + "column": 12, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2624, + "endColumn": 18 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 2631, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2631, + "endColumn": 6 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 2688, + "column": 12, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2688, + "endColumn": 18 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 2696, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2696, + "endColumn": 6 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'field' is already defined.", + "line": 2748, + "column": 12, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 2748, + "endColumn": 17 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'field' is already defined.", + "line": 2780, + "column": 12, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 2780, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'hideDescriptionForDOIs' is assigned a value but never used.", + "line": 2896, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2896, + "endColumn": 29 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'showAgeSection' is assigned a value but never used.", + "line": 2908, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2908, + "endColumn": 21 + } + ], + "suppressedMessages": [], + "errorCount": 85, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/metadata-files/submission.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'determineDatasetLocation' is defined but never used.", + "line": 12, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 12, + "endColumn": 32 + }, + { + "ruleId": "no-dupe-keys", + "severity": 2, + "message": "Duplicate key 'progressSteps'.", + "line": 96, + "column": 5, + "nodeType": "ObjectExpression", + "messageId": "unexpected", + "endLine": 96, + "endColumn": 18 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'handleMilestoneClick' is assigned a value but never used.", + "line": 338, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 338, + "endColumn": 27 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'swal_container' is assigned a value but never used.", + "line": 418, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 418, + "endColumn": 25 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'swal_actions' is assigned a value but never used.", + "line": 419, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 419, + "endColumn": 23 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'swal_header' is assigned a value but never used.", + "line": 422, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 422, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'onboardingSubmission' is assigned a value but never used.", + "line": 457, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 457, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'introStatus' is not defined.", + "line": 477, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 477, + "endColumn": 20 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'introStatus' is not defined.", + "line": 582, + "column": 10, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 582, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'type' is defined but never used.", + "line": 1035, + "column": 38, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1035, + "endColumn": 42 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'type' is defined but never used.", + "line": 1070, + "column": 40, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1070, + "endColumn": 44 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 1111, + "column": 16, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1111, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 1248, + "column": 12, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1248, + "endColumn": 18 + } + ], + "suppressedMessages": [], + "errorCount": 13, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/organize-dataset/curate-functions.js", + "messages": [ + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'metadataFileStatus' is already defined.", + "line": 148, + "column": 7, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 148, + "endColumn": 25 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 164, + "column": 29, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 164, + "endColumn": 31 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 222, + "column": 22, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 222, + "endColumn": 24 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 229, + "column": 24, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 229, + "endColumn": 28 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 232, + "column": 21, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 232, + "endColumn": 23 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 248, + "column": 24, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 248, + "endColumn": 28 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 249, + "column": 19, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 249, + "endColumn": 21 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 253, + "column": 39, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 253, + "endColumn": 43 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'path' is not defined.", + "line": 291, + "column": 20, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 291, + "endColumn": 24 + }, + { + "ruleId": "no-dupe-keys", + "severity": 2, + "message": "Duplicate key 'extension'.", + "line": 367, + "column": 17, + "nodeType": "ObjectExpression", + "messageId": "unexpected", + "endLine": 367, + "endColumn": 26 + }, + { + "ruleId": "no-empty", + "severity": 2, + "message": "Empty block statement.", + "line": 400, + "column": 76, + "nodeType": "BlockStatement", + "messageId": "unexpected", + "endLine": 400, + "endColumn": 78, + "suggestions": [ + { + "messageId": "suggestComment", + "data": { + "type": "block" + }, + "fix": { + "range": [ + 14989, + 14989 + ], + "text": " /* empty */ " + }, + "desc": "Add comment inside empty block statement." + } + ] + }, + { + "ruleId": "no-empty", + "severity": 2, + "message": "Empty block statement.", + "line": 409, + "column": 78, + "nodeType": "BlockStatement", + "messageId": "unexpected", + "endLine": 409, + "endColumn": 80, + "suggestions": [ + { + "messageId": "suggestComment", + "data": { + "type": "block" + }, + "fix": { + "range": [ + 15317, + 15317 + ], + "text": " /* empty */ " + }, + "desc": "Add comment inside empty block statement." + } + ] + }, + { + "ruleId": "no-dupe-keys", + "severity": 2, + "message": "Duplicate key 'extension'.", + "line": 468, + "column": 17, + "nodeType": "ObjectExpression", + "messageId": "unexpected", + "endLine": 468, + "endColumn": 26 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'ev' is defined but never used.", + "line": 500, + "column": 43, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 500, + "endColumn": 45 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'currentFileExplorerPath' is assigned a value but never used.", + "line": 506, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 506, + "endColumn": 32 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'hidden' is not defined.", + "line": 584, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 584, + "endColumn": 13 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'gettingStartedSection' is assigned a value but never used.", + "line": 911, + "column": 5, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 911, + "endColumn": 26 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'file' is already defined.", + "line": 922, + "column": 11, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 922, + "endColumn": 15 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 933, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 933, + "endColumn": 12 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'lottie' is not defined.", + "line": 980, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 980, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'checkAvailableSpace' is assigned a value but never used.", + "line": 1007, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1007, + "endColumn": 26 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'freeMemoryMB' is assigned a value but never used.", + "line": 1050, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1050, + "endColumn": 21 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 1122, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1122, + "endColumn": 10 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetStructureJSONObj' is not defined.", + "line": 1186, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1186, + "endColumn": 28 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetStructureJSONObj' is not defined.", + "line": 1187, + "column": 39, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1187, + "endColumn": 62 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetStructureJSONObj' is not defined.", + "line": 1190, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1190, + "endColumn": 28 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'object' is defined but never used.", + "line": 1194, + "column": 42, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1194, + "endColumn": 48 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 1197, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1197, + "endColumn": 20 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 1205, + "column": 60, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1205, + "endColumn": 71 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 1207, + "column": 37, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1207, + "endColumn": 48 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 1209, + "column": 16, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1209, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 1225, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1225, + "endColumn": 14 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'dataset_request' is assigned a value but never used.", + "line": 1226, + "column": 15, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1226, + "endColumn": 30 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'showHideDropdownButtons' is not defined.", + "line": 1234, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1234, + "endColumn": 34 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'x' is assigned a value but never used.", + "line": 1249, + "column": 19, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1249, + "endColumn": 20 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 1274, + "column": 41, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1274, + "endColumn": 52 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'return_option' is not defined.", + "line": 1391, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1391, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'i' is defined but never used.", + "line": 1516, + "column": 32, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1516, + "endColumn": 33 + }, + { + "ruleId": "no-async-promise-executor", + "severity": 2, + "message": "Promise executor functions should not be async.", + "line": 1550, + "column": 22, + "nodeType": "Identifier", + "messageId": "async", + "endLine": 1550, + "endColumn": 27 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'e' is defined but never used.", + "line": 1569, + "column": 40, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1569, + "endColumn": 41 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetPermissionDiv' is not defined.", + "line": 1587, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1587, + "endColumn": 27 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'checkPrevDivForConfirmButton' is assigned a value but never used.", + "line": 1601, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1601, + "endColumn": 35 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'new_node' is already defined.", + "line": 1685, + "column": 17, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1685, + "endColumn": 25 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'new_node' is already defined.", + "line": 1704, + "column": 15, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1704, + "endColumn": 23 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'new_node' is already defined.", + "line": 1717, + "column": 15, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1717, + "endColumn": 23 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'new_node' is already defined.", + "line": 1763, + "column": 21, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1763, + "endColumn": 29 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'new_node' is already defined.", + "line": 1772, + "column": 19, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1772, + "endColumn": 27 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'category' is defined but never used.", + "line": 1893, + "column": 31, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1893, + "endColumn": 39 + }, + { + "ruleId": "no-dupe-keys", + "severity": 2, + "message": "Duplicate key 'allowEscapeKey'.", + "line": 2019, + "column": 9, + "nodeType": "ObjectExpression", + "messageId": "unexpected", + "endLine": 2019, + "endColumn": 23 + }, + { + "ruleId": "no-prototype-builtins", + "severity": 2, + "message": "Do not access Object.prototype method 'hasOwnProperty' from target object.", + "line": 2048, + "column": 53, + "nodeType": "CallExpression", + "messageId": "prototypeBuildIn", + "endLine": 2048, + "endColumn": 67, + "suggestions": [ + { + "messageId": "callObjectPrototype", + "data": { + "prop": "hasOwnProperty" + }, + "fix": { + "range": [ + 75922, + 75969 + ], + "text": "Object.prototype.hasOwnProperty.call(datasetStructureCopy[\"folders\"], " + }, + "desc": "Call Object.prototype.hasOwnProperty explicitly." + } + ] + }, + { + "ruleId": "no-prototype-builtins", + "severity": 2, + "message": "Do not access Object.prototype method 'hasOwnProperty' from target object.", + "line": 2056, + "column": 40, + "nodeType": "CallExpression", + "messageId": "prototypeBuildIn", + "endLine": 2056, + "endColumn": 54, + "suggestions": [ + { + "messageId": "callObjectPrototype", + "data": { + "prop": "hasOwnProperty" + }, + "fix": { + "range": [ + 76378, + 76414 + ], + "text": "Object.prototype.hasOwnProperty.call(datasetStructureCopy, " + }, + "desc": "Call Object.prototype.hasOwnProperty explicitly." + } + ] + }, + { + "ruleId": "no-prototype-builtins", + "severity": 2, + "message": "Do not access Object.prototype method 'hasOwnProperty' from target object.", + "line": 2101, + "column": 36, + "nodeType": "CallExpression", + "messageId": "prototypeBuildIn", + "endLine": 2101, + "endColumn": 50, + "suggestions": [ + { + "messageId": "callObjectPrototype", + "data": { + "prop": "hasOwnProperty" + }, + "fix": { + "range": [ + 78147, + 78183 + ], + "text": "Object.prototype.hasOwnProperty.call(datasetStructureCopy, " + }, + "desc": "Call Object.prototype.hasOwnProperty explicitly." + } + ] + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'organizeDSglobalPath' is not defined.", + "line": 2116, + "column": 65, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2116, + "endColumn": 85 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'parentNode' is assigned a value but never used.", + "line": 2284, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2284, + "endColumn": 19 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetStructureJSONObj' is not defined.", + "line": 2415, + "column": 19, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2415, + "endColumn": 42 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'highLevelFolders' is not defined.", + "line": 2416, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2416, + "endColumn": 25 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetStructureJSONObj' is not defined.", + "line": 2417, + "column": 21, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2417, + "endColumn": 44 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetStructureJSONObj' is not defined.", + "line": 2418, + "column": 38, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2418, + "endColumn": 61 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetStructureJSONObj' is not defined.", + "line": 2419, + "column": 36, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2419, + "endColumn": 59 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetStructureJSONObj' is not defined.", + "line": 2431, + "column": 19, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2431, + "endColumn": 42 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'highLevelFolders' is not defined.", + "line": 2432, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2432, + "endColumn": 25 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetStructureJSONObj' is not defined.", + "line": 2433, + "column": 21, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2433, + "endColumn": 44 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'guidedManifestTable' is assigned a value but never used.", + "line": 2580, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2580, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'homeDirectory' is not defined.", + "line": 2611, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2611, + "endColumn": 24 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'homeDirectory' is not defined.", + "line": 2751, + "column": 47, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2751, + "endColumn": 60 + }, + { + "ruleId": "no-empty", + "severity": 2, + "message": "Empty block statement.", + "line": 2762, + "column": 62, + "nodeType": "BlockStatement", + "messageId": "unexpected", + "endLine": 2763, + "endColumn": 10, + "suggestions": [ + { + "messageId": "suggestComment", + "data": { + "type": "block" + }, + "fix": { + "range": [ + 101666, + 101675 + ], + "text": " /* empty */ " + }, + "desc": "Add comment inside empty block statement." + } + ] + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 2816, + "column": 36, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2816, + "endColumn": 47 + } + ], + "suppressedMessages": [], + "errorCount": 67, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/organize-dataset/organizeDS.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'fileTxt' is defined but never used.", + "line": 3, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3, + "endColumn": 15 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'filePng' is defined but never used.", + "line": 4, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 4, + "endColumn": 15 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'filePdf' is defined but never used.", + "line": 5, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5, + "endColumn": 15 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'fileCsv' is defined but never used.", + "line": 6, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6, + "endColumn": 15 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'fileDoc' is defined but never used.", + "line": 7, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 7, + "endColumn": 15 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'fileXlsx' is defined but never used.", + "line": 8, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 8, + "endColumn": 16 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'fileJpeg' is defined but never used.", + "line": 9, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 9, + "endColumn": 16 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'fileOther' is defined but never used.", + "line": 10, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 10, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'showTooltips' is assigned a value but never used.", + "line": 17, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 17, + "endColumn": 19 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'highLevelFolderToolTip' is not defined.", + "line": 21, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 21, + "endColumn": 33 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'itemToRestore_new_key_file_name' is not defined.", + "line": 182, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 182, + "endColumn": 42 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'itemToRestore_new_key_file_ext' is not defined.", + "line": 183, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 183, + "endColumn": 41 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'file_number' is not defined.", + "line": 184, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 184, + "endColumn": 22 + }, + { + "ruleId": "no-constant-condition", + "severity": 2, + "message": "Unexpected constant condition.", + "line": 185, + "column": 18, + "nodeType": "Literal", + "messageId": "unexpected", + "endLine": 185, + "endColumn": 22 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'itemToRestore_potential_new_key' is not defined.", + "line": 186, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 186, + "endColumn": 44 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'itemToRestore_new_key_file_name' is not defined.", + "line": 187, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 187, + "endColumn": 46 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'file_number' is not defined.", + "line": 189, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 189, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'itemToRestore_new_key_file_ext' is not defined.", + "line": 191, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 191, + "endColumn": 45 + }, + { + "ruleId": "no-prototype-builtins", + "severity": 2, + "message": "Do not access Object.prototype method 'hasOwnProperty' from target object.", + "line": 192, + "column": 31, + "nodeType": "CallExpression", + "messageId": "prototypeBuildIn", + "endLine": 192, + "endColumn": 45, + "suggestions": [ + { + "messageId": "callObjectPrototype", + "data": { + "prop": "hasOwnProperty" + }, + "fix": { + "range": [ + 7273, + 7301 + ], + "text": "Object.prototype.hasOwnProperty.call(myPath[type], " + }, + "desc": "Call Object.prototype.hasOwnProperty explicitly." + } + ] + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'itemToRestore_potential_new_key' is not defined.", + "line": 192, + "column": 46, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 192, + "endColumn": 77 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'itemToRestore_potential_new_key' is not defined.", + "line": 193, + "column": 39, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 193, + "endColumn": 70 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'file_number' is not defined.", + "line": 196, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 196, + "endColumn": 24 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'i' is already defined.", + "line": 392, + "column": 14, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 392, + "endColumn": 15 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'organizeDSglobalPath' is not defined.", + "line": 399, + "column": 35, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 399, + "endColumn": 55 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'uiItem' is defined but never used.", + "line": 420, + "column": 3, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 420, + "endColumn": 9 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'singleUIItem' is defined but never used.", + "line": 421, + "column": 3, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 421, + "endColumn": 15 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'extension' is already defined.", + "line": 644, + "column": 13, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 644, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'checkSubArrayBool' is assigned a value but never used.", + "line": 718, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 718, + "endColumn": 24 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'selectAll' is assigned a value but never used.", + "line": 751, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 751, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newList' is not defined.", + "line": 786, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 786, + "endColumn": 10 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newList' is not defined.", + "line": 810, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 810, + "endColumn": 14 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newList' is not defined.", + "line": 813, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 813, + "endColumn": 14 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newList' is not defined.", + "line": 816, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 816, + "endColumn": 14 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'handleDuplicateImports' is assigned a value but never used.", + "line": 825, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 825, + "endColumn": 29 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'curationMode' is defined but never used.", + "line": 825, + "column": 62, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 825, + "endColumn": 74 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'type' is not defined.", + "line": 829, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 829, + "endColumn": 11 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'type' is not defined.", + "line": 831, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 831, + "endColumn": 11 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'type' is not defined.", + "line": 850, + "column": 20, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 850, + "endColumn": 24 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'type' is not defined.", + "line": 864, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 864, + "endColumn": 15 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'type' is not defined.", + "line": 874, + "column": 18, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 874, + "endColumn": 22 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'Notyf' is not defined.", + "line": 892, + "column": 25, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 892, + "endColumn": 30 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'organizeDSglobalPath' is not defined.", + "line": 919, + "column": 39, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 919, + "endColumn": 59 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'check_boxes' is assigned a value but never used.", + "line": 1007, + "column": 15, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1007, + "endColumn": 26 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'temp' is already defined.", + "line": 1110, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1110, + "endColumn": 13 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'tempFile' is already defined.", + "line": 1119, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1119, + "endColumn": 17 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'header' is already defined.", + "line": 1121, + "column": 11, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1121, + "endColumn": 17 + }, + { + "ruleId": "no-prototype-builtins", + "severity": 2, + "message": "Do not access Object.prototype method 'hasOwnProperty' from target object.", + "line": 1163, + "column": 52, + "nodeType": "CallExpression", + "messageId": "prototypeBuildIn", + "endLine": 1163, + "endColumn": 66, + "suggestions": [ + { + "messageId": "callObjectPrototype", + "data": { + "prop": "hasOwnProperty" + }, + "fix": { + "range": [ + 39564, + 39588 + ], + "text": "Object.prototype.hasOwnProperty.call(keyCheck, " + }, + "desc": "Call Object.prototype.hasOwnProperty explicitly." + } + ] + }, + { + "ruleId": "no-prototype-builtins", + "severity": 2, + "message": "Do not access Object.prototype method 'hasOwnProperty' from target object.", + "line": 1172, + "column": 30, + "nodeType": "CallExpression", + "messageId": "prototypeBuildIn", + "endLine": 1172, + "endColumn": 44, + "suggestions": [ + { + "messageId": "callObjectPrototype", + "data": { + "prop": "hasOwnProperty" + }, + "fix": { + "range": [ + 40053, + 40077 + ], + "text": "Object.prototype.hasOwnProperty.call(keyCheck, " + }, + "desc": "Call Object.prototype.hasOwnProperty explicitly." + } + ] + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'element' is defined but never used.", + "line": 1181, + "column": 50, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1181, + "endColumn": 57 + }, + { + "ruleId": "no-prototype-builtins", + "severity": 2, + "message": "Do not access Object.prototype method 'hasOwnProperty' from target object.", + "line": 1187, + "column": 52, + "nodeType": "CallExpression", + "messageId": "prototypeBuildIn", + "endLine": 1187, + "endColumn": 66, + "suggestions": [ + { + "messageId": "callObjectPrototype", + "data": { + "prop": "hasOwnProperty" + }, + "fix": { + "range": [ + 40606, + 40630 + ], + "text": "Object.prototype.hasOwnProperty.call(keyCheck, " + }, + "desc": "Call Object.prototype.hasOwnProperty explicitly." + } + ] + }, + { + "ruleId": "no-prototype-builtins", + "severity": 2, + "message": "Do not access Object.prototype method 'hasOwnProperty' from target object.", + "line": 1192, + "column": 64, + "nodeType": "CallExpression", + "messageId": "prototypeBuildIn", + "endLine": 1192, + "endColumn": 78, + "suggestions": [ + { + "messageId": "callObjectPrototype", + "data": { + "prop": "hasOwnProperty" + }, + "fix": { + "range": [ + 40879, + 40903 + ], + "text": "Object.prototype.hasOwnProperty.call(keyCheck, " + }, + "desc": "Call Object.prototype.hasOwnProperty explicitly." + } + ] + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sameName' is not defined.", + "line": 1211, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1211, + "endColumn": 17 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'extIndex' is not defined.", + "line": 1216, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1216, + "endColumn": 19 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'extIndex' is not defined.", + "line": 1217, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1217, + "endColumn": 23 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'justFileName' is not defined.", + "line": 1220, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1220, + "endColumn": 25 + }, + { + "ruleId": "no-prototype-builtins", + "severity": 2, + "message": "Do not access Object.prototype method 'hasOwnProperty' from target object.", + "line": 1222, + "column": 35, + "nodeType": "CallExpression", + "messageId": "prototypeBuildIn", + "endLine": 1222, + "endColumn": 49, + "suggestions": [ + { + "messageId": "callObjectPrototype", + "data": { + "prop": "hasOwnProperty" + }, + "fix": { + "range": [ + 41914, + 41947 + ], + "text": "Object.prototype.hasOwnProperty.call(myPath[\"folders\"], " + }, + "desc": "Call Object.prototype.hasOwnProperty explicitly." + } + ] + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sameName' is not defined.", + "line": 1227, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1227, + "endColumn": 23 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sameName' is not defined.", + "line": 1230, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1230, + "endColumn": 23 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'justFileName' is not defined.", + "line": 1232, + "column": 17, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1232, + "endColumn": 29 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'justFileName' is not defined.", + "line": 1238, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1238, + "endColumn": 25 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'extIndex' is not defined.", + "line": 1238, + "column": 53, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1238, + "endColumn": 61 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'extIndex' is not defined.", + "line": 1241, + "column": 53, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1241, + "endColumn": 61 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newNamewithExt' is not defined.", + "line": 1242, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1242, + "endColumn": 27 + }, + { + "ruleId": "no-prototype-builtins", + "severity": 2, + "message": "Do not access Object.prototype method 'hasOwnProperty' from target object.", + "line": 1243, + "column": 33, + "nodeType": "CallExpression", + "messageId": "prototypeBuildIn", + "endLine": 1243, + "endColumn": 47, + "suggestions": [ + { + "messageId": "callObjectPrototype", + "data": { + "prop": "hasOwnProperty" + }, + "fix": { + "range": [ + 42988, + 43019 + ], + "text": "Object.prototype.hasOwnProperty.call(myPath[\"files\"], " + }, + "desc": "Call Object.prototype.hasOwnProperty explicitly." + } + ] + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'newNamewithExt' is not defined.", + "line": 1243, + "column": 48, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1243, + "endColumn": 62 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sameName' is not defined.", + "line": 1247, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1247, + "endColumn": 23 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sameName' is not defined.", + "line": 1249, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1249, + "endColumn": 23 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'justFileName' is not defined.", + "line": 1251, + "column": 17, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1251, + "endColumn": 29 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'extIndex' is not defined.", + "line": 1252, + "column": 67, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1252, + "endColumn": 75 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sameName' is not defined.", + "line": 1259, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1259, + "endColumn": 23 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sameName' is not defined.", + "line": 1260, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1260, + "endColumn": 21 + }, + { + "ruleId": "no-unreachable", + "severity": 2, + "message": "Unreachable code.", + "line": 1263, + "column": 13, + "nodeType": "ExpressionStatement", + "messageId": "unreachableCode", + "endLine": 1263, + "endColumn": 68 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'organizeDSglobalPath' is not defined.", + "line": 1279, + "column": 17, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1279, + "endColumn": 37 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sameName' is not defined.", + "line": 1299, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1299, + "endColumn": 23 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sameName' is not defined.", + "line": 1300, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1300, + "endColumn": 21 + }, + { + "ruleId": "no-unreachable", + "severity": 2, + "message": "Unreachable code.", + "line": 1303, + "column": 13, + "nodeType": "ExpressionStatement", + "messageId": "unreachableCode", + "endLine": 1303, + "endColumn": 68 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'organizeDSglobalPath' is not defined.", + "line": 1325, + "column": 17, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1325, + "endColumn": 37 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'organizeDSglobalPath' is not defined.", + "line": 1336, + "column": 23, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1336, + "endColumn": 43 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'tempFile' is already defined.", + "line": 1363, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1363, + "endColumn": 17 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'temp' is already defined.", + "line": 1364, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1364, + "endColumn": 13 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'selectAll' is already defined.", + "line": 1367, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1367, + "endColumn": 18 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'selectText' is already defined.", + "line": 1368, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1368, + "endColumn": 19 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'para2' is already defined.", + "line": 1369, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1369, + "endColumn": 14 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'tempFile' is already defined.", + "line": 1384, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1384, + "endColumn": 17 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'header' is already defined.", + "line": 1387, + "column": 11, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1387, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'check_boxes' is assigned a value but never used.", + "line": 1448, + "column": 15, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1448, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'organizeDSglobalPath' is not defined.", + "line": 1491, + "column": 17, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1491, + "endColumn": 37 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'organizeDSglobalPath' is not defined.", + "line": 1517, + "column": 17, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1517, + "endColumn": 37 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'organizeDSglobalPath' is not defined.", + "line": 1522, + "column": 25, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1522, + "endColumn": 45 + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\+.", + "line": 1584, + "column": 17, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1584, + "endColumn": 18, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 55648, + 55649 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 55648, + 55648 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\%.", + "line": 1584, + "column": 20, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1584, + "endColumn": 21, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 55651, + 55652 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 55651, + 55651 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'organizeDSglobalPath' is not defined.", + "line": 1589, + "column": 15, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1589, + "endColumn": 35 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'organizeDSglobalPath' is not defined.", + "line": 1590, + "column": 10, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1590, + "endColumn": 30 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'addFilesfunction' is assigned a value but never used.", + "line": 1593, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1593, + "endColumn": 23 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'Notyf' is not defined.", + "line": 1602, + "column": 25, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1602, + "endColumn": 30 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'PrepareDatasetsAnalyticsPrefix' is not defined.", + "line": 1693, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1693, + "endColumn": 39 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'nonAllowedDuplicate' is not defined.", + "line": 1713, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1713, + "endColumn": 30 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'nonAllowedDuplicate' is not defined.", + "line": 1719, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1719, + "endColumn": 32 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'nonAllowedDuplicate' is assigned a value but never used.", + "line": 1750, + "column": 17, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1750, + "endColumn": 36 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fileName' is not defined.", + "line": 1802, + "column": 43, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1802, + "endColumn": 51 + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\+.", + "line": 1876, + "column": 25, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1876, + "endColumn": 26, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 66350, + 66351 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 66350, + 66350 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\%.", + "line": 1876, + "column": 28, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1876, + "endColumn": 29, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 66353, + 66354 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 66353, + 66353 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'nonAllowedDuplicate' is not defined.", + "line": 1937, + "column": 17, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1937, + "endColumn": 36 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'nonAllowedDuplicate' is not defined.", + "line": 1943, + "column": 21, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1943, + "endColumn": 40 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'nonAllowedDuplicate' is not defined.", + "line": 1987, + "column": 17, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1987, + "endColumn": 36 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'nonAllowedDuplicate' is not defined.", + "line": 1993, + "column": 21, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1993, + "endColumn": 40 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'PrepareDatasetsAnalyticsPrefix' is not defined.", + "line": 2162, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2162, + "endColumn": 37 + }, + { + "ruleId": "no-prototype-builtins", + "severity": 2, + "message": "Do not access Object.prototype method 'hasOwnProperty' from target object.", + "line": 2178, + "column": 24, + "nodeType": "CallExpression", + "messageId": "prototypeBuildIn", + "endLine": 2178, + "endColumn": 38, + "suggestions": [ + { + "messageId": "callObjectPrototype", + "data": { + "prop": "hasOwnProperty" + }, + "fix": { + "range": [ + 77769, + 77801 + ], + "text": "Object.prototype.hasOwnProperty.call(elementPrototype, " + }, + "desc": "Call Object.prototype.hasOwnProperty explicitly." + } + ] + }, + { + "ruleId": "no-setter-return", + "severity": 2, + "message": "Setter cannot return a value.", + "line": 2191, + "column": 9, + "nodeType": "ReturnStatement", + "messageId": "returnsValue", + "endLine": 2191, + "endColumn": 25 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'uiItems' is not defined.", + "line": 2248, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2248, + "endColumn": 20 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'uiItems' is not defined.", + "line": 2253, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2253, + "endColumn": 20 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'listed_count' is not defined.", + "line": 2295, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2295, + "endColumn": 19 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'wait4items' is assigned a value but never used.", + "line": 2304, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2304, + "endColumn": 21 + }, + { + "ruleId": "no-async-promise-executor", + "severity": 2, + "message": "Promise executor functions should not be async.", + "line": 2304, + "column": 36, + "nodeType": "Identifier", + "messageId": "async", + "endLine": 2304, + "endColumn": 41 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'uiItems' is not defined.", + "line": 2306, + "column": 40, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2306, + "endColumn": 47 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'listed_count' is not defined.", + "line": 2334, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2334, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'resetLazyLoading' is assigned a value but never used.", + "line": 2392, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2392, + "endColumn": 23 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'bf_path' is not defined.", + "line": 2418, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2418, + "endColumn": 12 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'bf_path' is not defined.", + "line": 2419, + "column": 62, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2419, + "endColumn": 69 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'bf_path' is not defined.", + "line": 2420, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2420, + "endColumn": 12 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'bf_path' is not defined.", + "line": 2421, + "column": 56, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2421, + "endColumn": 63 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'triggerManageDetailsPrompts' is assigned a value but never used.", + "line": 2430, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2430, + "endColumn": 34 + } + ], + "suppressedMessages": [], + "errorCount": 122, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/organize-dataset/validation-functions.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'uuid' is defined but never used.", + "line": 2, + "column": 16, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'userErrorMessage' is defined but never used.", + "line": 5, + "column": 23, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5, + "endColumn": 39 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'folder_counter' is assigned a value but never used.", + "line": 245, + "column": 3, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 245, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'displayValidationReportErrors' is assigned a value but never used.", + "line": 350, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 350, + "endColumn": 36 + } + ], + "suppressedMessages": [], + "errorCount": 4, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/organize-dataset/verify-file-statuses.js", + "messages": [ + { + "ruleId": "no-constant-condition", + "severity": 2, + "message": "Unexpected constant condition.", + "line": 155, + "column": 10, + "nodeType": "Literal", + "messageId": "unexpected", + "endLine": 155, + "endColumn": 14 + }, + { + "ruleId": "no-constant-condition", + "severity": 2, + "message": "Unexpected constant condition.", + "line": 218, + "column": 10, + "nodeType": "Literal", + "messageId": "unexpected", + "endLine": 218, + "endColumn": 14 + } + ], + "suppressedMessages": [], + "errorCount": 2, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/others/api/api.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'setDatasetPermissions' is assigned a value but never used.", + "line": 144, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 144, + "endColumn": 28 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'selected_account' is defined but never used.", + "line": 144, + "column": 38, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 144, + "endColumn": 54 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'selected_dataset' is defined but never used.", + "line": 144, + "column": 56, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 144, + "endColumn": 72 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'params' is defined but never used.", + "line": 144, + "column": 74, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 144, + "endColumn": 80 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'getLockStatus' is assigned a value but never used.", + "line": 196, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 196, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'profile' is defined but never used.", + "line": 478, + "column": 33, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 478, + "endColumn": 40 + } + ], + "suppressedMessages": [], + "errorCount": 6, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/others/http-error-handler/error-handler.js", + "messages": [ + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 14, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 14, + "endColumn": 6 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 22, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 22, + "endColumn": 8 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 23, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 23, + "endColumn": 8 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 24, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 24, + "endColumn": 8 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 25, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 25, + "endColumn": 8 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 26, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 26, + "endColumn": 8 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 27, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 27, + "endColumn": 8 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 35, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 35, + "endColumn": 8 + } + ], + "suppressedMessages": [], + "errorCount": 8, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/others/pennsieveDatasetImporter.js", + "messages": [ + { + "ruleId": "no-extra-boolean-cast", + "severity": 2, + "message": "Redundant double negation.", + "line": 79, + "column": 7, + "nodeType": "UnaryExpression", + "messageId": "unexpectedNegation", + "endLine": 79, + "endColumn": 26, + "fix": { + "range": [ + 2921, + 2940 + ], + "text": "progressContainer" + } + } + ], + "suppressedMessages": [], + "errorCount": 1, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 1, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/others/renderer.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'os' is defined but never used.", + "line": 9, + "column": 13, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 9, + "endColumn": 15 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'Editor' is defined but never used.", + "line": 11, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 11, + "endColumn": 14 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'bootstrap' is defined but never used.", + "line": 19, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 19, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'popper' is defined but never used.", + "line": 20, + "column": 13, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 20, + "endColumn": 19 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'csvToJson' is defined but never used.", + "line": 26, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 26, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'introJs' is defined but never used.", + "line": 28, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 28, + "endColumn": 15 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'validator' is defined but never used.", + "line": 30, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 30, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'doiRegex' is defined but never used.", + "line": 31, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 31, + "endColumn": 16 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'DragSort' is defined but never used.", + "line": 36, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 36, + "endColumn": 16 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'swalConfirmAction' is defined but never used.", + "line": 65, + "column": 3, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 65, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'canSmiley' is defined but never used.", + "line": 67, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 67, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'canSad' is defined but never used.", + "line": 68, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 68, + "endColumn": 14 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'setDatasetEntityObj' is defined but never used.", + "line": 88, + "column": 10, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 88, + "endColumn": 29 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'connected_to_internet' is assigned a value but never used.", + "line": 301, + "column": 5, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 301, + "endColumn": 26 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'errorMessage' is defined but never used.", + "line": 305, + "column": 36, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 305, + "endColumn": 48 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'res' is assigned a value but never used.", + "line": 319, + "column": 13, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 319, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'notyf' is not defined.", + "line": 388, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 388, + "endColumn": 10 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'agentDownloadUrl' is assigned a value but never used.", + "line": 628, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 628, + "endColumn": 24 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 682, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 682, + "endColumn": 8 + }, + { + "ruleId": "no-dupe-keys", + "severity": 2, + "message": "Duplicate key 'duration'.", + "line": 698, + "column": 9, + "nodeType": "ObjectExpression", + "messageId": "unexpected", + "endLine": 698, + "endColumn": 17 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'checkInternetConnection' is not defined.", + "line": 704, + "column": 43, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 704, + "endColumn": 66 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 880, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 880, + "endColumn": 8 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 895, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 895, + "endColumn": 8 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 906, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 906, + "endColumn": 8 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'latestPennsieveAgentVersion' is assigned a value but never used.", + "line": 923, + "column": 31, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 923, + "endColumn": 58 + }, + { + "ruleId": "no-case-declarations", + "severity": 2, + "message": "Unexpected lexical declaration in case block.", + "line": 968, + "column": 7, + "nodeType": "VariableDeclaration", + "messageId": "unexpected", + "endLine": 968, + "endColumn": 64 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'homeDirectory' is not defined.", + "line": 1009, + "column": 42, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1009, + "endColumn": 55 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 1017, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1017, + "endColumn": 8 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'event' is defined but never used.", + "line": 1022, + "column": 48, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1022, + "endColumn": 53 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'arg' is defined but never used.", + "line": 1022, + "column": 55, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1022, + "endColumn": 58 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'target' is defined but never used.", + "line": 1066, + "column": 55, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1066, + "endColumn": 61 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'event' is defined but never used.", + "line": 1066, + "column": 63, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1066, + "endColumn": 68 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'contextMenu' is assigned a value but never used.", + "line": 1106, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1106, + "endColumn": 18 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'homePathButton' is assigned a value but never used.", + "line": 1108, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1108, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'selectImportFileOrganizationBtn' is assigned a value but never used.", + "line": 1117, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1117, + "endColumn": 38 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'tableMetadata' is assigned a value but never used.", + "line": 1120, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1120, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'tableMetadataCount' is assigned a value but never used.", + "line": 1121, + "column": 5, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1121, + "endColumn": 23 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'validateCurrentDSBtn' is assigned a value but never used.", + "line": 1124, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1124, + "endColumn": 27 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'validateCurrentDatasetReport' is assigned a value but never used.", + "line": 1125, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1125, + "endColumn": 35 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'currentDatasetReportBtn' is assigned a value but never used.", + "line": 1126, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1126, + "endColumn": 30 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'validateLocalDSBtn' is assigned a value but never used.", + "line": 1127, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1127, + "endColumn": 25 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'validateLocalDatasetReport' is assigned a value but never used.", + "line": 1128, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1128, + "endColumn": 33 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'localDatasetReportBtn' is assigned a value but never used.", + "line": 1129, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1129, + "endColumn": 28 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'validateLocalProgressBar' is assigned a value but never used.", + "line": 1130, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1130, + "endColumn": 31 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'validateSODAProgressBar' is assigned a value but never used.", + "line": 1131, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1131, + "endColumn": 30 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'newDatasetName' is assigned a value but never used.", + "line": 1137, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1137, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'manifestStatus' is assigned a value but never used.", + "line": 1138, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1138, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'datasetStructCopy' is assigned a value but never used.", + "line": 1143, + "column": 5, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1143, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'bfUploadRefreshDatasetBtn' is assigned a value but never used.", + "line": 1144, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1144, + "endColumn": 32 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'bfSaveBannerImageBtn' is assigned a value but never used.", + "line": 1158, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1158, + "endColumn": 27 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'datasetBannerImageStatus' is assigned a value but never used.", + "line": 1159, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1159, + "endColumn": 31 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'bfListLicense' is assigned a value but never used.", + "line": 1163, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1163, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'bfAddLicenseBtn' is assigned a value but never used.", + "line": 1164, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1164, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'bfListRolesTeam' is assigned a value but never used.", + "line": 1181, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1181, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'bfAddPermissionTeamBtn' is assigned a value but never used.", + "line": 1182, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1182, + "endColumn": 29 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'openSidebar' is assigned a value but never used.", + "line": 1210, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1210, + "endColumn": 18 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'buttonElement' is defined but never used.", + "line": 1210, + "column": 22, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1210, + "endColumn": 35 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'buttonSidebarIcon' is not defined.", + "line": 1215, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1215, + "endColumn": 24 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'buttonSidebarIcon' is not defined.", + "line": 1221, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1221, + "endColumn": 24 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'isDragging' is not defined.", + "line": 1236, + "column": 30, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1236, + "endColumn": 40 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 1446, + "column": 11, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1446, + "endColumn": 13 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 1476, + "column": 22, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1476, + "endColumn": 28 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 1492, + "column": 18, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1492, + "endColumn": 24 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 1576, + "column": 12, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1576, + "endColumn": 18 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 1660, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1660, + "endColumn": 11 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 1686, + "column": 20, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1686, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'uploadBFBoolean' is not defined.", + "line": 1687, + "column": 44, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1687, + "endColumn": 59 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 1702, + "column": 16, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1702, + "endColumn": 22 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'uploadBFBoolean' is not defined.", + "line": 1703, + "column": 40, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1703, + "endColumn": 55 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'result' is defined but never used.", + "line": 1784, + "column": 12, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1784, + "endColumn": 18 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'indices' is already defined.", + "line": 1884, + "column": 9, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 1884, + "endColumn": 16 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'createSpecimenTypeAutocomplete' is defined but never used.", + "line": 2117, + "column": 10, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2117, + "endColumn": 40 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'autoCompleteJS3' is assigned a value but never used.", + "line": 2118, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2118, + "endColumn": 22 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'getParentDatasets' is defined but never used.", + "line": 2149, + "column": 10, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2149, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'dsContributorArrayLast1' is not defined.", + "line": 2158, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2158, + "endColumn": 30 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'dsContributorArrayLast1' is not defined.", + "line": 2159, + "column": 26, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2159, + "endColumn": 49 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'dsContributorArrayFirst1' is not defined.", + "line": 2161, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2161, + "endColumn": 31 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'dsContributorArrayFirst1' is not defined.", + "line": 2162, + "column": 26, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2162, + "endColumn": 50 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'dsContributorArrayFirst1' is not defined.", + "line": 2163, + "column": 22, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2163, + "endColumn": 46 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'currentContributorsFirstNames' is not defined.", + "line": 2167, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 2167, + "endColumn": 32 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'populateDatasetDropdownCurate' is defined but never used.", + "line": 2610, + "column": 10, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2610, + "endColumn": 39 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'instance' is assigned a value but never used.", + "line": 2753, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2753, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'reviewstatus' is assigned a value but never used.", + "line": 2787, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2787, + "endColumn": 19 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'publishingStatus' is assigned a value but never used.", + "line": 2788, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2788, + "endColumn": 23 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'reviewstatus' is assigned a value but never used.", + "line": 3192, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3192, + "endColumn": 19 + }, + { + "ruleId": "no-dupe-keys", + "severity": 2, + "message": "Duplicate key 'confirmButtonText'.", + "line": 3248, + "column": 7, + "nodeType": "ObjectExpression", + "messageId": "unexpected", + "endLine": 3248, + "endColumn": 24 + }, + { + "ruleId": "no-dupe-keys", + "severity": 2, + "message": "Duplicate key 'confirmButtonText'.", + "line": 3287, + "column": 7, + "nodeType": "ObjectExpression", + "messageId": "unexpected", + "endLine": 3287, + "endColumn": 24 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'emessage' is assigned a value but never used.", + "line": 3385, + "column": 15, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3385, + "endColumn": 23 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 3537, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3537, + "endColumn": 8 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 3538, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3538, + "endColumn": 8 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'defaultBfAccount' is not defined.", + "line": 3538, + "column": 66, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3538, + "endColumn": 82 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'selectedBfAccount' is assigned a value but never used.", + "line": 3554, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3554, + "endColumn": 24 + }, + { + "ruleId": "no-async-promise-executor", + "severity": 2, + "message": "Promise executor functions should not be async.", + "line": 3573, + "column": 22, + "nodeType": "Identifier", + "messageId": "async", + "endLine": 3573, + "endColumn": 27 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'nothing' is defined but never used.", + "line": 3575, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3575, + "endColumn": 18 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'publishStatus' is assigned a value but never used.", + "line": 3663, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3663, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'highLevelFolderToolTip' is assigned a value but never used.", + "line": 3706, + "column": 5, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3706, + "endColumn": 27 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'items' is assigned a value but never used.", + "line": 3739, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3739, + "endColumn": 14 + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\/.", + "line": 3935, + "column": 15, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 3935, + "endColumn": 16, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 138168, + 138169 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 138168, + 138168 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'pasteFromClipboard' is assigned a value but never used.", + "line": 4001, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 4001, + "endColumn": 25 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'changeStepOrganize' is assigned a value but never used.", + "line": 4118, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 4118, + "endColumn": 25 + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\/.", + "line": 4334, + "column": 42, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 4334, + "endColumn": 43, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 152495, + 152496 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 152495, + 152495 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\[.", + "line": 4334, + "column": 56, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 4334, + "endColumn": 57, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 152509, + 152510 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 152509, + 152509 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-dupe-keys", + "severity": 2, + "message": "Duplicate key 'width'.", + "line": 4379, + "column": 7, + "nodeType": "ObjectExpression", + "messageId": "unexpected", + "endLine": 4379, + "endColumn": 12 + }, + { + "ruleId": "no-dupe-keys", + "severity": 2, + "message": "Duplicate key 'heightAuto'.", + "line": 4380, + "column": 7, + "nodeType": "ObjectExpression", + "messageId": "unexpected", + "endLine": 4380, + "endColumn": 17 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'currentFileExplorerPath' is not defined.", + "line": 4827, + "column": 44, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 4827, + "endColumn": 67 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'currentFileExplorerPath' is not defined.", + "line": 4830, + "column": 70, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 4830, + "endColumn": 93 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 4903, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 4903, + "endColumn": 9 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'excelFile' is assigned a value but never used.", + "line": 4998, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 4998, + "endColumn": 20 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'notyf' is not defined.", + "line": 5021, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 5021, + "endColumn": 12 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'notyf' is not defined.", + "line": 5030, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 5030, + "endColumn": 12 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'element' is assigned a value but never used.", + "line": 5214, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5214, + "endColumn": 14 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'showTooltips' is not defined.", + "line": 5399, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 5399, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'isDragging' is defined but never used.", + "line": 5562, + "column": 42, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5562, + "endColumn": 52 + }, + { + "ruleId": "no-empty", + "severity": 2, + "message": "Empty block statement.", + "line": 5563, + "column": 25, + "nodeType": "BlockStatement", + "messageId": "unexpected", + "endLine": 5564, + "endColumn": 4, + "suggestions": [ + { + "messageId": "suggestComment", + "data": { + "type": "block" + }, + "fix": { + "range": [ + 197361, + 197364 + ], + "text": " /* empty */ " + }, + "desc": "Add comment inside empty block statement." + } + ] + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'event' is defined but never used.", + "line": 5570, + "column": 30, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5570, + "endColumn": 35 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'isDragging' is defined but never used.", + "line": 5570, + "column": 37, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5570, + "endColumn": 47 + }, + { + "ruleId": "no-prototype-builtins", + "severity": 2, + "message": "Do not access Object.prototype method 'hasOwnProperty' from target object.", + "line": 5624, + "column": 14, + "nodeType": "CallExpression", + "messageId": "prototypeBuildIn", + "endLine": 5624, + "endColumn": 28, + "suggestions": [ + { + "messageId": "callObjectPrototype", + "data": { + "prop": "hasOwnProperty" + }, + "fix": { + "range": [ + 199251, + 199273 + ], + "text": "Object.prototype.hasOwnProperty.call(object, " + }, + "desc": "Call Object.prototype.hasOwnProperty explicitly." + } + ] + }, + { + "ruleId": "no-prototype-builtins", + "severity": 2, + "message": "Do not access Object.prototype method 'hasOwnProperty' from target object.", + "line": 5631, + "column": 14, + "nodeType": "CallExpression", + "messageId": "prototypeBuildIn", + "endLine": 5631, + "endColumn": 28, + "suggestions": [ + { + "messageId": "callObjectPrototype", + "data": { + "prop": "hasOwnProperty" + }, + "fix": { + "range": [ + 199434, + 199456 + ], + "text": "Object.prototype.hasOwnProperty.call(object, " + }, + "desc": "Call Object.prototype.hasOwnProperty explicitly." + } + ] + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'fileExplorerBackButton' is assigned a value but never used.", + "line": 5652, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5652, + "endColumn": 31 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'splitPathCheck' is assigned a value but never used.", + "line": 5659, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5659, + "endColumn": 25 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'primarySampleCapsule' is assigned a value but never used.", + "line": 5675, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5675, + "endColumn": 29 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'primarySubjectCapsule' is assigned a value but never used.", + "line": 5678, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5678, + "endColumn": 30 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'primaryPoolCapsule' is assigned a value but never used.", + "line": 5681, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5681, + "endColumn": 27 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'sourceSampleCapsule' is assigned a value but never used.", + "line": 5684, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5684, + "endColumn": 28 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'sourceSubjectCapsule' is assigned a value but never used.", + "line": 5687, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5687, + "endColumn": 29 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'sourcePoolCapsule' is assigned a value but never used.", + "line": 5690, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5690, + "endColumn": 26 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'derivativeSampleCapsule' is assigned a value but never used.", + "line": 5694, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5694, + "endColumn": 32 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'derivativeSubjectCapsule' is assigned a value but never used.", + "line": 5697, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5697, + "endColumn": 33 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'derivativePoolCapsule' is assigned a value but never used.", + "line": 5700, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5700, + "endColumn": 30 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'currentSampleFolder' is assigned a value but never used.", + "line": 5737, + "column": 13, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5737, + "endColumn": 32 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'currentPoolName' is assigned a value but never used.", + "line": 5774, + "column": 15, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5774, + "endColumn": 30 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'item' is already defined.", + "line": 5905, + "column": 14, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 5905, + "endColumn": 18 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'extension' is already defined.", + "line": 5912, + "column": 15, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 5912, + "endColumn": 24 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'element_creation' is assigned a value but never used.", + "line": 5966, + "column": 13, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5966, + "endColumn": 29 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'itemDisplay' is assigned a value but never used.", + "line": 6047, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6047, + "endColumn": 20 + }, + { + "ruleId": "no-async-promise-executor", + "severity": 2, + "message": "Promise executor functions should not be async.", + "line": 6047, + "column": 35, + "nodeType": "Identifier", + "messageId": "async", + "endLine": 6047, + "endColumn": 40 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'itemDisplay' is assigned a value but never used.", + "line": 6058, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6058, + "endColumn": 20 + }, + { + "ruleId": "no-async-promise-executor", + "severity": 2, + "message": "Promise executor functions should not be async.", + "line": 6058, + "column": 35, + "nodeType": "Identifier", + "messageId": "async", + "endLine": 6058, + "endColumn": 40 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'dragDropAnimation' is assigned a value but never used.", + "line": 6137, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6137, + "endColumn": 26 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'triggerManageDetailsPrompts' is not defined.", + "line": 6220, + "column": 3, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 6220, + "endColumn": 30 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'sodaJSONObj' is defined but never used.", + "line": 6390, + "column": 36, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6390, + "endColumn": 47 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 6462, + "column": 45, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 6462, + "endColumn": 56 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 6464, + "column": 35, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 6464, + "endColumn": 46 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'dataset_name' is assigned a value but never used.", + "line": 6466, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6466, + "endColumn": 20 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 6466, + "column": 74, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 6466, + "endColumn": 85 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 6523, + "column": 23, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 6523, + "endColumn": 34 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'file_counter' is assigned a value but never used.", + "line": 6553, + "column": 5, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6553, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'folder_counter' is assigned a value but never used.", + "line": 6554, + "column": 5, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6554, + "endColumn": 19 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'manifest_files_requested' is assigned a value but never used.", + "line": 6680, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6680, + "endColumn": 31 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'increaseInFileSize' is assigned a value but never used.", + "line": 6691, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6691, + "endColumn": 25 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'generated_dataset_id' is assigned a value but never used.", + "line": 6692, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6692, + "endColumn": 27 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'time' is assigned a value but never used.", + "line": 6718, + "column": 11, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6718, + "endColumn": 15 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'totalSizePrint' is already defined.", + "line": 7084, + "column": 13, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 7084, + "endColumn": 27 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'totalSizePrint' is already defined.", + "line": 7090, + "column": 13, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 7090, + "endColumn": 27 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'totalSizePrint' is already defined.", + "line": 7094, + "column": 13, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 7094, + "endColumn": 27 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'show_curation_shortcut' is assigned a value but never used.", + "line": 7262, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 7262, + "endColumn": 29 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'statusBarContainer' is assigned a value but never used.", + "line": 7285, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 7285, + "endColumn": 27 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 7290, + "column": 12, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 7290, + "endColumn": 23 + }, + { + "ruleId": "no-prototype-builtins", + "severity": 2, + "message": "Do not access Object.prototype method 'hasOwnProperty' from target object.", + "line": 7290, + "column": 44, + "nodeType": "CallExpression", + "messageId": "prototypeBuildIn", + "endLine": 7290, + "endColumn": 58, + "suggestions": [ + { + "messageId": "callObjectPrototype", + "data": { + "prop": "hasOwnProperty" + }, + "fix": { + "range": [ + 263112, + 263159 + ], + "text": "Object.prototype.hasOwnProperty.call(sodaJSONObj[\"generate-dataset\"], " + }, + "desc": "Call Object.prototype.hasOwnProperty explicitly." + } + ] + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 7291, + "column": 23, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 7291, + "endColumn": 34 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 7293, + "column": 23, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 7293, + "endColumn": 34 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'confirm_click_function' is not defined.", + "line": 7299, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 7299, + "endColumn": 29 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'confirm_click_function' is not defined.", + "line": 7307, + "column": 7, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 7307, + "endColumn": 29 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'file' is assigned a value but never used.", + "line": 7329, + "column": 14, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 7329, + "endColumn": 18 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'generateHtmlListFromArray' is defined but never used.", + "line": 7372, + "column": 10, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 7372, + "endColumn": 35 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'paraEle' is defined but never used.", + "line": 7395, + "column": 73, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 7395, + "endColumn": 80 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'sodaJSONObj' is not defined.", + "line": 7474, + "column": 13, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 7474, + "endColumn": 24 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'response' is defined but never used.", + "line": 7537, + "column": 20, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 7537, + "endColumn": 28 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'resolve' is defined but never used.", + "line": 7544, + "column": 35, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 7544, + "endColumn": 42 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'reject' is defined but never used.", + "line": 7544, + "column": 44, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 7544, + "endColumn": 50 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'gettingStarted' is assigned a value but never used.", + "line": 8373, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 8373, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'freeFormModeLinkButton' is assigned a value but never used.", + "line": 8383, + "column": 9, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 8383, + "endColumn": 31 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'directToFreeFormMode' is not defined.", + "line": 8394, + "column": 30, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 8394, + "endColumn": 50 + } + ], + "suppressedMessages": [], + "errorCount": 173, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/others/tab-effects.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'Accordion' is defined but never used.", + "line": 2, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'userErrorMessage' is defined but never used.", + "line": 7, + "column": 23, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 7, + "endColumn": 39 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'introJs' is defined but never used.", + "line": 8, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 8, + "endColumn": 15 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'defaultBfDataset' is not defined.", + "line": 170, + "column": 52, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 170, + "endColumn": 68 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'deleteEmptyKeysFromObject' is assigned a value but never used.", + "line": 465, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 465, + "endColumn": 32 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'already_created_elem' is not defined.", + "line": 533, + "column": 24, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 533, + "endColumn": 44 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'getInFolder' is not defined.", + "line": 534, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 534, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'dataset_path' is not defined.", + "line": 534, + "column": 43, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 534, + "endColumn": 55 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'showSubTab' is defined but never used.", + "line": 836, + "column": 10, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 836, + "endColumn": 20 + }, + { + "ruleId": "no-redeclare", + "severity": 2, + "message": "'optionCard' is already defined.", + "line": 875, + "column": 13, + "nodeType": "Identifier", + "messageId": "redeclared", + "endLine": 875, + "endColumn": 23 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'ev' is defined but never used.", + "line": 918, + "column": 37, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 918, + "endColumn": 39 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'divList' is assigned a value but never used.", + "line": 976, + "column": 5, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 976, + "endColumn": 12 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'high_level_sparc_folders' is assigned a value but never used.", + "line": 1212, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1212, + "endColumn": 31 + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\/.", + "line": 1239, + "column": 65, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1239, + "endColumn": 66, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 47186, + 47187 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 47186, + 47186 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\..", + "line": 1239, + "column": 67, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1239, + "endColumn": 68, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 47188, + 47189 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 47188, + 47188 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\/.", + "line": 1250, + "column": 67, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1250, + "endColumn": 68, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 47521, + 47522 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 47521, + 47521 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\..", + "line": 1250, + "column": 69, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1250, + "endColumn": 70, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 47523, + 47524 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 47523, + 47523 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'csvToJson' is not defined.", + "line": 1276, + "column": 59, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1276, + "endColumn": 68 + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\/.", + "line": 1318, + "column": 65, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1318, + "endColumn": 66, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 50160, + 50161 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 50160, + 50160 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\..", + "line": 1318, + "column": 67, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1318, + "endColumn": 68, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 50162, + 50163 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 50162, + 50162 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\/.", + "line": 1329, + "column": 67, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1329, + "endColumn": 68, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 50495, + 50496 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 50495, + 50495 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\..", + "line": 1329, + "column": 69, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1329, + "endColumn": 70, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 50497, + 50498 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 50497, + 50497 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\/.", + "line": 1413, + "column": 19, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1413, + "endColumn": 20, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 53724, + 53725 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 53724, + 53724 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\..", + "line": 1413, + "column": 21, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1413, + "endColumn": 22, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 53726, + 53727 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 53726, + 53726 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'item' is not defined.", + "line": 1470, + "column": 16, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1470, + "endColumn": 20 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'item' is not defined.", + "line": 1472, + "column": 83, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1472, + "endColumn": 87 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'item' is not defined.", + "line": 1477, + "column": 85, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1477, + "endColumn": 89 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'item' is not defined.", + "line": 1482, + "column": 87, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1482, + "endColumn": 91 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'item' is not defined.", + "line": 1489, + "column": 85, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1489, + "endColumn": 89 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'item' is not defined.", + "line": 1494, + "column": 87, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1494, + "endColumn": 91 + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\/.", + "line": 1526, + "column": 42, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1526, + "endColumn": 43, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 58615, + 58616 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 58615, + 58615 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\..", + "line": 1526, + "column": 44, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1526, + "endColumn": 45, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 58617, + 58618 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 58617, + 58617 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\/.", + "line": 1586, + "column": 19, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1586, + "endColumn": 20, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 60438, + 60439 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 60438, + 60438 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\..", + "line": 1586, + "column": 21, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1586, + "endColumn": 22, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 60440, + 60441 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 60440, + 60440 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'item' is not defined.", + "line": 1624, + "column": 16, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1624, + "endColumn": 20 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'item' is not defined.", + "line": 1626, + "column": 83, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1626, + "endColumn": 87 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'item' is not defined.", + "line": 1631, + "column": 85, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1631, + "endColumn": 89 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'item' is not defined.", + "line": 1636, + "column": 87, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1636, + "endColumn": 91 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'item' is not defined.", + "line": 1643, + "column": 85, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1643, + "endColumn": 89 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'item' is not defined.", + "line": 1648, + "column": 87, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1648, + "endColumn": 91 + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\/.", + "line": 1676, + "column": 42, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1676, + "endColumn": 43, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 64275, + 64276 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 64275, + 64275 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-useless-escape", + "severity": 2, + "message": "Unnecessary escape character: \\..", + "line": 1676, + "column": 44, + "nodeType": "Literal", + "messageId": "unnecessaryEscape", + "endLine": 1676, + "endColumn": 45, + "suggestions": [ + { + "messageId": "removeEscape", + "fix": { + "range": [ + 64277, + 64278 + ], + "text": "" + }, + "desc": "Remove the `\\`. This maintains the current functionality." + }, + { + "messageId": "escapeBackslash", + "fix": { + "range": [ + 64277, + 64277 + ], + "text": "\\" + }, + "desc": "Replace the `\\` with `\\\\` to include the actual backslash character." + } + ] + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetPermissionDiv' is not defined.", + "line": 1814, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1814, + "endColumn": 29 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'datasetPermissionDiv' is not defined.", + "line": 1858, + "column": 9, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 1858, + "endColumn": 29 + }, + { + "ruleId": "no-case-declarations", + "severity": 2, + "message": "Unexpected lexical declaration in case block.", + "line": 2126, + "column": 7, + "nodeType": "VariableDeclaration", + "messageId": "unexpected", + "endLine": 2126, + "endColumn": 92 + }, + { + "ruleId": "no-case-declarations", + "severity": 2, + "message": "Unexpected lexical declaration in case block.", + "line": 2135, + "column": 7, + "nodeType": "VariableDeclaration", + "messageId": "unexpected", + "endLine": 2135, + "endColumn": 78 + }, + { + "ruleId": "no-case-declarations", + "severity": 2, + "message": "Unexpected lexical declaration in case block.", + "line": 2143, + "column": 7, + "nodeType": "VariableDeclaration", + "messageId": "unexpected", + "endLine": 2143, + "endColumn": 99 + }, + { + "ruleId": "no-case-declarations", + "severity": 2, + "message": "Unexpected lexical declaration in case block.", + "line": 2166, + "column": 7, + "nodeType": "VariableDeclaration", + "messageId": "unexpected", + "endLine": 2168, + "endColumn": 20 + }, + { + "ruleId": "no-case-declarations", + "severity": 2, + "message": "Unexpected lexical declaration in case block.", + "line": 2188, + "column": 7, + "nodeType": "VariableDeclaration", + "messageId": "unexpected", + "endLine": 2188, + "endColumn": 72 + }, + { + "ruleId": "no-case-declarations", + "severity": 2, + "message": "Unexpected lexical declaration in case block.", + "line": 2194, + "column": 7, + "nodeType": "VariableDeclaration", + "messageId": "unexpected", + "endLine": 2196, + "endColumn": 9 + }, + { + "ruleId": "no-case-declarations", + "severity": 2, + "message": "Unexpected lexical declaration in case block.", + "line": 2216, + "column": 7, + "nodeType": "VariableDeclaration", + "messageId": "unexpected", + "endLine": 2216, + "endColumn": 70 + }, + { + "ruleId": "no-case-declarations", + "severity": 2, + "message": "Unexpected lexical declaration in case block.", + "line": 2231, + "column": 7, + "nodeType": "VariableDeclaration", + "messageId": "unexpected", + "endLine": 2233, + "endColumn": 20 + }, + { + "ruleId": "no-case-declarations", + "severity": 2, + "message": "Unexpected lexical declaration in case block.", + "line": 2255, + "column": 7, + "nodeType": "VariableDeclaration", + "messageId": "unexpected", + "endLine": 2257, + "endColumn": 20 + }, + { + "ruleId": "no-case-declarations", + "severity": 2, + "message": "Unexpected lexical declaration in case block.", + "line": 2279, + "column": 7, + "nodeType": "VariableDeclaration", + "messageId": "unexpected", + "endLine": 2279, + "endColumn": 89 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'switchMetadataRCImportBFQuestions' is assigned a value but never used.", + "line": 2468, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2468, + "endColumn": 40 + }, + { + "ruleId": "no-empty", + "severity": 2, + "message": "Empty block statement.", + "line": 2722, + "column": 59, + "nodeType": "BlockStatement", + "messageId": "unexpected", + "endLine": 2723, + "endColumn": 8, + "suggestions": [ + { + "messageId": "suggestComment", + "data": { + "type": "block" + }, + "fix": { + "range": [ + 103095, + 103102 + ], + "text": " /* empty */ " + }, + "desc": "Add comment inside empty block statement." + } + ] + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'obtainDivsbyCategory' is defined but never used.", + "line": 2930, + "column": 10, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 2930, + "endColumn": 30 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'populateOrganizeDatasetUI' is assigned a value but never used.", + "line": 3048, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3048, + "endColumn": 32 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'baseName' is assigned a value but never used.", + "line": 3049, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3049, + "endColumn": 15 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 3057, + "column": 17, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3057, + "endColumn": 19 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'fs' is not defined.", + "line": 3059, + "column": 20, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3059, + "endColumn": 22 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'jsonObject' is not defined.", + "line": 3068, + "column": 36, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3068, + "endColumn": 46 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'listItems' is not defined.", + "line": 3085, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3085, + "endColumn": 14 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'getInFolder' is not defined.", + "line": 3086, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3086, + "endColumn": 16 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'organizeDSglobalPath' is not defined.", + "line": 3086, + "column": 43, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3086, + "endColumn": 63 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'hideMenu' is not defined.", + "line": 3087, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3087, + "endColumn": 13 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'menuFolder' is not defined.", + "line": 3087, + "column": 24, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3087, + "endColumn": 34 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'menuHighLevelFolders' is not defined.", + "line": 3087, + "column": 36, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3087, + "endColumn": 56 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'menuFile' is not defined.", + "line": 3087, + "column": 58, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3087, + "endColumn": 66 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'hideMenu' is not defined.", + "line": 3088, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3088, + "endColumn": 13 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'menuFolder' is not defined.", + "line": 3088, + "column": 35, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3088, + "endColumn": 45 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'menuHighLevelFolders' is not defined.", + "line": 3088, + "column": 47, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3088, + "endColumn": 67 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'menuFile' is not defined.", + "line": 3088, + "column": 69, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3088, + "endColumn": 77 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'recursive_remove_local_deleted_files' is assigned a value but never used.", + "line": 3188, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3188, + "endColumn": 43 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'progress' is assigned a value but never used.", + "line": 3221, + "column": 39, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3221, + "endColumn": 47 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'starting_point' is assigned a value but never used.", + "line": 3222, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3222, + "endColumn": 21 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'raiseWarningExit' is defined but never used.", + "line": 3378, + "column": 10, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3378, + "endColumn": 26 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'start_over' is assigned a value but never used.", + "line": 3536, + "column": 47, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3536, + "endColumn": 57 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'hideNextDivs' is assigned a value but never used.", + "line": 3665, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3665, + "endColumn": 19 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'progressFilePath' is not defined.", + "line": 3686, + "column": 25, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3686, + "endColumn": 41 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'log' is not defined.", + "line": 3688, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3688, + "endColumn": 8 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'progressFilePath' is not defined.", + "line": 3691, + "column": 35, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 3691, + "endColumn": 51 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'scrollToElement' is assigned a value but never used.", + "line": 3985, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 3985, + "endColumn": 22 + } + ], + "suppressedMessages": [], + "errorCount": 83, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/sds-templates/sds_templates.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'fs' is defined but never used.", + "line": 5, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5, + "endColumn": 10 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'path' is defined but never used.", + "line": 6, + "column": 8, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 6, + "endColumn": 12 + } + ], + "suppressedMessages": [], + "errorCount": 2, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/utils/swal-utils.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'swalGetUserTextInput' is assigned a value but never used.", + "line": 4, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 4, + "endColumn": 27 + }, + { + "ruleId": "no-dupe-keys", + "severity": 2, + "message": "Duplicate key 'width'.", + "line": 102, + "column": 5, + "nodeType": "ObjectExpression", + "messageId": "unexpected", + "endLine": 102, + "endColumn": 10 + }, + { + "ruleId": "no-dupe-keys", + "severity": 2, + "message": "Duplicate key 'heightAuto'.", + "line": 103, + "column": 5, + "nodeType": "ObjectExpression", + "messageId": "unexpected", + "endLine": 103, + "endColumn": 15 + } + ], + "suppressedMessages": [], + "errorCount": 3, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/validator/axios-validator-utility.js", + "messages": [ + { + "ruleId": "no-undef", + "severity": 2, + "message": "'Swal' is not defined.", + "line": 6, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 6, + "endColumn": 9 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'Swal' is not defined.", + "line": 24, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 24, + "endColumn": 9 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'Swal' is not defined.", + "line": 43, + "column": 5, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 43, + "endColumn": 9 + } + ], + "suppressedMessages": [], + "errorCount": 3, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/validator/parse-pipeline-errors.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'ValidationErrorParser' is defined but never used.", + "line": 15, + "column": 10, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 15, + "endColumn": 31 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'VALIDATOR_CATEGORIES' is defined but never used.", + "line": 18, + "column": 10, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 18, + "endColumn": 30 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'path' is defined but never used.", + "line": 38, + "column": 36, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 38, + "endColumn": 40 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'errorMessage' is defined but never used.", + "line": 38, + "column": 42, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 38, + "endColumn": 54 + }, + { + "ruleId": "no-undef", + "severity": 2, + "message": "'translatedErrorMessage' is not defined.", + "line": 39, + "column": 10, + "nodeType": "Identifier", + "messageId": "undef", + "endLine": 39, + "endColumn": 32 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'pipelineErrorToTranslationTable' is assigned a value but never used.", + "line": 43, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 43, + "endColumn": 38 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'MissingFieldNameToMetadataFileMap' is assigned a value but never used.", + "line": 102, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 102, + "endColumn": 40 + } + ], + "suppressedMessages": [], + "errorCount": 7, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/validator/parsed-error-translator.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'errorMessage' is defined but never used.", + "line": 148, + "column": 26, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 148, + "endColumn": 38 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'errorMessage' is defined but never used.", + "line": 335, + "column": 42, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 335, + "endColumn": 54 + } + ], + "suppressedMessages": [], + "errorCount": 2, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/validator/validate.js", + "messages": [ + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'handleAxiosValidationErrors' is defined but never used.", + "line": 4, + "column": 10, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 4, + "endColumn": 37 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'translatePipelineError' is defined but never used.", + "line": 5, + "column": 10, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 5, + "endColumn": 32 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'userErrorMessage' is defined but never used.", + "line": 7, + "column": 23, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 7, + "endColumn": 39 + }, + { + "ruleId": "no-constant-condition", + "severity": 2, + "message": "Unexpected constant condition.", + "line": 61, + "column": 10, + "nodeType": "Literal", + "messageId": "unexpected", + "endLine": 61, + "endColumn": 14 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'SODADirectory' is assigned a value but never used.", + "line": 278, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 278, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'folder_counter' is assigned a value but never used.", + "line": 281, + "column": 3, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 281, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'SODADirectory' is assigned a value but never used.", + "line": 549, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 549, + "endColumn": 20 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'folder_counter' is assigned a value but never used.", + "line": 552, + "column": 3, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 552, + "endColumn": 17 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'e' is defined but never used.", + "line": 773, + "column": 86, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 773, + "endColumn": 87 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'evt' is defined but never used.", + "line": 926, + "column": 88, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 926, + "endColumn": 91 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'setCurationTeamAsManagers' is assigned a value but never used.", + "line": 1109, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1109, + "endColumn": 32 + }, + { + "ruleId": "no-unused-vars", + "severity": 2, + "message": "'removeCurationTeamAsManagers' is assigned a value but never used.", + "line": 1133, + "column": 7, + "nodeType": "Identifier", + "messageId": "unusedVar", + "endLine": 1133, + "endColumn": 35 + } + ], + "suppressedMessages": [], + "errorCount": 12, + "fatalErrorCount": 0, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + }, + { + "filePath": "/Users/aaronm/SODA-for-SPARC/src/renderer/src/scripts/validator/validator-UI.js", + "messages": [ + { + "ruleId": null, + "fatal": true, + "severity": 2, + "message": "Parsing error: Unexpected token .", + "line": 330, + "column": 13, + "nodeType": null + } + ], + "suppressedMessages": [], + "errorCount": 1, + "fatalErrorCount": 1, + "warningCount": 0, + "fixableErrorCount": 0, + "fixableWarningCount": 0, + "usedDeprecatedRules": [] + } +] \ No newline at end of file diff --git a/src/renderer/src/scripts/eslint.config.mjs b/src/renderer/src/scripts/eslint.config.mjs new file mode 100644 index 000000000..fe1e8a913 --- /dev/null +++ b/src/renderer/src/scripts/eslint.config.mjs @@ -0,0 +1,15 @@ +import globals from "globals"; +import pluginJs from "@eslint/js"; + +/** @type {import('eslint').Linter.Config[]} */ +export default [ + { + languageOptions: { + globals: { ...globals.browser, $: "readonly" }, + }, + rules: { + "no-unused-vars": "warn", + }, + }, + pluginJs.configs.recommended, +];