Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 1 addition & 71 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,71 +1 @@
module.exports = {
root: true,
extends: [
"airbnb",
"airbnb-typescript",
"airbnb/hooks",
"eslint:recommended",
"plugin:import/recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"plugin:prettier/recommended"
],
plugins: ["react", "@typescript-eslint", "jest"],
ignorePatterns: ["*.js"],
env: {
browser: true,
es6: true,
jest: true
},
globals: {
Atomics: "readonly",
SharedArrayBuffer: "readonly",
},
parser: "@typescript-eslint/parser",
parserOptions: {
// Make sure eslint and VS Code use the same path for the tsconfig.json:
// https://github.com/typescript-eslint/typescript-eslint/issues/251
tsconfigRootDir: __dirname,
project: "./tsconfig.eslint.json"
},
rules: {
// Disables jsx-a11y https://github.com/import-js/eslint-plugin-import/blob/v2.25.4/docs/rules/no-webpack-loader-syntax.md
...Object.keys(require('eslint-plugin-jsx-a11y').rules).reduce((acc, rule) => { acc[`jsx-a11y/${rule}`] = 'off'; return acc }, {}),
"class-methods-use-this":"off",
"linebreak-style": "off",
"no-continue": "off",
"no-multi-assign": "warn",
"no-nested-ternary": "off",
"no-param-reassign": ["error", { "props": false }],
"no-return-assign": "warn",
"no-restricted-syntax": "off",
"no-plusplus": "off",
"no-prototype-builtins": "warn",
"no-minusminus": "off",
"no-underscore-dangle": "off",
"max-classes-per-file": "off",
"no-param-reassign": "warn",
"import/no-extraneous-dependencies": "off",
// Disable the following 2 lines because to allow webpack file-loaders syntax
"import/no-webpack-loader-syntax": "off",
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"import/order": "error",
"prefer-destructuring": ["warn", {"object": true, "array": false}],
"prefer-promise-reject-errors": "warn",
"prefer-spread": "warn",
"@typescript-eslint/ban-ts-comment": "warn",
"react/destructuring-assignment": "warn",
"react/jsx-props-no-spreading": "off",
"react/no-unused-class-component-methods": "warn",
"react/prop-types": "off",
"react/require-default-props": "off",
"react/static-property-placement": ["warn", "property assignment", {
childContextTypes: "static getter",
contextTypes: "static public field",
contextType: "static public field",
displayName: "static public field",
}]
}
};
module.exports = require('visyn_scripts/config/eslintrc.template')({ tsconfigRootDir: __dirname });
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ on: [push, workflow_dispatch]

jobs:
build:
uses: datavisyn/github-workflows/.github/workflows/build-node.yml@main
secrets: inherit
uses: datavisyn/github-workflows/.github/workflows/build-node.yml@node16
secrets:
DATAVISYN_BOT_REPO_TOKEN: ${{ secrets.DATAVISYN_BOT_REPO_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ on: workflow_dispatch

jobs:
release:
uses: datavisyn/github-workflows/.github/workflows/release-source.yml@main
uses: datavisyn/github-workflows/.github/workflows/release-source.yml@node16
secrets: inherit
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/.eslintcache
/.idea
/build/
/dist/tsBuildInfoFile
/dist/
/lib/
*.egg-info/
*.egg
Expand All @@ -27,3 +27,4 @@ node_modules/
*.css
/.cache-loader
package-lock.json
/dist/
7 changes: 1 addition & 6 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
module.exports = {
"endOfLine": "auto",
"singleQuote": true,
"trailingComma": "all",
"printWidth": 160
};
module.exports = require('visyn_scripts/config/prettierrc.template')
3 changes: 0 additions & 3 deletions .yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
},
"libraryAliases": {},
"libraryExternals": [],
"entries": {
"app": "./index.js"
},
"ignores": [],
"today": "Sun, 06 Nov 2016 23:20:08 GMT",
"promptValues": {
Expand Down
Binary file removed dist/assets/previews/cansar.jpg
Binary file not shown.
Binary file removed dist/assets/previews/clinvar.png
Binary file not shown.
Binary file removed dist/assets/previews/cosmic_banner.png
Binary file not shown.
Binary file removed dist/assets/previews/ensembl.jpg
Binary file not shown.
Binary file removed dist/assets/previews/genenames.jpg
Binary file not shown.
Binary file removed dist/assets/previews/human_protein_atlas.jpg
Binary file not shown.
Binary file removed dist/assets/previews/humanproteomemap.png
Binary file not shown.
Binary file removed dist/assets/previews/mouse-icon.png
Binary file not shown.
Binary file removed dist/assets/previews/open_targets.jpg
Binary file not shown.
Binary file removed dist/assets/previews/uniprot.jpg
Binary file not shown.
21 changes: 0 additions & 21 deletions dist/common/Categories.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/common/Categories.d.ts.map

This file was deleted.

26 changes: 0 additions & 26 deletions dist/common/Categories.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/common/Categories.js.map

This file was deleted.

47 changes: 0 additions & 47 deletions dist/common/common.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion dist/common/common.d.ts.map

This file was deleted.

125 changes: 0 additions & 125 deletions dist/common/common.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/common/common.js.map

This file was deleted.

Loading