Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Removed analytics.js dependence and installed gtag.js dependency * Updated Google Analytics implementation with gtag.js * Updated Google Analytics implementation with gtag.js * Updated Google Analytics implementation callback for tracking event * Updated Google Analytics implementation callback for tracking event Also fixed bug in which wrong release version number is passed to Google Analytics data download tracking event * Fixed unit test due to dependency changes * Removed no longer needed assets after standalone human meta-analysis site was launched * Updated some outdated dependencies * Upgraded react-scripts dependency to address issue in which ESLint errors cause problems while compiling and building the app ESLint errors didn't cause any issues prior to react-scripts v3.x. So the React team released this patch in response to that. Also upgraded the storybook dependencies to address the vulnerability issue in its peer dependency. * Removed ESLint rule overrides that were added due to ESLint errors causing app build problem in react-scripts v4.x * Set DISABLE_ESLINT_PLUGIN environment variable to disable eslinting for CRA production build This workaround could be temporary and reverted in the future * Revert previously attempt to set environment variable when running the build
- Loading branch information
Showing
22 changed files
with
69 additions
and
367 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,16 @@ | ||
module.exports = { | ||
"extends": [ | ||
"airbnb", | ||
"plugin:prettier/recommended" | ||
], | ||
"plugins": [ | ||
"react-hooks", | ||
"prettier" | ||
], | ||
"rules": { | ||
"jsx-a11y/label-has-for": 0, | ||
"jsx-a11y/label-has-associated-control": 0, | ||
"jsx-a11y/no-noninteractive-tabindex": 0, | ||
"jsx-a11y/control-has-associated-label": 0, | ||
"react-hooks/rules-of-hooks": "error", | ||
"react-hooks/exhaustive-deps": "warn", | ||
"import/no-extraneous-dependencies": [ | ||
"error", | ||
{"devDependencies": true} | ||
], | ||
"no-use-before-define": 0, | ||
"no-param-reassign": 0, | ||
"no-console": 0, | ||
"func-names": 0, | ||
"prefer-template": 0, | ||
"consistent-return": 0, | ||
"react/jsx-filename-extension": 0, | ||
"react/jsx-props-no-spreading": 0, | ||
"react/jsx-one-expression-per-line": 0, | ||
"react/prop-types": 0, | ||
"react/forbid-prop-types": 0, | ||
"react/no-unescaped-entities": 0, | ||
"react/destructuring-assignment": 0, | ||
"react/no-this-in-sfc": 0, | ||
"prettier/prettier": 0 | ||
}, | ||
"env": { | ||
"browser": true, | ||
"jest": true | ||
} | ||
extends: ['airbnb', 'plugin:prettier/recommended'], | ||
plugins: ['react-hooks', 'prettier'], | ||
rules: { | ||
'jsx-a11y/label-has-for': 0, | ||
'jsx-a11y/label-has-associated-control': 0, | ||
'react-hooks/rules-of-hooks': 'error', | ||
'react-hooks/exhaustive-deps': 'warn', | ||
'import/no-extraneous-dependencies': ['error', { devDependencies: true }], | ||
'react/jsx-props-no-spreading': 0, | ||
}, | ||
env: { | ||
browser: true, | ||
jest: true, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.