Skip to content

Commit

Permalink
lint: berry-compatible lint glob
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Aug 23, 2024
1 parent c51ab81 commit 8bf02a6
Show file tree
Hide file tree
Showing 40 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"format": "yarn prettier --write .github golang packages scripts a3p-integration multichain-testing",
"lint:format": "yarn prettier --check .github golang packages scripts a3p-integration multichain-testing",
"lint-fix": "yarn lerna run --no-bail lint-fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:packages": "yarn lerna run --no-bail lint",
"test": "yarn lerna run --no-bail test",
"test:c8-all": "rm -rf coverage/tmp && C8_OPTIONS=\"--clean=false --temp-directory=$PWD/coverage/tmp\" lerna run test:c8",
Expand Down
2 changes: 1 addition & 1 deletion packages/ERTP/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"test:xs-unit": "ava-xs",
"test:xs-worker": "SWINGSET_WORKER_TYPE=xs-worker ava -c 2 test/swingsetTests",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:eslint": "eslint .",
"lint:types": "tsc"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/SwingSet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test:xs": "SWINGSET_WORKER_TYPE=xs-worker ava",
"test:xs-worker": "ava test/workers -m 'xsnap vat manager'",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/access-token/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "ava",
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint-fix": "yarn lint:eslint --fix",
"lint:eslint": "eslint .",
"lint:types": "tsc"
Expand Down
2 changes: 1 addition & 1 deletion packages/agoric-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"test:xs": "exit 0",
"integration-test": "ava --config .ava-integration-test.config.js",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/base-zone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test": "exit 0",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/boot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"test": "ava",
"test:xs": "SWINGSET_WORKER_TYPE=xs-worker ava test/bootstrapTests test/upgrading",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/builders/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test": "ava",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint --ext .js,.ts ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/casting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint --ext .js,.ts ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cosmic-swingset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/deploy-script-support/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"lint-fix": "yarn lint:eslint --fix",
"lint:eslint": "eslint .",
"lint:types": "tsc",
"lint": "run-s --continue-on-error lint:*"
"lint": "run-s --continue-on-error 'lint:*'"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/governance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:eslint": "eslint .",
"lint:types": "tsc"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/inter-protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:eslint": "eslint .",
"lint:types": "tsc"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test:nyc": "exit 0",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:eslint": "eslint .",
"lint:types": "tsc"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/kmarshal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test:c8": "c8 $C8_OPTIONS ava",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/notifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:eslint": "eslint .",
"lint:types": "tsc"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/pegasus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:eslint": "eslint .",
"lint:types": "tsc"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/smart-wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"postpack": "git clean -f '*.d.ts*'",
"test": "ava",
"test:xs": "exit 0",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint-fix": "yarn lint:eslint --fix",
"lint:types": "tsc",
"lint:eslint": "eslint ."
Expand Down
2 changes: 1 addition & 1 deletion packages/solo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sparse-ints/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build": "exit 0",
"test": "exit 0",
"test:xs": "exit 0",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint-fix": "yarn lint:eslint --fix",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/spawner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test": "ava",
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint-fix": "yarn lint:eslint --fix",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/stat-logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build": "exit 0",
"test": "exit 0",
"test:xs": "exit 0",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint-fix": "yarn lint:eslint --fix",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "ava",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/swing-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/swingset-liveslots/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "ava",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/swingset-runner/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:eslint": "eslint .",
"ci:autobench": "./autobench.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/swingset-xsnap-supervisor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"build:bundle": "node scripts/build-bundle.js",
"build": "yarn build:bundle",
"clean": "rm -rf dist",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:js": "eslint 'lib/**/*.js' 'src/**/*.js' 'scripts/**/*.js' 'test/**/*.js'",
"lint:types": "tsc",
"lint-fix": "eslint --fix 'lib/**/*.js' 'src/**/*.js' 'scripts/**/*.js' 'test/**/*.js'",
Expand Down
2 changes: 1 addition & 1 deletion packages/telemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/time/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build": "exit 0",
"test": "ava",
"test:xs": "exit 0",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint .",
"lint-fix": "yarn lint:eslint --fix"
Expand Down
2 changes: 1 addition & 1 deletion packages/vat-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:c8": "exit 0",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:eslint": "eslint .",
"lint:types": "tsc"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/vats/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test:c8": "c8 $C8_OPTIONS ava",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/vm-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down
2 changes: 1 addition & 1 deletion packages/wallet/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"build:bundles": "node scripts/build-bundles.js",
"test": "ava",
"test:xs": "exit 0",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint-fix": "yarn lint:eslint --fix",
"lint:types": "tsc",
"lint:eslint": "eslint ."
Expand Down
2 changes: 1 addition & 1 deletion packages/xsnap-lockdown/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"build:bundle-source": "node scripts/build-bundle.js",
"build": "yarn build:bundle-rollup && yarn build:bundle-source",
"clean": "rm -rf dist",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:js": "eslint 'src/**/*.js' 'lib/**/*.js' 'scripts/**/*.js' 'test/**/*.js'",
"lint:types": "tsc",
"lint-fix": "eslint --fix 'src/**/*.js' 'lib/**/*.js' 'scripts/**/*.js' 'test/**/*.js'",
Expand Down
2 changes: 1 addition & 1 deletion packages/xsnap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"check-version": "xsnap_version=$(./scripts/get_xsnap_version.sh); if test \"${npm_package_version}\" != \"${xsnap_version}\"; then echo \"xsnap version mismatch; expected '${npm_package_version}', got '${xsnap_version}'\"; exit 1; fi",
"postinstall": "npm run build:from-env",
"clean": "rm -rf xsnap-native/xsnap/build",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:js": "eslint 'src/**/*.js' 'test/**/*.js' api.js",
"lint:types": "tsc",
"lint-fix": "eslint --fix 'src/**/*.js' 'test/**/*.js' api.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/zoe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"test:xs-worker": "SWINGSET_WORKER_TYPE=xs-worker ava -c 2 'test/swingsetTests'",
"build-zcfBundle": "yarn build:bundles",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:eslint": "eslint .",
"lint:types": "tsc"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/zone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint": "run-s --continue-on-error 'lint:*'",
"lint:types": "tsc",
"lint:eslint": "eslint ."
},
Expand Down

0 comments on commit 8bf02a6

Please sign in to comment.