mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Eslint dependencies versions updates (#10839)
* Update eslint version to 7.8.1 * Give names to unnamed functions to fix lint errors * Update eslint-import-resolver-webpack * Update eslint-plugin-cypress * Add eslint-plugin-react-hooks * Update necessary peer dependencies for eslint-config-airbnb * Update eslint airbnb config and ts plugins * Remove "this" from functional component * Disable all rules that cause new errors * Fix linting errors in tests * Add licenses to .eslintrc files * Add path and zlib to package.json * Disable incompatible rule in eslint-plugin-cypress * Remove redundant config for typescript linting * Mark disabled rules with comments * Remove path and zlib from deps, disable import rule for webpack files
This commit is contained in:
committed by
GitHub
parent
1f31e0eb38
commit
8a774d59ed
@@ -76,7 +76,7 @@ const SelectAsyncControl = props => {
|
||||
dataEndpoint={dataEndpoint}
|
||||
onChange={onSelectionChange}
|
||||
onAsyncError={errorMsg =>
|
||||
this.props.addDangerToast(`${onAsyncErrorMessage}: ${errorMsg}`)
|
||||
props.addDangerToast(`${onAsyncErrorMessage}: ${errorMsg}`)
|
||||
}
|
||||
mutator={mutator}
|
||||
multi={multi}
|
||||
|
||||
Reference in New Issue
Block a user