Skip to content

Commit

Permalink
chore: update links to dart-lang/sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
mockturtl committed Sep 26, 2023
1 parent 86030d5 commit 9819b1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tidy

The complete annotated set of Dart analysis options, mostly enabled.

See [`tool/compare.sh`](tool/compare.sh) for a diff with [all rules](https://github.com/dart-lang/linter/blob/master/example/all.yaml).
See [`tool/compare.sh`](tool/compare.sh) for a diff with [all rules](https://github.com/dart-lang/sdk/blob/main/pkg/linter/example/all.yaml).
Opinionated bits are commented.

Note a rule's existence upstream does not imply stability, or publication to [dart-lang.github.io/linter][].
Expand Down
2 changes: 1 addition & 1 deletion tool/compare.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh -e

ofile="/tmp/all.yaml"
url="https://raw.githubusercontent.com/dart-lang/linter/master/example/all.yaml"
url="https://raw.githubusercontent.com/dart-lang/sdk/main/pkg/linter/example/all.yaml"
version="$(grep 'version:' pubspec.yaml | cut -d ' ' -f2 | awk '{sub(/-[\.0-9]*/,""); print}')"

curl "$url" -o "$ofile"
Expand Down

0 comments on commit 9819b1b

Please sign in to comment.