Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Exclude squawk rule forbidding regular-sized integers
Max Brunsfeld69bff7bb77dc
diff --git a/script/lib/squawk.toml b/script/lib/squawk.tomlnew file mode 100644index 00000000000..1090e382863--- /dev/null+++ b/script/lib/squawk.toml@@ -0,0 +1,4 @@+excluded_rules = [+ "prefer-big-int",+ "prefer-bigint-over-int",+]diff --git a/script/squawk b/script/squawkindex 0fb3e5a3325..68977645d06 100755--- a/script/squawk+++ b/script/squawk@@ -8,13 +8,12 @@ set -eif [ -z "$GITHUB_BASE_REF" ]; thenecho 'Not a pull request, skipping squawk modified migrations linting'- return 0+ exitfiSQUAWK_VERSION=0.26.0SQUAWK_BIN="./target/squawk-$SQUAWK_VERSION"-SQUAWK_ARGS="--assume-in-transaction"-+SQUAWK_ARGS="--assume-in-transaction --config script/lib/squawk.toml"if [ ! -f "$SQUAWK_BIN" ]; thencurl -L -o "$SQUAWK_BIN" "https://github.com/sbdchd/squawk/releases/download/v$SQUAWK_VERSION/squawk-darwin-x86_64"