diff --git a/client/prettier.config.js b/client/prettier.config.js index df792433737..d9cc69f4d8c 100644 --- a/client/prettier.config.js +++ b/client/prettier.config.js @@ -1,5 +1,5 @@ module.exports = { tabWidth: 4, printWidth: 120, - bracketSameLine: true + bracketSameLine: true, }; diff --git a/client/src/components/Libraries/LibraryFolder/library-folder-table.css b/client/src/components/Libraries/LibraryFolder/library-folder-table.css index ec0b864166e..ba412838b8e 100644 --- a/client/src/components/Libraries/LibraryFolder/library-folder-table.css +++ b/client/src/components/Libraries/LibraryFolder/library-folder-table.css @@ -3,15 +3,15 @@ th:focus { } .pagination-input-field { - max-width: 60px + max-width: 60px; } .pagination-total-pages-text { - margin-left: .25rem; + margin-left: 0.25rem; } .more-text-btn { - margin-left: .25rem; + margin-left: 0.25rem; font-size: 60%; color: grey; } @@ -20,7 +20,6 @@ th:focus { width: 40rem; } - .empty-folder-message { text-align: center; } @@ -34,5 +33,5 @@ th:focus { } .lib-btn { - margin-bottom: 2% + margin-bottom: 2%; } diff --git a/client/tests/jest/__mocks__/config.js b/client/tests/jest/__mocks__/config.js index 0aaa35c1744..61763815697 100644 --- a/client/tests/jest/__mocks__/config.js +++ b/client/tests/jest/__mocks__/config.js @@ -5,6 +5,6 @@ export default { caching: { adapter: "memory", revs_limit: 1, - pageSize: 50 - } -} + pageSize: 50, + }, +}; diff --git a/client/tests/jest/__mocks__/trackster.js b/client/tests/jest/__mocks__/trackster.js index 34f0f96bfab..ce75d703b2b 100644 --- a/client/tests/jest/__mocks__/trackster.js +++ b/client/tests/jest/__mocks__/trackster.js @@ -8,4 +8,4 @@ export class TracksterUI extends Backbone.Model { initialize(baseURL) { this.baseURL = baseURL; } -} \ No newline at end of file +} diff --git a/client/tests/jest/jest-raw-loader.js b/client/tests/jest/jest-raw-loader.js index 3ef7c744106..087224e0497 100644 --- a/client/tests/jest/jest-raw-loader.js +++ b/client/tests/jest/jest-raw-loader.js @@ -1,3 +1,5 @@ module.exports = { - process: content => { return { code: "module.exports = " + JSON.stringify(content)}} + process: (content) => { + return { code: "module.exports = " + JSON.stringify(content) }; + }, }; diff --git a/client/tests/jest/jest.setup.js b/client/tests/jest/jest.setup.js index 474a5845a15..3dda52917b4 100644 --- a/client/tests/jest/jest.setup.js +++ b/client/tests/jest/jest.setup.js @@ -1,5 +1,5 @@ import "@testing-library/jest-dom"; -import Vue from 'vue'; +import Vue from "vue"; // Set Vue to suppress production / devtools / etc. warnings Vue.config.productionTip = false; diff --git a/client/tests/jest/yaml-jest.js b/client/tests/jest/yaml-jest.js index 8e84063fe5b..2034043ff0e 100644 --- a/client/tests/jest/yaml-jest.js +++ b/client/tests/jest/yaml-jest.js @@ -1,13 +1,13 @@ -const transformer = require("yaml-jest").default +const transformer = require("yaml-jest").default; const newTransformer = { - ...transformer, - process: function (...params) { - return { - code: transformer?.process(...params), - map: null, - } - }, -} + ...transformer, + process: function (...params) { + return { + code: transformer?.process(...params), + map: null, + }; + }, +}; -module.exports = newTransformer +module.exports = newTransformer; diff --git a/client/tests/qunit/test-data/paired-collection-creator.data.js b/client/tests/qunit/test-data/paired-collection-creator.data.js index a6c3c954568..1e2638c8a75 100644 --- a/client/tests/qunit/test-data/paired-collection-creator.data.js +++ b/client/tests/qunit/test-data/paired-collection-creator.data.js @@ -19,23 +19,23 @@ var datasets1 = [ ]; var datasets2 = [ - { name: "DP134_1_FS_PSII_FSB_42C_A10.1.fastq", state: STATES.OK}, - { name: "DP134_1_FS_PSII_FSB_42C_A10.2.fastq", state: STATES.OK} -] + { name: "DP134_1_FS_PSII_FSB_42C_A10.1.fastq", state: STATES.OK }, + { name: "DP134_1_FS_PSII_FSB_42C_A10.2.fastq", state: STATES.OK }, +]; var datasets3 = [ - {name: "UII_moo_1.1.fastq", state: STATES.OK}, - {name: "UII_moo_1.2.fastq", state: STATES.OK} -] + { name: "UII_moo_1.1.fastq", state: STATES.OK }, + { name: "UII_moo_1.2.fastq", state: STATES.OK }, +]; -var datasets4= [ +var datasets4 = [ { name: "SET1-01_R1.fastq", state: STATES.OK }, { name: "SET1-01_R2.fastq", state: STATES.OK }, { name: "SET1-02_R1.fastq", state: STATES.OK }, { name: "SET1-02_R2.fastq", state: STATES.OK }, { name: "SET1-03_R1.fastq", state: STATES.OK }, { name: "SET1-03_R2.fastq", state: STATES.OK }, -] +]; var datasets1CreateRequestJSON = { type: "dataset_collection", @@ -171,5 +171,5 @@ export default { _1requestJSON: datasets1CreateRequestJSON, _2: datasets2, _3: datasets3, - _4: datasets4 + _4: datasets4, }; diff --git a/client/types/globals.d.ts b/client/types/globals.d.ts index abf750be2e1..97ec1d6ccf9 100644 --- a/client/types/globals.d.ts +++ b/client/types/globals.d.ts @@ -1,4 +1,4 @@ // Webpack-injected globals. -declare const __webpack_public_path__:string; +declare const __webpack_public_path__: string; declare const __buildTimestamp__: string; -declare const __license__: string; \ No newline at end of file +declare const __license__: string; diff --git a/client/types/shim-vue.d.ts b/client/types/shim-vue.d.ts index 0660bd67a54..d6e6b864e50 100644 --- a/client/types/shim-vue.d.ts +++ b/client/types/shim-vue.d.ts @@ -1,4 +1,4 @@ declare module "*.vue" { - import Vue from "vue"; - export default Vue; + import Vue from "vue"; + export default Vue; } diff --git a/client/types/types.d.ts b/client/types/types.d.ts index efe9231ef21..423222e511c 100644 --- a/client/types/types.d.ts +++ b/client/types/types.d.ts @@ -1,4 +1,4 @@ -declare module '*.yml' { - const data: any - export default data +declare module "*.yml" { + const data: any; + export default data; }