Skip to content

Commit 88441aa

Browse files
fix more lint errors
1 parent f5a84b1 commit 88441aa

File tree

5 files changed

+357
-331
lines changed

5 files changed

+357
-331
lines changed

Diff for: .eslintrc.js

-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ const GenomeFeatureViewer = path.resolve(
66
__dirname,
77
"node_modules/genomefeaturecomponent/dist/index.js"
88
);
9-
const GenomeFeatureViewerCSS = path.resolve(
10-
__dirname,
11-
"node_modules/genomefeaturecomponent/dist/GenomeFeatureViewer.css"
12-
);
139

1410
module.exports = {
1511
root: true,

Diff for: src/App.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export default {
3030
};
3131
},
3232
watch: {
33-
$route: function $route(to, from) {
33+
$route: function $route(to) {
3434
this.useCompactFooter = to.path !== "/";
3535
},
3636
},

Diff for: src/api/BioLink.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export async function getBasicNode(nodeId) {
133133
});
134134
}
135135

136-
function canUseSuperclassNode(nodeId, nodeType, superId) {
136+
function canUseSuperclassNode(nodeId, nodeType) {
137137
let result = true;
138138

139139
if (nodeType === "disease") {
@@ -461,7 +461,7 @@ export async function getSearchTermSuggestions(
461461
}
462462

463463
if (filters) {
464-
filters.forEach((elem) => {
464+
filters.forEach(() => {
465465
params.append("fq", filters);
466466
});
467467
}

0 commit comments

Comments
 (0)