Skip to content

Commit

Permalink
Merge branch 'eslint:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Yash-Singh1 committed Sep 17, 2021
2 parents d6d044a + 47be800 commit 08c0aaf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Expand Up @@ -18,7 +18,7 @@ body:
npm version:
Local ESLint version:
Global ESLint version:
Operating System:
Operating System:
validations:
required: true
- type: dropdown
Expand All @@ -43,6 +43,7 @@ body:
value: |
<details>
<summary>Configuration</summary>
```
<!-- Paste your configuration here -->
```
Expand All @@ -51,7 +52,6 @@ body:
```js
<!-- Paste your code here -->
```
render: markdown
validations:
required: true
- type: textarea
Expand Down
2 changes: 1 addition & 1 deletion docs/developer-guide/contributing/README.md
Expand Up @@ -10,7 +10,7 @@ ESLint welcomes contributions from everyone and adheres to the [OpenJS Foundatio

## [Signing the CLA](https://openjsf.org/about/the-openjs-foundation-cla/)

In order to submit code or documentation to an ESLint project, you will need to electronically sign our [Contributor License Agreement](https://cla.js.foundation/eslint/eslint). The CLA is you giving us permission to use your contribution.
In order to submit code or documentation to an ESLint project, you will need to electronically sign our [Contributor License Agreement](https://github.com/openjs-foundation/easycla). The CLA is the commonly used Apache-style template, and is you giving us permission to use your contribution. You only need to sign the CLA once for any OpenJS Foundation projects that use EasyCLA.

## [Bug Reporting](reporting-bugs)

Expand Down
9 changes: 9 additions & 0 deletions tests/lib/linter/node-event-generator.js
Expand Up @@ -314,6 +314,15 @@ describe("NodeEventGenerator", () => {
["[name.length=3]:exit", ast.body[1].expression]
]
);

// https://github.com/eslint/eslint/issues/14799
assertEmissions(
"const {a = 1} = b;",
["Property > .key"],
ast => [
["Property > .key", ast.body[0].declarations[0].id.properties[0].key]
]
);
});

describe("traversing the entire non-standard AST", () => {
Expand Down

0 comments on commit 08c0aaf

Please sign in to comment.