Skip to content

Commit

Permalink
ci: include types in lint script
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Jul 18, 2023
1 parent 6f740a4 commit 19c3475
Show file tree
Hide file tree
Showing 37 changed files with 37 additions and 37 deletions.
2 changes: 1 addition & 1 deletion packages/ERTP/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"test:xs-worker": "SWINGSET_WORKER_TYPE=xs-worker ava -c 2 'test/swingsetTests/**/test-*.js'",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:eslint": "eslint .",
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint .",
"lint:types": "tsc -p jsconfig.json"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/SwingSet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"devDependencies": {
"@types/better-sqlite3": "^7.5.0",
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 @@ -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:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"dependencies": {
"@agoric/assert": "^0.6.0",
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 @@ -25,7 +25,7 @@
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"devDependencies": {
"@agoric/deploy-script-support": "^0.10.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/assert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:eslint": "eslint .",
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint .",
"lint:types": "tsc -p jsconfig.json"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint --ext .js,.ts ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint --ext .js,.ts ."
},
"keywords": [],
"author": "Agoric",
Expand Down
2 changes: 1 addition & 1 deletion packages/casting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint --ext .js,.ts ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint --ext .js,.ts ."
},
"keywords": [],
"author": "Agoric",
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 @@ -16,7 +16,7 @@
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"keywords": [],
"author": "Agoric",
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 @@ -12,7 +12,7 @@
"test": "ava",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint:eslint": "eslint .",
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint .",
"lint:types": "tsc -p jsconfig.json",
"lint": "run-s --continue-on-error lint:*"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/deployment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test:xs": "exit 0",
"build": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"repository": "https://github.com/Agoric/agoric-sdk",
"author": "Agoric",
Expand Down
2 changes: 1 addition & 1 deletion packages/governance/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:eslint": "eslint .",
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint .",
"lint:types": "tsc -p jsconfig.json"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/import-manager/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:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"repository": {
"type": "git",
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 @@ -18,7 +18,7 @@
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:eslint": "eslint .",
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint .",
"lint:types": "tsc -p jsconfig.json"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:eslint": "eslint .",
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint .",
"lint:types": "tsc -p jsconfig.json"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/notifier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:eslint": "eslint .",
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint .",
"lint:types": "tsc -p jsconfig.json"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/pegasus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:eslint": "eslint .",
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint .",
"lint:types": "tsc -p jsconfig.json"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion packages/same-structure/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "exit 0",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/sharing-service/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:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"repository": {
"type": "git",
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 @@ -13,7 +13,7 @@
"lint": "run-s --continue-on-error lint:*",
"lint-fix": "yarn lint:eslint --fix",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"devDependencies": {
"@agoric/cosmic-proto": "^0.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/solo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"keywords": [],
"author": "Agoric",
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 @@ -12,7 +12,7 @@
"test": "exit 0",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/spawner/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:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"repository": {
"type": "git",
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 @@ -12,7 +12,7 @@
"test": "exit 0",
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"peerDependencies": {
"canvas": "^2.6.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/store/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": "run-s --continue-on-error lint:*",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"repository": {
"type": "git",
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 @@ -15,7 +15,7 @@
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"dependencies": {
"@agoric/assert": "^0.6.0",
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 @@ -14,7 +14,7 @@
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"dependencies": {
"@agoric/assert": "^0.6.0",
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 @@ -15,7 +15,7 @@
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:eslint": "eslint .",
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint .",
"ci:autobench": "./autobench.js"
},
"dependencies": {
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 @@ -15,7 +15,7 @@
"build": "yarn build:bundle",
"clean": "rm -rf dist",
"lint": "run-s --continue-on-error lint:*",
"lint:js": "eslint 'lib/**/*.js' 'src/**/*.js' 'scripts/**/*.js' 'test/**/*.js'",
"lint:js": "AGORIC_ESLINT_TYPES=t eslint 'lib/**/*.js' 'src/**/*.js' 'scripts/**/*.js' 'test/**/*.js'",
"lint:types": "tsc -p jsconfig.json",
"lint-fix": "eslint --fix 'lib/**/*.js' 'src/**/*.js' 'scripts/**/*.js' 'test/**/*.js'",
"test": "ava",
Expand Down
2 changes: 1 addition & 1 deletion packages/telemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"bin": {
"frcat": "./src/frcat-entrypoint.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/time/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test:xs": "exit 0",
"lint": "run-s --continue-on-error lint:*",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint .",
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint .",
"lint-fix": "yarn lint:eslint --fix"
},
"repository": {
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 @@ -12,7 +12,7 @@
"test:xs": "exit 0",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:eslint": "eslint .",
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint .",
"lint:types": "tsc"
},
"keywords": [],
Expand Down
2 changes: 1 addition & 1 deletion packages/vats/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"keywords": [],
"author": "Agoric",
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 @@ -11,7 +11,7 @@
"lint": "run-s --continue-on-error lint:*",
"lint-fix": "yarn lint:eslint --fix",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"devDependencies": {
"@agoric/vats": "^0.15.1",
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 @@ -12,7 +12,7 @@
"build": "yarn build:bundle-rollup && yarn build:bundle-source",
"clean": "rm -rf dist",
"lint": "run-s --continue-on-error lint:*",
"lint:js": "eslint 'src/**/*.js' 'lib/**/*.js' 'scripts/**/*.js' 'test/**/*.js'",
"lint:js": "AGORIC_ESLINT_TYPES=t eslint 'src/**/*.js' 'lib/**/*.js' 'scripts/**/*.js' 'test/**/*.js'",
"lint:types": "tsc -p jsconfig.json",
"lint-fix": "eslint --fix 'src/**/*.js' 'lib/**/*.js' 'scripts/**/*.js' 'test/**/*.js'",
"test": "ava",
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 @@
"postinstall": "yarn build:from-env",
"clean": "rm -rf xsnap-native/xsnap/build",
"lint": "run-s --continue-on-error lint:*",
"lint:js": "eslint 'src/**/*.js' 'test/**/*.js' api.js",
"lint:js": "AGORIC_ESLINT_TYPES=t eslint 'src/**/*.js' 'test/**/*.js' api.js",
"lint:types": "tsc -p jsconfig.json",
"lint-fix": "eslint --fix 'src/**/*.js' 'test/**/*.js' api.js",
"test": "ava",
Expand Down
2 changes: 1 addition & 1 deletion packages/zoe/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"build-zcfBundle": "yarn build:bundles",
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:eslint": "eslint .",
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint .",
"lint:types": "tsc -p jsconfig.json"
},
"repository": {
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 @@
"lint-fix": "yarn lint:eslint --fix",
"lint": "run-s --continue-on-error lint:*",
"lint:types": "tsc -p jsconfig.json",
"lint:eslint": "eslint ."
"lint:eslint": "AGORIC_ESLINT_TYPES=t eslint ."
},
"exports": {
".": "./src/index.js",
Expand Down

0 comments on commit 19c3475

Please sign in to comment.