Skip to content

Commit 4162ef0

Browse files
committed
chore: execute "tsc" on lint phase
1 parent 4b7dff6 commit 4162ef0

File tree

26 files changed

+30
-24
lines changed

26 files changed

+30
-24
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"stylelint-config-standard-scss": "^11.1.0",
5353
"stylelint-stylistic": "^0.4.3",
5454
"ts-node": "^10.9.1",
55+
"tsc": "^2.0.4",
5556
"tsup": "^7.3.0",
5657
"turbo": "^1.10.0",
5758
"typedoc": "^0.25.0",

packages/autorotate-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scripts": {
1313
"build": "tsup",
1414
"watch": "tsup --watch",
15-
"lint": "eslint . --fix",
15+
"lint": "tsc --noEmit && eslint . --fix",
1616
"publish-dist": "cd dist && npm publish --tag=$NPM_TAG --access=public",
1717
"npm-link": "cd dist && npm link"
1818
},

packages/compass-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scripts": {
1313
"build": "tsup",
1414
"watch": "tsup --watch",
15-
"lint": "eslint . --fix && stylelint \"src/**/*.scss\" --fix",
15+
"lint": "tsc --noEmit && eslint . --fix && stylelint \"src/**/*.scss\" --fix",
1616
"publish-dist": "cd dist && npm publish --tag=$NPM_TAG --access=public",
1717
"npm-link": "cd dist && npm link"
1818
},

packages/compass-plugin/src/components/CompassComponent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export class CompassComponent extends AbstractComponent {
9393
this.container.className = `psv-compass psv-compass--${this.config.position.join('-')}`;
9494

9595
if (this.config.className) {
96-
utils.addClasses(this.container, this.config.className);
96+
this.container.classList.add(this.config.className);
9797
}
9898

9999
this.background.innerHTML = this.config.backgroundSvg;

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scripts": {
1313
"build": "tsup",
1414
"watch": "tsup --watch",
15-
"lint": "eslint . --fix && stylelint \"src/**/*.scss\" --fix",
15+
"lint": "tsc --noEmit && eslint . --fix && stylelint \"src/**/*.scss\" --fix",
1616
"test": "mocha -r ts-node/register \"src/**/*.spec.ts\"",
1717
"publish-dist": "cd dist && npm publish --tag=$NPM_TAG --access=public",
1818
"npm-link": "cd dist && npm link"

packages/core/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "../../tsconfig.json",
33
"include": ["src/**/*.ts", "../shared/typings.d.ts"],
4-
"exclude": ["dist", "node_modules"]
4+
"exclude": ["dist", "node_modules", "src/**/*.spec.ts"]
55
}

packages/cubemap-adapter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scripts": {
1313
"build": "tsup",
1414
"watch": "tsup --watch",
15-
"lint": "eslint . --fix",
15+
"lint": "tsc --noEmit && eslint . --fix",
1616
"publish-dist": "cd dist && npm publish --tag=$NPM_TAG --access=public",
1717
"npm-link": "cd dist && npm link"
1818
},

packages/cubemap-tiles-adapter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"scripts": {
1414
"build": "tsup",
1515
"watch": "tsup --watch",
16-
"lint": "eslint . --fix",
16+
"lint": "tsc --noEmit && eslint . --fix",
1717
"publish-dist": "cd dist && npm publish --tag=$NPM_TAG --access=public",
1818
"npm-link": "cd dist && npm link"
1919
},

packages/cubemap-video-adapter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scripts": {
1313
"build": "tsup",
1414
"watch": "tsup --watch",
15-
"lint": "eslint . --fix",
15+
"lint": "tsc --noEmit && eslint . --fix",
1616
"publish-dist": "cd dist && npm publish --tag=$NPM_TAG --access=public",
1717
"npm-link": "cd dist && npm link"
1818
},

packages/equirectangular-tiles-adapter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"scripts": {
1313
"build": "tsup",
1414
"watch": "tsup --watch",
15-
"lint": "eslint . --fix",
15+
"lint": "tsc --noEmit && eslint . --fix",
1616
"publish-dist": "cd dist && npm publish --tag=$NPM_TAG --access=public",
1717
"npm-link": "cd dist && npm link"
1818
},

0 commit comments

Comments
 (0)