Skip to content

Commit 6560614

Browse files
authored
Merge pull request #1438 from danielpeintner/issue-1430-no-unpublished-import
refactor: activate eslint n/no-unpublished-import
2 parents 8dc6ed8 + 48ea315 commit 6560614

4 files changed

Lines changed: 14 additions & 8 deletions

File tree

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ export default defineConfig([
8484
"n/no-unsupported-features/node-builtins": "off", // https://github.com/eclipse-thingweb/node-wot/issues/1430
8585
"n/no-extraneous-import": "off", // https://github.com/eclipse-thingweb/node-wot/issues/1430
8686
"n/no-deprecated-api": "off", // https://github.com/eclipse-thingweb/node-wot/issues/1430
87-
"n/no-unpublished-import": "off", // https://github.com/eclipse-thingweb/node-wot/issues/1430
87+
"n/no-unpublished-import": "error",
8888
"n/no-process-exit": "off", // https://github.com/eclipse-thingweb/node-wot/issues/1430
8989
"n/hashbang": "warn",
9090

package-lock.json

Lines changed: 7 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
"@types/content-type": "^1.1.8",
1919
"@types/debug": "^4.1.7",
2020
"@types/uritemplate": "^0.3.4",
21-
"@types/uuid": "^8.3.1",
22-
"wot-thing-description-types": "^1.1.0-12-March-2025"
21+
"@types/uuid": "^8.3.1"
2322
},
2423
"dependencies": {
2524
"@petamoriken/float16": "^3.1.1",
@@ -34,7 +33,8 @@
3433
"uritemplate": "0.3.4",
3534
"url-toolkit": "2.1.6",
3635
"uuid": "^7.0.3",
37-
"web-streams-polyfill": "^4.0.0"
36+
"web-streams-polyfill": "^4.0.0",
37+
"wot-thing-description-types": "^1.1.0-12-March-2025"
3838
},
3939
"scripts": {
4040
"build": "tsc -b",

packages/examples/src/security/oauth/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
"cors": "^2.8.5",
1919
"ts-node": "10.9.1",
2020
"typescript": "4.7.4",
21-
"typescript-standard": "^0.3.36",
21+
"typescript-standard": "^0.3.36"
22+
},
23+
"dependencies": {
2224
"wot-typescript-definitions": "0.8.0-SNAPSHOT.31"
2325
}
2426
}

0 commit comments

Comments
 (0)