From 7b3b70e541f54e1be04ecca476eb1eca99081005 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Tue, 4 Jul 2023 13:21:54 +0200 Subject: [PATCH] Meta tweaks --- index.d.ts | 4 ++-- package.json | 2 +- readme.md | 12 ------------ 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/index.d.ts b/index.d.ts index 618901b..ffd6258 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,4 +1,4 @@ -export interface Options { +export type Options = { /** Strip trailing commas in addition to comments. @@ -12,7 +12,7 @@ export interface Options { @default true */ readonly whitespace?: boolean; -} +}; /** Strip comments from JSON. Lets you use comments in your JSON files! diff --git a/package.json b/package.json index 85fd34a..621189e 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "ava": "^4.3.1", "matcha": "^0.7.0", "tsd": "^0.22.0", - "xo": "^0.51.0" + "xo": "^0.54.2" }, "xo": { "rules": { diff --git a/readme.md b/readme.md index c26e0d7..00f852e 100644 --- a/readme.md +++ b/readme.md @@ -73,15 +73,3 @@ npm run bench - [strip-json-comments-cli](https://github.com/sindresorhus/strip-json-comments-cli) - CLI for this module - [strip-css-comments](https://github.com/sindresorhus/strip-css-comments) - Strip comments from CSS - ---- - -
- - Get professional support for this package with a Tidelift subscription - -
- - Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies. -
-