fix: Update scaffold to avoid eslint globs
MODIFY
scripts/check-packages.sh
scripts/check-packages.sh
@@ -33,8 +33,8 @@ for JSON in $(find packages -depth 2 -name 'package.json'); do
assert .scripts.prepublish "yarn clean && yarn build"
assert .scripts.clean "rm -rf dist"
assert .scripts.build "rollup --config rollup.config.js"
- assert .scripts.lint "eslint '**/*.js'"
- assert '.scripts["lint-fix"]' "eslint --fix '**/*.js'"
+ assert .scripts.lint "eslint ."
+ assert '.scripts["lint-fix"]' "eslint --fix ."
assert '.devDependencies["@rollup/plugin-node-resolve"]' '^6.1.0'
assert '.devDependencies["rollup-plugin-terser"]' '^5.1.3'
assert '.version | match("[0-9]+.[0-9]+.[0-9]+\\+1-dev") | . != null' true

MODIFY
scripts/repackage.sh
scripts/repackage.sh
@@ -83,8 +83,8 @@ NEWPKGJSONHASH=$(
"test": "ava",
"lint": "yarn lint:types && yarn lint:js",
"lint:types": "tsc --build jsconfig.json",
- "lint:js": "eslint '"'**/*.js'"'",
- "lint-fix": "eslint --fix '"'**/*.js'"'",
+ "lint:js": "eslint .",
+ "lint-fix": "eslint --fix .",
}) | to_entries | sort_by(.key) | from_entries,
devDependencies: ((.devDependencies // {}) + {
"@endo/eslint-config": "^0.3.6",

fix: Update scaffold to avoid eslint globs