Skip to content

Commit

Permalink
Check formatting: check one level down to ignore config.json and avoi…
Browse files Browse the repository at this point in the history
…d `configlet fmt` from fighting with `prettier`
  • Loading branch information
IsaacG committed Nov 18, 2023
1 parent 6cdd3bc commit c8d3df3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/check-formatting.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ else
echo "Running format with prettier@$EXERCISM_PRETTIER_VERSION"
fi

npx "prettier@$EXERCISM_PRETTIER_VERSION" --check "**/*.{js,jsx,ts,tsx,css,sass,scss,html,json,md,yml}"
npx "prettier@$EXERCISM_PRETTIER_VERSION" --check "*/**/*.{js,jsx,ts,tsx,css,sass,scss,html,json,md,yml}"

0 comments on commit c8d3df3

Please sign in to comment.