Sébastien Règne
Sébastien Règne
## Expected behavior `imports-as-dependencies` supports types defined in the [`exports`](https://github.com/microsoft/playwright/blob/v1.34.3/packages/playwright/package.json#L16) property. ## Actual behavior `imports-as-dependencies` reports: _import points to package which is not found in dependencies_. Because the rule only...
### Describe the problem and steps to reproduce it: addons-linter doesn't report any warning for the [`/commands/_execute_browser_action`](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/commands#special_shortcuts) property for a manifest V3. ```JSON { "manifest_version": 3, "...": "...", "action": {...
Export the types so that they can be checked with IDE and TypeScript.
Fix https://github.com/standard/standard/issues/1956
The [addition](https://github.com/microsoft/TypeScript-DOM-lib-generator/issues/1444) of the [`static Response.json(data, init)`](https://fetch.spec.whatwg.org/#dom-response-json) method was [refused](https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1462#discussion_r1060729285) because it isn't implemented by two major vendors. It's implemented in Blink, but not in Gecko and WebKit. It's already...
Hi, For some elements, the `document.querySelector()` method doesn't return the specific class, but a `HTMLElement`. For example with the `` element whose object returned isn't an `HTMLMetaElement`. ```javascript import *...
Check order of sub-properties with [`prefer-property-order`](https://npmpackagejsonlint.org/docs/rules/package-json-properties/prefer-property-order/). Example with sub-properties of `exports` to check that [`types` comes first](https://nodejs.org/dist/latest-v20.x/docs/api/packages.html#community-conditions-definitions) and [`default` comes last](https://nodejs.org/dist/latest-v20.x/docs/api/packages.html#conditional-exports) (I had a [problem](https://github.com/jsdelivr/jsdelivr/issues/18496) because I had positioned `types`...
Export the types (file `*.d.ts`) of the configuration so that we can validate our configurations with TypeScript. --- Example of `npmpackagejsonlint.config.js` if types are exported: ```JavaScript // @ts-check /** *...
Fix https://github.com/rasshofer/yaml-lint/issues/35
## Description YAML Lint imports types from [`js-yaml`](https://www.npmjs.com/package/js-yaml), but this package doesn't export types. The types are in the [`@types/js-yaml`](https://www.npmjs.com/package/@types/js-yaml) package. [`[email protected]/dist/index.d.ts`](https://cdn.jsdelivr.net/npm/[email protected]/dist/index.d.ts): ```TypeScript declare const schemas: { readonly FAILSAFE_SCHEMA: import("js-yaml").Schema;...