Upgrade ESlint to v8 (#23305)

This commit is contained in:
Nick Schonning authored and GitHub committed 2023-01-30 01:45:35 +01:00
1 parent b58bf74e35
commit c49213f0ea
120 files changed
+832 -810

No files matched your search

@@ -13,11 +13,11 @@ export default class SettingToggle extends React.PureComponent {
onChange: PropTypes.func.isRequired,
defaultValue: PropTypes.bool,
disabled: PropTypes.bool,
}
};
onChange = ({ target }) => {
this.props.onChange(this.props.settingPath, target.checked);
}
};
render () {
const { prefix, settings, settingPath, label, defaultValue, disabled } = this.props;