diff --git a/README.md b/README.md index effe80e..b356c8a 100644 --- a/README.md +++ b/README.md @@ -195,7 +195,7 @@ All you need to run a codemod is: 3. A `.dart` file with a `main()` block that calls `runInteractiveCodemod()`. -If we were to run the 3 suggestor examples from above, it would like like so: +If we were to run the 3 suggestor examples from above, it would look like so: **Regex Substituter:** diff --git a/example/readme.md b/example/readme.md index cf51d72..5a76b0d 100644 --- a/example/readme.md +++ b/example/readme.md @@ -1,19 +1,19 @@ This directory contains several example codemods: -- [License header inserter](/example/license_header_inserter.dart) +- [License header inserter](license_header_inserter.dart) A simple example that inserts license text at the top of a file. -- [Regex substituter](/example/regex_substituter.dart) +- [Regex substituter](regex_substituter.dart) A simple example that uses a RegExp to make replacements over all matches. -- [Remove deprecated elements](/example/deprecated_remover.dart) +- [Remove deprecated elements](deprecated_remover.dart) Uses an `AstVisitor` from `package:analyzer` to remove all elements annotated with `@deprecated`. -- [Suggest `isEven` or `isOdd`](/example/is_even_or_odd_suggestor.dart) +- [Suggest `isEven` or `isOdd`](is_even_or_odd_suggestor.dart) Uses an `AstVisitor` and fully resolves all source code information and types for a more advanced modification.