From 881d5c4f11b525b39d726e9755992c613501c5ba Mon Sep 17 00:00:00 2001 From: Yosuke Ota Date: Wed, 12 Oct 2022 16:34:25 +0900 Subject: [PATCH 1/5] Create bug_report.yml --- .github/ISSUE_TEMPLATE/bug_report.yml | 84 +++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..f5d3f90 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,84 @@ +name: Bug report +description: Create a report to help us improve. + +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! + - type: checkboxes + id: sanity-checks + attributes: + label: Before You File a Bug Report Please Confirm You Have Done The Following... + description: If any of these required steps are not taken, we may not be able to review your issue. Help us to help you! + options: + - label: I'm using [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue). + - label: I'm sure the problem is a parser problem. (If you are not sure, search for the issue in [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) repo and open the issue in [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) repo if there is no solution. + required: true + - label: I have tried restarting my IDE and the issue persists. + required: true + - label: I have updated to the latest version of the packages. + required: true + - type: input + id: eslint-version + attributes: + label: What version of ESLint are you using? + placeholder: 0.0.0 + validations: + required: true + - type: textarea + id: eslint-plugin-vue-version + attributes: + label: What version of `eslint-plugin-vue` and ` vue-eslint-parser` are you using? + value: | + - vue-eslint-parser@0.0.0 + - eslint-plugin-vue@0.0.0 + validations: + required: true + - type: textarea + attributes: + label: What did you do? + description: | + Please include a *minimal* reproduction case. + value: | +
+ Configuration + + ``` + + ``` +
+ + ```vue + + ``` + validations: + required: true + - type: textarea + attributes: + label: What did you expect to happen? + description: | + You can use Markdown in this field. + validations: + required: true + - type: textarea + attributes: + label: What actually happened? + description: | + Please copy-paste the actual ESLint output. You can use Markdown in this field. + validations: + required: true + - type: textarea + id: bug-reproduction + attributes: + label: Link to Minimal Reproducible Example + description: | + Create a minimal reproduction of the problem. **A minimal reproduction is required** so that others can help debug your issue. **If a report has no reproduction, it will be closed.** + [Why Reproductions are Required](https://antfu.me/posts/why-reproductions-are-required) + placeholder: | + https://github.com/[your]/[repo] + validations: + required: true + - type: textarea + attributes: + label: Additional comments From 0ca20f105a3b63469e79727d0a17416a3d514bb5 Mon Sep 17 00:00:00 2001 From: Yosuke Ota Date: Wed, 12 Oct 2022 16:36:23 +0900 Subject: [PATCH 2/5] Create other.md --- .github/ISSUE_TEMPLATE/other.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/other.md diff --git a/.github/ISSUE_TEMPLATE/other.md b/.github/ISSUE_TEMPLATE/other.md new file mode 100644 index 0000000..565795b --- /dev/null +++ b/.github/ISSUE_TEMPLATE/other.md @@ -0,0 +1,7 @@ +--- +name: Other +about: An issue that doesn't fit into the other categories. +title: "" +labels: "" +assignees: "" +--- From 5c3558c34a1b35c36bd76bff262c33862d17f37b Mon Sep 17 00:00:00 2001 From: Yosuke Ota Date: Wed, 12 Oct 2022 16:49:35 +0900 Subject: [PATCH 3/5] Update typescript (#171) --- package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index a81c2b4..b3503c6 100644 --- a/package.json +++ b/package.json @@ -28,12 +28,12 @@ "@babel/plugin-syntax-pipeline-operator": "^7.16.0", "@babel/plugin-syntax-typescript": "^7.16.0", "@types/debug": "^4.1.7", - "@types/eslint": "^7.29.0", - "@types/estree": "^0.0.50", - "@types/lodash": "^4.14.177", + "@types/eslint": "^8.4.6", + "@types/estree": "^1.0.0", + "@types/lodash": "^4.14.186", "@types/mocha": "^9.0.0", - "@types/node": "^16.11.7", - "@types/semver": "^7.3.9", + "@types/node": "^18.8.4", + "@types/semver": "^7.3.12", "@typescript-eslint/eslint-plugin": "^5.18.0", "@typescript-eslint/parser": "^5.18.0", "chokidar": "^3.5.2", @@ -58,7 +58,7 @@ "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.6.3", "ts-node": "^10.4.0", - "typescript": "~4.4.4", + "typescript": "~4.8.4", "wait-on": "^6.0.0", "warun": "^1.0.0" }, From bb88c01dadb29844fde5b969229bb0eb1e33f7b8 Mon Sep 17 00:00:00 2001 From: Yosuke Ota Date: Thu, 30 Mar 2023 15:34:31 +0900 Subject: [PATCH 4/5] Fix wrong scope reference type for ` + + diff --git a/typings/eslint-scope/index.d.ts b/typings/eslint-scope/index.d.ts index c3ae32b..6d14afc 100644 --- a/typings/eslint-scope/index.d.ts +++ b/typings/eslint-scope/index.d.ts @@ -75,8 +75,8 @@ export class Reference { public isWriteOnly(): boolean // For typescript-eslint - public isTypeReference: boolean - public isValueReference: boolean + public isTypeReference?: boolean + public isValueReference?: boolean } export declare const analyze: ( From 36a492972620b70e45ffdbd96aa865e73d3b48f0 Mon Sep 17 00:00:00 2001 From: yosuke ota Date: Thu, 30 Mar 2023 15:39:02 +0900 Subject: [PATCH 5/5] 9.1.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b3503c6..7fef57b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vue-eslint-parser", - "version": "9.1.0", + "version": "9.1.1", "description": "The ESLint custom parser for `.vue` files.", "engines": { "node": "^14.17.0 || >=16.0.0"