eclipse-thingweb / eclipse-thingweb/node-wot

ESLint Warnings

Open
#1,430 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
192
Forks
100
Avg merge
3d 2h
Merged PRs (30d)
6

Description

With https://github.com/eclipse-thingweb/node-wot/pull/1424 we introduced some *new* eslint warnings.

At the moment, `npm run lint` shows a huge list of warnings. I suggest turning them off and look at them one by one (so that we can fix one by one)
see https://github.com/eclipse-thingweb/node-wot/blob/master/eslint.config.mjs

* [ ] `n/no-missing-import` (see https://github.com/eclipse-thingweb/node-wot/issues/1428)
* [ ] `n/no-extraneous-import` (see https://github.com/eclipse-thingweb/node-wot/issues/1437)
* [x] `n/no-unpublished-import` (see https://github.com/eclipse-thingweb/node-wot/pull/1438)
* [ ] `n/no-unsupported-features/node-builtins` (see https://github.com/eclipse-thingweb/node-wot/issues/1439)
* [ ] `n/no-deprecated-api` (see https://github.com/eclipse-thingweb/node-wot/pull/1436)
* [x] `n/no-process-exit` (see https://github.com/eclipse-thingweb/node-wot/pull/1505)
* [x] `no-unused-private-class-members` (see https://github.com/eclipse-thingweb/node-wot/pull/1434)
* [x] `prefer-const` (see https://github.com/eclipse-thingweb/node-wot/pull/1432)
* [x] `unused-imports/no-unused-vars` (see https://github.com/eclipse-thingweb/node-wot/pull/1435)
* [ ] `extraneous-dependencies/no-extraneous-dependencies` (see https://github.com/eclipse-thingweb/node-wot/issues/1442)
* [ ] `@typescript-eslint/no-floating-promises` (see https://github.com/eclipse-thingweb/node-wot/pull/1446)
* [x] `@typescript-eslint/no-require-imports` (see https://github.com/eclipse-thingweb/node-wot/pull/1443)
* [x] `@typescript-eslint/no-empty-object-type` (see https://github.com/eclipse-thingweb/node-wot/pull/1441)
* [x] `@typescript-eslint/prefer-nullish-coalescing` (see https://github.com/eclipse-thingweb/node-wot/pull/1440)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.