linkerd2/web/app
Christy Jacob 15b1e46b4f
Refactoring to suppress eslint warnings react/no-did-update-set-state flag (#3974)
* Refactoring to suppress eslint warnings

Upon enabling react/no-did-update-set-state flag in .eslintrc , a couple of warnings are raised because it is a bad practice to use the setState() function within the componentDidUpdate() hook.

The code has been refactored to follow the eslint spec.

During the code review, it was pointed out that the react/no-did-update-set-state is enabled by default and can be removed from .eslintrc

The flag was removed from .eslintrc

Fixes #3928

Signed-off-by: Christy Jacob <christyjacob4@gmail.com>
2020-01-30 17:34:07 -08:00
..
__mocks__ Use jest instead of karma for running tests (#1768) 2018-10-15 17:06:35 -07:00
css Add `linkerd check` to dashboard (#3656) 2019-11-12 12:37:36 -08:00
img Add grafana icon to links, refactor svgs, link to ResourceDetail component (#1482) 2018-08-17 15:12:33 -07:00
integration Adding new browser tests for URL routing in dashboard (#3646) 2019-12-02 18:18:34 -08:00
js Refactoring to suppress eslint warnings react/no-did-update-set-state flag (#3974) 2020-01-30 17:34:07 -08:00
test Removing TLS columns from tables in dashboard (#2611) 2019-04-02 16:54:39 -07:00
.babelrc Update deps (#3369) 2019-09-05 17:49:50 -07:00
.eslintrc Refactoring to suppress eslint warnings react/no-did-update-set-state flag (#3974) 2020-01-30 17:34:07 -08:00
index_bundle.js.lodash.tmpl Hash JS bundle to expire cache (#2058) 2019-01-16 12:59:30 -08:00
package.json Adopt more common Javascript linting conventions (#3882) 2020-01-08 15:01:16 -08:00
webpack-mv-plugin.js Hash JS bundle to expire cache (#2058) 2019-01-16 12:59:30 -08:00
webpack.config.js Updating clean-webpack-plugin and other webpack dependencies (#3575) 2019-10-16 11:25:21 -07:00
yarn.lock Adopt more common Javascript linting conventions (#3882) 2020-01-08 15:01:16 -08:00