remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
remix-project/lintpr.sh

14 lines
288 B

#!/bin/bash
# Find all project.json files in subdirectories
find . -type d -name 'node_modules' -prune -o -name '.eslintrc' -print | while read -r file; do
# Extract the directory path of the file
dir=$(dirname "$file")
echo $file
git checkout master -- $file
done