build: add lint:types
ADD
packages/init/jsconfig.build.json
+{
+ "extends": "./jsconfig.json",
+ "compilerOptions": {
+ "noEmit": false,
+ "declaration": true,
+ "emitDeclarationOnly": true,
+ "declarationMap": true
+ },
+ "exclude": ["test/"]
+}

MODIFY
packages/init/package.json
packages/init/package.json
"test:xs": "exit 0",
"lint-check": "yarn lint",
"lint-fix": "eslint --fix '**/*.js'",
- "lint": "eslint '**/*.js'"
+ "lint": "yarn lint:types && eslint '**/*.js'",
+ "lint:types": "tsc -p jsconfig.json"
},
"devDependencies": {
"@endo/compartment-mapper": "^0.8.0",

build: add lint:types