A framework for managing and maintaining multi-language pre-commit hooks.
-
Updated
Mar 17, 2022 - Python
Blocked By: wix/vscode-glean#97
Example:
class Foo extends Component {
render() {
return (<div>
{this.props.foo.map((bar) => <div>{bar.x}</div>)}
</div>)
}
}
Current:
const Foo = props => {
const foo = useRef();
const x = useRef();
return <div>
{foo.current.map(bar => <div>{x.current}</div>)}
gopatch is completely quiet right now. We should add flags for verbosity.
Initial ideas:
-v flag for verbose mode where we'll list whether we changed files or not-l flag to list files that were changed onlyAdd a description, image, and links to the refactoring topic page so that developers can more easily learn about it.
To associate your repository with the refactoring topic, visit your repo's landing page and select "manage topics."
Piranha transforms: