From 8ae97fee8382650a1f0e084c1d9371adce53a87f Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 8 May 2023 13:54:09 +0900 Subject: [PATCH] chore: release eslint-plugin-astro (#202) Co-authored-by: github-actions[bot] --- .changeset/quiet-lobsters-compete.md | 5 --- CHANGELOG.md | 6 +++ package.json | 2 +- src/types-for-node.ts | 60 +++++++++++++++------------- 4 files changed, 39 insertions(+), 34 deletions(-) delete mode 100644 .changeset/quiet-lobsters-compete.md diff --git a/.changeset/quiet-lobsters-compete.md b/.changeset/quiet-lobsters-compete.md deleted file mode 100644 index bd6b2ac5..00000000 --- a/.changeset/quiet-lobsters-compete.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"eslint-plugin-astro": patch ---- - -fix: incompatible with ESLint v8.40 in `astro/semi` rule diff --git a/CHANGELOG.md b/CHANGELOG.md index cee1fd6d..956def2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # eslint-plugin-astro +## 0.26.2 + +### Patch Changes + +- [#201](https://github.com/ota-meshi/eslint-plugin-astro/pull/201) [`cafd97c`](https://github.com/ota-meshi/eslint-plugin-astro/commit/cafd97c515498c3ca11200091754a2bdc6eb9017) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: incompatible with ESLint v8.40 in `astro/semi` rule + ## 0.26.1 ### Patch Changes diff --git a/package.json b/package.json index e4c81f88..02c93e83 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-astro", - "version": "0.26.1", + "version": "0.26.2", "description": "ESLint plugin for Astro component", "main": "lib/index.js", "files": [ diff --git a/src/types-for-node.ts b/src/types-for-node.ts index 9db777a4..24614414 100644 --- a/src/types-for-node.ts +++ b/src/types-for-node.ts @@ -741,6 +741,12 @@ export type ASTNodeListener = { "JSXClosingElement:exit"?: ( node: AST.JSXClosingElement & ASTNodeWithParent, ) => void + JSXClosingFragment?: ( + node: AST.JSXClosingFragment & ASTNodeWithParent, + ) => void + "JSXClosingFragment:exit"?: ( + node: AST.JSXClosingFragment & ASTNodeWithParent, + ) => void JSXElement?: (node: AST.JSXElement & ASTNodeWithParent) => void "JSXElement:exit"?: (node: AST.JSXElement & ASTNodeWithParent) => void JSXEmptyExpression?: ( @@ -755,6 +761,8 @@ export type ASTNodeListener = { "JSXExpressionContainer:exit"?: ( node: AST.JSXExpressionContainer & ASTNodeWithParent, ) => void + JSXFragment?: (node: AST.JSXFragment & ASTNodeWithParent) => void + "JSXFragment:exit"?: (node: AST.JSXFragment & ASTNodeWithParent) => void JSXIdentifier?: (node: AST.JSXIdentifier & ASTNodeWithParent) => void "JSXIdentifier:exit"?: (node: AST.JSXIdentifier & ASTNodeWithParent) => void JSXMemberExpression?: ( @@ -771,28 +779,22 @@ export type ASTNodeListener = { "JSXOpeningElement:exit"?: ( node: AST.JSXOpeningElement & ASTNodeWithParent, ) => void + JSXOpeningFragment?: ( + node: AST.JSXOpeningFragment & ASTNodeWithParent, + ) => void + "JSXOpeningFragment:exit"?: ( + node: AST.JSXOpeningFragment & ASTNodeWithParent, + ) => void JSXSpreadAttribute?: ( node: AST.JSXSpreadAttribute & ASTNodeWithParent, ) => void "JSXSpreadAttribute:exit"?: ( node: AST.JSXSpreadAttribute & ASTNodeWithParent, ) => void + JSXSpreadChild?: (node: AST.JSXSpreadChild & ASTNodeWithParent) => void + "JSXSpreadChild:exit"?: (node: AST.JSXSpreadChild & ASTNodeWithParent) => void JSXText?: (node: AST.JSXText & ASTNodeWithParent) => void "JSXText:exit"?: (node: AST.JSXText & ASTNodeWithParent) => void - JSXFragment?: (node: AST.JSXFragment & ASTNodeWithParent) => void - "JSXFragment:exit"?: (node: AST.JSXFragment & ASTNodeWithParent) => void - JSXClosingFragment?: ( - node: AST.JSXClosingFragment & ASTNodeWithParent, - ) => void - "JSXClosingFragment:exit"?: ( - node: AST.JSXClosingFragment & ASTNodeWithParent, - ) => void - JSXOpeningFragment?: ( - node: AST.JSXOpeningFragment & ASTNodeWithParent, - ) => void - "JSXOpeningFragment:exit"?: ( - node: AST.JSXOpeningFragment & ASTNodeWithParent, - ) => void Program?: (node: AST.AstroProgram & ASTNodeWithParent) => void "Program:exit"?: (node: AST.AstroProgram & ASTNodeWithParent) => void AstroFragment?: (node: AST.AstroFragment & ASTNodeWithParent) => void @@ -1525,6 +1527,12 @@ export type AstroNodeListener = { "JSXClosingElement:exit"?: ( node: AST.JSXClosingElement & ASTNodeWithParent, ) => void + JSXClosingFragment?: ( + node: AST.JSXClosingFragment & ASTNodeWithParent, + ) => void + "JSXClosingFragment:exit"?: ( + node: AST.JSXClosingFragment & ASTNodeWithParent, + ) => void JSXElement?: (node: AST.JSXElement & ASTNodeWithParent) => void "JSXElement:exit"?: (node: AST.JSXElement & ASTNodeWithParent) => void JSXEmptyExpression?: ( @@ -1539,6 +1547,8 @@ export type AstroNodeListener = { "JSXExpressionContainer:exit"?: ( node: AST.JSXExpressionContainer & ASTNodeWithParent, ) => void + JSXFragment?: (node: AST.JSXFragment & ASTNodeWithParent) => void + "JSXFragment:exit"?: (node: AST.JSXFragment & ASTNodeWithParent) => void JSXIdentifier?: (node: AST.JSXIdentifier & ASTNodeWithParent) => void "JSXIdentifier:exit"?: (node: AST.JSXIdentifier & ASTNodeWithParent) => void JSXMemberExpression?: ( @@ -1555,28 +1565,22 @@ export type AstroNodeListener = { "JSXOpeningElement:exit"?: ( node: AST.JSXOpeningElement & ASTNodeWithParent, ) => void + JSXOpeningFragment?: ( + node: AST.JSXOpeningFragment & ASTNodeWithParent, + ) => void + "JSXOpeningFragment:exit"?: ( + node: AST.JSXOpeningFragment & ASTNodeWithParent, + ) => void JSXSpreadAttribute?: ( node: AST.JSXSpreadAttribute & ASTNodeWithParent, ) => void "JSXSpreadAttribute:exit"?: ( node: AST.JSXSpreadAttribute & ASTNodeWithParent, ) => void + JSXSpreadChild?: (node: AST.JSXSpreadChild & ASTNodeWithParent) => void + "JSXSpreadChild:exit"?: (node: AST.JSXSpreadChild & ASTNodeWithParent) => void JSXText?: (node: AST.JSXText & ASTNodeWithParent) => void "JSXText:exit"?: (node: AST.JSXText & ASTNodeWithParent) => void - JSXFragment?: (node: AST.JSXFragment & ASTNodeWithParent) => void - "JSXFragment:exit"?: (node: AST.JSXFragment & ASTNodeWithParent) => void - JSXClosingFragment?: ( - node: AST.JSXClosingFragment & ASTNodeWithParent, - ) => void - "JSXClosingFragment:exit"?: ( - node: AST.JSXClosingFragment & ASTNodeWithParent, - ) => void - JSXOpeningFragment?: ( - node: AST.JSXOpeningFragment & ASTNodeWithParent, - ) => void - "JSXOpeningFragment:exit"?: ( - node: AST.JSXOpeningFragment & ASTNodeWithParent, - ) => void AstroFragment?: (node: AST.AstroFragment & ASTNodeWithParent) => void "AstroFragment:exit"?: (node: AST.AstroFragment & ASTNodeWithParent) => void AstroHTMLComment?: (node: AST.AstroHTMLComment & ASTNodeWithParent) => void