From dc7fcdb1027c7cf24fb18370d077dd24c5a3e1f4 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Tue, 16 Jul 2024 06:02:37 -0700 Subject: [PATCH] Allow @deferred (#1035) --- .changeset/nervous-spoons-obey.md | 5 +++++ packages/eslint-plugin/src/configs/all.ts | 1 + .../eslint-plugin/test/__snapshots__/plugin.test.ts.snap | 1 + 3 files changed, 7 insertions(+) create mode 100644 .changeset/nervous-spoons-obey.md diff --git a/.changeset/nervous-spoons-obey.md b/.changeset/nervous-spoons-obey.md new file mode 100644 index 0000000000..421640bb67 --- /dev/null +++ b/.changeset/nervous-spoons-obey.md @@ -0,0 +1,5 @@ +--- +"@definitelytyped/eslint-plugin": patch +--- + +Allow @deferred tag diff --git a/packages/eslint-plugin/src/configs/all.ts b/packages/eslint-plugin/src/configs/all.ts index 12d5b0e241..99f2f2d73b 100644 --- a/packages/eslint-plugin/src/configs/all.ts +++ b/packages/eslint-plugin/src/configs/all.ts @@ -41,6 +41,7 @@ export const all: Linter.BaseConfig = { "declaration", "defApiFeature", "defaultValue", + "deferred", "detail", "end", "eventproperty", diff --git a/packages/eslint-plugin/test/__snapshots__/plugin.test.ts.snap b/packages/eslint-plugin/test/__snapshots__/plugin.test.ts.snap index 7957c4939a..2c112b8229 100644 --- a/packages/eslint-plugin/test/__snapshots__/plugin.test.ts.snap +++ b/packages/eslint-plugin/test/__snapshots__/plugin.test.ts.snap @@ -134,6 +134,7 @@ exports[`plugin should have the expected exports 1`] = ` "declaration", "defApiFeature", "defaultValue", + "deferred", "detail", "end", "eventproperty",