Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Remove unnecessary ESLint ignores
  • Loading branch information
tyxla committed Jun 24, 2022
commit 06896d7f1688ca12aad34b76d48658b8490fe8df
1 change: 0 additions & 1 deletion packages/components/src/custom-gradient-picker/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ const GradientTypePicker = ( { gradientAST, hasGradient, onChange } ) => {
};

const onSetRadialGradient = () => {
// eslint-disable-next-line no-unused-vars
const { orientation, ...restGradientAST } = gradientAST;
onChange(
serializeGradient( {
Expand Down
1 change: 0 additions & 1 deletion packages/element/src/serialize.js
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,6 @@ export function renderNativeComponent(
// place of children. Ensure to omit so it is not assigned as attribute
// as well.
content = renderChildren( props.value, context, legacyContext );
// eslint-disable-next-line no-unused-vars
const { value, ...restProps } = props;
props = restProps;
} else if (
Expand Down