From 039367087ffc4606f773bbbc06b9223f8fce330e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Sep 2022 20:18:42 -0700 Subject: [PATCH 1/9] chore: Bump rollup from 2.78.1 to 2.79.0 (#5607) Bumps [rollup](https://github.com/rollup/rollup) from 2.78.1 to 2.79.0. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v2.78.1...v2.79.0) --- updated-dependencies: - dependency-name: rollup dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 5534c2bb2203..a0786c37a3fd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12933,9 +12933,9 @@ rollup-plugin-terser@^7.0.2: terser "^5.0.0" rollup@^2.75.4: - version "2.78.1" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.78.1.tgz#52fe3934d9c83cb4f7c4cb5fb75d88591be8648f" - integrity sha512-VeeCgtGi4P+o9hIg+xz4qQpRl6R401LWEXBmxYKOV4zlF82lyhgh2hTZnheFUbANE8l2A41F458iwj2vEYaXJg== + version "2.79.0" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.0.tgz#9177992c9f09eb58c5e56cbfa641607a12b57ce2" + integrity sha512-x4KsrCgwQ7ZJPcFA/SUu6QVcYlO7uRLfLAy0DSA4NS2eG8japdbpM50ToH7z4iObodRYOJ0soneF0iaQRJ6zhA== optionalDependencies: fsevents "~2.3.2" From 45e2912425dc251509953f5e5c59279cb3d10e01 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Sep 2022 20:20:31 -0700 Subject: [PATCH 2/9] chore: Bump @types/glob from 7.2.0 to 8.0.0 (#5605) Bumps [@types/glob](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/glob) from 7.2.0 to 8.0.0. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/glob) --- updated-dependencies: - dependency-name: "@types/glob" dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package.json | 2 +- yarn.lock | 10 +++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0eff2a290d16..956ea7c8eab9 100644 --- a/package.json +++ b/package.json @@ -62,7 +62,7 @@ "@types/babel__code-frame": "^7.0.3", "@types/debug": "^4.1.7", "@types/eslint-visitor-keys": "^1.0.0", - "@types/glob": "^7.2.0", + "@types/glob": "^8.0.0", "@types/is-glob": "^4.0.2", "@types/jest": "^28.1.1", "@types/jest-specific-snapshot": "^0.5.5", diff --git a/yarn.lock b/yarn.lock index a0786c37a3fd..c1868eb665cf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4088,7 +4088,15 @@ "@types/qs" "*" "@types/serve-static" "*" -"@types/glob@*", "@types/glob@^7.1.3", "@types/glob@^7.2.0": +"@types/glob@*", "@types/glob@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@types/glob/-/glob-8.0.0.tgz#321607e9cbaec54f687a0792b2d1d370739455d2" + integrity sha512-l6NQsDDyQUVeoTynNpC9uRvCUint/gSUXQA2euwmTuWGvPY5LSDUu6tkCtJB2SvGQlJQzLaKqcGZP4//7EDveA== + dependencies: + "@types/minimatch" "*" + "@types/node" "*" + +"@types/glob@^7.1.3": version "7.2.0" resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb" integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA== From 8176fb15299943cbf20385eb0ea7ba877e193285 Mon Sep 17 00:00:00 2001 From: Santosh Yadav Date: Wed, 7 Sep 2022 04:51:59 +0200 Subject: [PATCH 3/9] feat(docs): always expanding collapsible sidebar menus under docs (#5608) * feat(docs): always expanding collapsible sidebar menus under docs * feat(docs): always expanding collapsible sidebar menus under docs --- packages/website/sidebars/sidebar.base.js | 7 +++++-- packages/website/sidebars/sidebar.rules.js | 3 --- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/website/sidebars/sidebar.base.js b/packages/website/sidebars/sidebar.base.js index 5b16af7f5f91..339ea39e95c4 100644 --- a/packages/website/sidebars/sidebar.base.js +++ b/packages/website/sidebars/sidebar.base.js @@ -1,11 +1,12 @@ module.exports = { docs: [ { - collapsed: false, + collapsible: false, items: [ { label: 'Linting with Type Information', items: ['linting/typed-linting/monorepos'], + collapsible: false, link: { id: 'linting/typed-linting', type: 'doc', @@ -19,6 +20,7 @@ module.exports = { id: 'linting/troubleshooting', type: 'doc', }, + collapsible: false, type: 'category', items: [ 'linting/troubleshooting/formatting', @@ -36,11 +38,12 @@ module.exports = { { type: 'category', label: 'Development', - collapsed: false, + collapsible: false, items: [ { label: 'Architecture', type: 'category', + collapsible: false, items: [ 'development/architecture/asts', 'development/architecture/packages', diff --git a/packages/website/sidebars/sidebar.rules.js b/packages/website/sidebars/sidebar.rules.js index b429359d13b3..7fe7fff1ec43 100644 --- a/packages/website/sidebars/sidebar.rules.js +++ b/packages/website/sidebars/sidebar.rules.js @@ -43,10 +43,7 @@ const paths = globby }); function createCategory(label, rules, additionalItems = []) { - const collapsed = !additionalItems.length; return { - collapsed, - collapsible: collapsed, items: [ ...rules.map(rule => { return { From 77d76e21cdc2e100c729c839c292e82ab7c554c5 Mon Sep 17 00:00:00 2001 From: Nikita Date: Fri, 9 Sep 2022 01:13:17 +0200 Subject: [PATCH 4/9] fix(eslint-plugin): [strict-boolean-expressions] check all conditions in a logical operator chain (#5539) * fix(eslint-plugin): [strict-bool-expr] fix logical chain * make code more logical hopefully * more tests --- .../src/rules/strict-boolean-expressions.ts | 86 +++++++++++----- .../rules/strict-boolean-expressions.test.ts | 97 +++++++++++++++++++ 2 files changed, 158 insertions(+), 25 deletions(-) diff --git a/packages/eslint-plugin/src/rules/strict-boolean-expressions.ts b/packages/eslint-plugin/src/rules/strict-boolean-expressions.ts index 5493e84d271c..b84df197bbbf 100644 --- a/packages/eslint-plugin/src/rules/strict-boolean-expressions.ts +++ b/packages/eslint-plugin/src/rules/strict-boolean-expressions.ts @@ -166,16 +166,16 @@ export default util.createRule({ }); } - const checkedNodes = new Set(); + const traversedNodes = new Set(); return { - ConditionalExpression: checkTestExpression, - DoWhileStatement: checkTestExpression, - ForStatement: checkTestExpression, - IfStatement: checkTestExpression, - WhileStatement: checkTestExpression, - 'LogicalExpression[operator!="??"]': checkNode, - 'UnaryExpression[operator="!"]': checkUnaryLogicalExpression, + ConditionalExpression: traverseTestExpression, + DoWhileStatement: traverseTestExpression, + ForStatement: traverseTestExpression, + IfStatement: traverseTestExpression, + WhileStatement: traverseTestExpression, + 'LogicalExpression[operator!="??"]': traverseLogicalExpression, + 'UnaryExpression[operator="!"]': traverseUnaryLogicalExpression, }; type TestExpression = @@ -185,45 +185,81 @@ export default util.createRule({ | TSESTree.IfStatement | TSESTree.WhileStatement; - function checkTestExpression(node: TestExpression): void { + /** + * Inspects condition of a test expression. (`if`, `while`, `for`, etc.) + */ + function traverseTestExpression(node: TestExpression): void { if (node.test == null) { return; } - checkNode(node.test, true); + traverseNode(node.test, true); + } + + /** + * Inspects the argument of a unary logical expression (`!`). + */ + function traverseUnaryLogicalExpression( + node: TSESTree.UnaryExpression, + ): void { + traverseNode(node.argument, true); } - function checkUnaryLogicalExpression(node: TSESTree.UnaryExpression): void { - checkNode(node.argument, true); + /** + * Inspects the arguments of a logical expression (`&&`, `||`). + * + * If the logical expression is a descendant of a test expression, + * the `isCondition` flag should be set to true. + * Otherwise, if the logical expression is there on it's own, + * it's used for control flow and is not a condition itself. + */ + function traverseLogicalExpression( + node: TSESTree.LogicalExpression, + isCondition = false, + ): void { + // left argument is always treated as a condition + traverseNode(node.left, true); + // if the logical expression is used for control flow, + // then it's right argument is used for it's side effects only + traverseNode(node.right, isCondition); } /** - * This function analyzes the type of a node and checks if it is allowed in a boolean context. - * It can recurse when checking nested logical operators, so that only the outermost operands are reported. - * The right operand of a logical expression is ignored unless it's a part of a test expression (if/while/ternary/etc). - * @param node The AST node to check. - * @param isTestExpr Whether the node is a descendant of a test expression. + * Inspects any node. + * + * If it's a logical expression then it recursively traverses its arguments. + * If it's any other kind of node then it's type is finally checked against the rule, + * unless `isCondition` flag is set to false, in which case + * it's assumed to be used for side effects only and is skipped. */ - function checkNode(node: TSESTree.Node, isTestExpr = false): void { + function traverseNode(node: TSESTree.Node, isCondition: boolean): void { // prevent checking the same node multiple times - if (checkedNodes.has(node)) { + if (traversedNodes.has(node)) { return; } - checkedNodes.add(node); + traversedNodes.add(node); // for logical operator, we check its operands if ( node.type === AST_NODE_TYPES.LogicalExpression && node.operator !== '??' ) { - checkNode(node.left, isTestExpr); + traverseLogicalExpression(node, isCondition); + return; + } - // we ignore the right operand when not in a context of a test expression - if (isTestExpr) { - checkNode(node.right, isTestExpr); - } + // skip if node is not a condition + if (!isCondition) { return; } + checkNode(node); + } + + /** + * This function does the actual type check on a node. + * It analyzes the type of a node and checks if it is allowed in a boolean context. + */ + function checkNode(node: TSESTree.Node): void { const tsNode = parserServices.esTreeNodeToTSNodeMap.get(node); const type = util.getConstrainedTypeAtLocation(typeChecker, tsNode); const types = inspectVariantTypes(tsutils.unionTypeParts(type)); diff --git a/packages/eslint-plugin/tests/rules/strict-boolean-expressions.test.ts b/packages/eslint-plugin/tests/rules/strict-boolean-expressions.test.ts index b6da08b5965c..42b57e89ebf7 100644 --- a/packages/eslint-plugin/tests/rules/strict-boolean-expressions.test.ts +++ b/packages/eslint-plugin/tests/rules/strict-boolean-expressions.test.ts @@ -117,6 +117,20 @@ ruleTester.run('strict-boolean-expressions', rule, { (x: T) => x ? 1 : 0; `, }), + + // logical operator + ...batchedSingleLineTests({ + options: [{ allowString: true, allowNumber: true }], + code: ` + 1 && true && 'x' && {}; + let x = 0 || false || '' || null; + if (1 && true && 'x') void 0; + if (0 || false || '') void 0; + 1 && true && 'x' ? {} : null; + 0 || false || '' ? null : {}; + `, + }), + { code: ` declare const x: string[] | null; @@ -304,6 +318,89 @@ if (y) { ], }, + // shouldn't check last logical operand when used for control flow + { + options: [{ allowString: false, allowNumber: false }], + code: "'asd' && 123 && [] && null;", + errors: [ + { messageId: 'conditionErrorString', line: 1, column: 1 }, + { messageId: 'conditionErrorNumber', line: 1, column: 10 }, + { messageId: 'conditionErrorObject', line: 1, column: 17 }, + ], + }, + { + options: [{ allowString: false, allowNumber: false }], + code: "'asd' || 123 || [] || null;", + errors: [ + { messageId: 'conditionErrorString', line: 1, column: 1 }, + { messageId: 'conditionErrorNumber', line: 1, column: 10 }, + { messageId: 'conditionErrorObject', line: 1, column: 17 }, + ], + }, + { + options: [{ allowString: false, allowNumber: false }], + code: "let x = (1 && 'a' && null) || 0 || '' || {};", + errors: [ + { messageId: 'conditionErrorNumber', line: 1, column: 10 }, + { messageId: 'conditionErrorString', line: 1, column: 15 }, + { messageId: 'conditionErrorNullish', line: 1, column: 22 }, + { messageId: 'conditionErrorNumber', line: 1, column: 31 }, + { messageId: 'conditionErrorString', line: 1, column: 36 }, + ], + }, + { + options: [{ allowString: false, allowNumber: false }], + code: "return (1 || 'a' || null) && 0 && '' && {};", + errors: [ + { messageId: 'conditionErrorNumber', line: 1, column: 9 }, + { messageId: 'conditionErrorString', line: 1, column: 14 }, + { messageId: 'conditionErrorNullish', line: 1, column: 21 }, + { messageId: 'conditionErrorNumber', line: 1, column: 30 }, + { messageId: 'conditionErrorString', line: 1, column: 35 }, + ], + }, + { + options: [{ allowString: false, allowNumber: false }], + code: "console.log((1 && []) || ('a' && {}));", + errors: [ + { messageId: 'conditionErrorNumber', line: 1, column: 14 }, + { messageId: 'conditionErrorObject', line: 1, column: 19 }, + { messageId: 'conditionErrorString', line: 1, column: 27 }, + ], + }, + + // should check all logical operands when used in a condition + { + options: [{ allowString: false, allowNumber: false }], + code: "if ((1 && []) || ('a' && {})) void 0;", + errors: [ + { messageId: 'conditionErrorNumber', line: 1, column: 6 }, + { messageId: 'conditionErrorObject', line: 1, column: 11 }, + { messageId: 'conditionErrorString', line: 1, column: 19 }, + { messageId: 'conditionErrorObject', line: 1, column: 26 }, + ], + }, + { + options: [{ allowString: false, allowNumber: false }], + code: "let x = null || 0 || 'a' || [] ? {} : undefined;", + errors: [ + { messageId: 'conditionErrorNullish', line: 1, column: 9 }, + { messageId: 'conditionErrorNumber', line: 1, column: 17 }, + { messageId: 'conditionErrorString', line: 1, column: 22 }, + { messageId: 'conditionErrorObject', line: 1, column: 29 }, + ], + }, + { + options: [{ allowString: false, allowNumber: false }], + code: "return !(null || 0 || 'a' || []);", + errors: [ + { messageId: 'conditionErrorNullish', line: 1, column: 10 }, + { messageId: 'conditionErrorNumber', line: 1, column: 18 }, + { messageId: 'conditionErrorString', line: 1, column: 23 }, + { messageId: 'conditionErrorObject', line: 1, column: 30 }, + ], + }, + // nullish in boolean context ...batchedSingleLineTests({ code: noFormat` From 7fd2f89ae732ca12ec83fad278362032473ff3ca Mon Sep 17 00:00:00 2001 From: yokkkoso Date: Mon, 12 Sep 2022 09:32:56 +1000 Subject: [PATCH 5/9] fix(website): Use extended base rule name from file's meta (#5621) --- packages/website/plugins/generated-rule-docs.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/website/plugins/generated-rule-docs.ts b/packages/website/plugins/generated-rule-docs.ts index 33014db3e3ea..94e25d30afd2 100644 --- a/packages/website/plugins/generated-rule-docs.ts +++ b/packages/website/plugins/generated-rule-docs.ts @@ -163,7 +163,7 @@ export const generatedRuleDocs: Plugin = () => { children: [ { type: 'inlineCode', - value: `eslint/${file.stem}`, + value: `eslint/${meta.docs.extendsBaseRule}`, }, { type: 'text', @@ -171,7 +171,7 @@ export const generatedRuleDocs: Plugin = () => { }, ], type: 'link', - url: `https://eslint.org/docs/rules/${file.stem}#options`, + url: `https://eslint.org/docs/rules/${meta.docs.extendsBaseRule}#options`, }, { type: 'text', @@ -187,7 +187,7 @@ export const generatedRuleDocs: Plugin = () => { meta: 'title=".eslintrc.cjs"', value: `module.exports = { // Note: you must disable the base rule as it can report incorrect errors - "${file.stem}": "off", + "${meta.docs.extendsBaseRule}": "off", "@typescript-eslint/${file.stem}": "${optionLevel}" };`, } as mdast.Code); @@ -294,7 +294,7 @@ export const generatedRuleDocs: Plugin = () => { { type: 'link', title: null, - url: `https://github.com/eslint/eslint/blob/main/docs/rules/${file.stem}.md`, + url: `https://github.com/eslint/eslint/blob/main/docs/rules/${meta.docs.extendsBaseRule}.md`, children: [ { type: 'text', From 3918e08d846791ddeabe53a80fa4c62dee96b6c2 Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Sun, 11 Sep 2022 19:46:03 -0400 Subject: [PATCH 6/9] docs: [no-parameter-properties] fix broken link (#5611) --- packages/eslint-plugin/docs/rules/no-parameter-properties.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-plugin/docs/rules/no-parameter-properties.md b/packages/eslint-plugin/docs/rules/no-parameter-properties.md index 18b9829a5eee..2468cc5838ac 100644 --- a/packages/eslint-plugin/docs/rules/no-parameter-properties.md +++ b/packages/eslint-plugin/docs/rules/no-parameter-properties.md @@ -8,7 +8,7 @@ description: 'Disallow the use of parameter properties in class constructors.' :::danger Deprecated -This rule has been deprecated in favour of the equivalent, better named [`parameter-properties`](./parameter-properties) rule. +This rule has been deprecated in favour of the equivalent, better named [`parameter-properties`](./parameter-properties.md) rule. ::: Parameter properties can be confusing to those new to TypeScript as they are less explicit than other ways From 7bd4cfb052dfda5954a827296a530e8be6e5b903 Mon Sep 17 00:00:00 2001 From: "typescript-eslint[bot]" <53356952+typescript-eslint[bot]@users.noreply.github.com> Date: Sun, 11 Sep 2022 19:55:11 -0700 Subject: [PATCH 7/9] chore: update sponsors (#5622) Co-authored-by: typescript-eslint[bot] --- packages/website/data/sponsors.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/website/data/sponsors.json b/packages/website/data/sponsors.json index ce842b6231d7..0de4c9ed2363 100644 --- a/packages/website/data/sponsors.json +++ b/packages/website/data/sponsors.json @@ -174,5 +174,13 @@ "tier": "contributor", "totalDonations": 10000, "website": "https://laserhub.com/" + }, + { + "id": "Codiga", + "image": "https://images.opencollective.com/codiga/1065f9f/logo.png", + "name": "Codiga", + "tier": "contributor", + "totalDonations": 10000, + "website": "https://www.codiga.io" } ] From bd4a7a6e064a7967c03daf114813a984bba25f01 Mon Sep 17 00:00:00 2001 From: Josh Goldberg Date: Mon, 12 Sep 2022 12:56:47 +1000 Subject: [PATCH 8/9] chore: add .github/replies.yml (#5618) Co-authored-by: Joshua Chen --- .github/replies.yml | 52 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .github/replies.yml diff --git a/.github/replies.yml b/.github/replies.yml new file mode 100644 index 000000000000..299aa0441d3b --- /dev/null +++ b/.github/replies.yml @@ -0,0 +1,52 @@ +replies: + - body: | + Thanks for posting! This is a duplicate of #. Before filing an issue, please [use our issue search](https://github.com/typescript-eslint/typescript-eslint/issues) to check for open and closed issues that already address what you're looking for. + name: Clearly Duplicate Issue + - body: | + Thanks for the issue! + \ + This is an extension rule. That means we take the base rule and extend it to support TS syntax or features. + \ + We don't break from the base rule to add new features unless they are specifically related to TS. + \ + In this instance — this request is not related to TS, thus we shall not implement it. If you'd like to see it, feel free to raise a request with the ESLint team. + \ + name: Extension Rule - Reject Due to Enhancement + - body: | + The fix has been merged to main, and will be released Monday, as per our [release schedule](https://github.com/typescript-eslint/typescript-eslint#versioning) + \ + If you need it sooner, please try the `canary` tag on NPM. + name: Fix Has Been Merged + - body: | + + name: + - body: | + With any issue opened in this project — it either has visible progress in the form of an attached PR, or it has no progress.\ + \ + We are a community-run project. The volunteer maintainers spend most of their time triaging issues and reviewing PRs. This means that most issues will not progress unless a member of the community steps up and champions it.\ + \ + If this issue is important to you — consider being that champion.\ + \ + If not — please just subscribe to the issue and wait patiently.\ + Commenting asking for status updates does not bump issue priority in any way and just serves to spam everyone subscribed to the issue. + name: Progress - Blunt + - body: | + We are a community run project. The **volunteer** maintainers spend most of their time triaging issues and reviewing PRs. This means that most issues *will not progress* unless a member of the community steps up and **champions** it. + \ + If this issue is important to you — consider being that champion. + If not — please use the subscribe function and wait patiently for someone else to implement this. + name: Progress - Nice + - body: | + As per [our contributing guidelines](https://github.com/typescript-eslint/typescript-eslint/blob/master/CONTRIBUTING.md#addressing-feedback-and-beyond) this PR is in the queue of PRs to reviewed, and will be reviewed when we are able. + \ + This project is run by volunteer maintainers, so it might be a bit before we can find the time to get to it. + name: Review Queue + - body: | + We ***STRONGLY*** recommend you use automatic code formatters like [prettier](https://www.npmjs.com/package/prettier). + \ + Stylistic lint rules take a lot of effort to write, require ongoing maintenance to add more configuration as people want to fit their preferences, and are a large burden to maintain as new syntax is added. + The configurability also leads to huge fanout [making tests huge, and awful to maintain](https://github.com/typescript-eslint/typescript-eslint/blob/b814e635c1f34139c89e0176727480935dd45cac/packages/eslint-plugin/tests/rules/type-annotation-spacing.test.ts). + \ + It's for these reasons that [eslint has frozen all stylistic lint rule options, and will not accept any new ones](https://eslint.org/blog/2020/05/changes-to-rules-policies). + See also our [What About Formatting?](https://typescript-eslint.io/docs/linting/troubleshooting/formatting) docs. + name: Use Prettier From 1139728db17cf70a5e830e7dbf98bcd58cb1cd95 Mon Sep 17 00:00:00 2001 From: "typescript-eslint[bot]" Date: Mon, 12 Sep 2022 17:30:14 +0000 Subject: [PATCH 9/9] chore: publish v5.37.0 --- CHANGELOG.md | 17 +++++++++++++++++ lerna.json | 2 +- packages/ast-spec/CHANGELOG.md | 8 ++++++++ packages/ast-spec/package.json | 2 +- packages/eslint-plugin-internal/CHANGELOG.md | 8 ++++++++ packages/eslint-plugin-internal/package.json | 6 +++--- packages/eslint-plugin-tslint/CHANGELOG.md | 8 ++++++++ packages/eslint-plugin-tslint/package.json | 6 +++--- packages/eslint-plugin/CHANGELOG.md | 11 +++++++++++ packages/eslint-plugin/package.json | 8 ++++---- packages/experimental-utils/CHANGELOG.md | 8 ++++++++ packages/experimental-utils/package.json | 4 ++-- packages/parser/CHANGELOG.md | 8 ++++++++ packages/parser/package.json | 8 ++++---- packages/scope-manager/CHANGELOG.md | 8 ++++++++ packages/scope-manager/package.json | 8 ++++---- packages/shared-fixtures/CHANGELOG.md | 8 ++++++++ packages/shared-fixtures/package.json | 2 +- packages/type-utils/CHANGELOG.md | 8 ++++++++ packages/type-utils/package.json | 8 ++++---- packages/types/CHANGELOG.md | 8 ++++++++ packages/types/package.json | 2 +- packages/typescript-estree/CHANGELOG.md | 8 ++++++++ packages/typescript-estree/package.json | 8 ++++---- packages/utils/CHANGELOG.md | 8 ++++++++ packages/utils/package.json | 8 ++++---- packages/visitor-keys/CHANGELOG.md | 8 ++++++++ packages/visitor-keys/package.json | 4 ++-- packages/website-eslint/CHANGELOG.md | 8 ++++++++ packages/website-eslint/package.json | 16 ++++++++-------- packages/website/CHANGELOG.md | 16 ++++++++++++++++ packages/website/package.json | 8 ++++---- 32 files changed, 198 insertions(+), 50 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9221aa382dd0..230cb1112764 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,23 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + + +### Bug Fixes + +* **eslint-plugin:** [strict-boolean-expressions] check all conditions in a logical operator chain ([#5539](https://github.com/typescript-eslint/typescript-eslint/issues/5539)) ([77d76e2](https://github.com/typescript-eslint/typescript-eslint/commit/77d76e21cdc2e100c729c839c292e82ab7c554c5)) +* **website:** Use extended base rule name from file's meta ([#5621](https://github.com/typescript-eslint/typescript-eslint/issues/5621)) ([7fd2f89](https://github.com/typescript-eslint/typescript-eslint/commit/7fd2f89ae732ca12ec83fad278362032473ff3ca)) + + +### Features + +* **docs:** always expanding collapsible sidebar menus under docs ([#5608](https://github.com/typescript-eslint/typescript-eslint/issues/5608)) ([8176fb1](https://github.com/typescript-eslint/typescript-eslint/commit/8176fb15299943cbf20385eb0ea7ba877e193285)) + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) diff --git a/lerna.json b/lerna.json index 47f726f4f903..5622e8f63409 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "5.36.2", + "version": "5.37.0", "npmClient": "yarn", "useWorkspaces": true, "stream": true diff --git a/packages/ast-spec/CHANGELOG.md b/packages/ast-spec/CHANGELOG.md index 4324dcc737c1..388e71ff6b98 100644 --- a/packages/ast-spec/CHANGELOG.md +++ b/packages/ast-spec/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + +**Note:** Version bump only for package @typescript-eslint/ast-spec + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) **Note:** Version bump only for package @typescript-eslint/ast-spec diff --git a/packages/ast-spec/package.json b/packages/ast-spec/package.json index 730b45b97e6b..9b6bae99cf32 100644 --- a/packages/ast-spec/package.json +++ b/packages/ast-spec/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/ast-spec", - "version": "5.36.2", + "version": "5.37.0", "description": "TypeScript-ESTree AST spec", "private": true, "keywords": [ diff --git a/packages/eslint-plugin-internal/CHANGELOG.md b/packages/eslint-plugin-internal/CHANGELOG.md index c7e3660b9825..50d4bfd4af56 100644 --- a/packages/eslint-plugin-internal/CHANGELOG.md +++ b/packages/eslint-plugin-internal/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + +**Note:** Version bump only for package @typescript-eslint/eslint-plugin-internal + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) **Note:** Version bump only for package @typescript-eslint/eslint-plugin-internal diff --git a/packages/eslint-plugin-internal/package.json b/packages/eslint-plugin-internal/package.json index f576807a9019..d31691bdb2ff 100644 --- a/packages/eslint-plugin-internal/package.json +++ b/packages/eslint-plugin-internal/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin-internal", - "version": "5.36.2", + "version": "5.37.0", "private": true, "main": "dist/index.js", "scripts": { @@ -14,8 +14,8 @@ }, "dependencies": { "@types/prettier": "*", - "@typescript-eslint/scope-manager": "5.36.2", - "@typescript-eslint/utils": "5.36.2", + "@typescript-eslint/scope-manager": "5.37.0", + "@typescript-eslint/utils": "5.37.0", "prettier": "*" } } diff --git a/packages/eslint-plugin-tslint/CHANGELOG.md b/packages/eslint-plugin-tslint/CHANGELOG.md index 492b83732ed8..06f6edbf45e7 100644 --- a/packages/eslint-plugin-tslint/CHANGELOG.md +++ b/packages/eslint-plugin-tslint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + +**Note:** Version bump only for package @typescript-eslint/eslint-plugin-tslint + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) **Note:** Version bump only for package @typescript-eslint/eslint-plugin-tslint diff --git a/packages/eslint-plugin-tslint/package.json b/packages/eslint-plugin-tslint/package.json index e5378423b436..c6b9a159bb80 100644 --- a/packages/eslint-plugin-tslint/package.json +++ b/packages/eslint-plugin-tslint/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin-tslint", - "version": "5.36.2", + "version": "5.37.0", "main": "dist/index.js", "typings": "src/index.ts", "description": "TSLint wrapper plugin for ESLint", @@ -38,7 +38,7 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/utils": "5.36.2", + "@typescript-eslint/utils": "5.37.0", "lodash": "^4.17.21" }, "peerDependencies": { @@ -48,6 +48,6 @@ }, "devDependencies": { "@types/lodash": "*", - "@typescript-eslint/parser": "5.36.2" + "@typescript-eslint/parser": "5.37.0" } } diff --git a/packages/eslint-plugin/CHANGELOG.md b/packages/eslint-plugin/CHANGELOG.md index 9a633cf18456..69be09f8ca73 100644 --- a/packages/eslint-plugin/CHANGELOG.md +++ b/packages/eslint-plugin/CHANGELOG.md @@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + + +### Bug Fixes + +* **eslint-plugin:** [strict-boolean-expressions] check all conditions in a logical operator chain ([#5539](https://github.com/typescript-eslint/typescript-eslint/issues/5539)) ([77d76e2](https://github.com/typescript-eslint/typescript-eslint/commit/77d76e21cdc2e100c729c839c292e82ab7c554c5)) + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) diff --git a/packages/eslint-plugin/package.json b/packages/eslint-plugin/package.json index 5f7a73df247a..4ef691bf014f 100644 --- a/packages/eslint-plugin/package.json +++ b/packages/eslint-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/eslint-plugin", - "version": "5.36.2", + "version": "5.37.0", "description": "TypeScript plugin for ESLint", "keywords": [ "eslint", @@ -44,9 +44,9 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/scope-manager": "5.36.2", - "@typescript-eslint/type-utils": "5.36.2", - "@typescript-eslint/utils": "5.36.2", + "@typescript-eslint/scope-manager": "5.37.0", + "@typescript-eslint/type-utils": "5.37.0", + "@typescript-eslint/utils": "5.37.0", "debug": "^4.3.4", "functional-red-black-tree": "^1.0.1", "ignore": "^5.2.0", diff --git a/packages/experimental-utils/CHANGELOG.md b/packages/experimental-utils/CHANGELOG.md index 2ffc2a4e4d7d..8d902941f153 100644 --- a/packages/experimental-utils/CHANGELOG.md +++ b/packages/experimental-utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + +**Note:** Version bump only for package @typescript-eslint/experimental-utils + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) **Note:** Version bump only for package @typescript-eslint/experimental-utils diff --git a/packages/experimental-utils/package.json b/packages/experimental-utils/package.json index 8d8d8540e7f3..991f31a7bd33 100644 --- a/packages/experimental-utils/package.json +++ b/packages/experimental-utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/experimental-utils", - "version": "5.36.2", + "version": "5.37.0", "description": "(Experimental) Utilities for working with TypeScript + ESLint together", "keywords": [ "eslint", @@ -38,7 +38,7 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/utils": "5.36.2" + "@typescript-eslint/utils": "5.37.0" }, "peerDependencies": { "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" diff --git a/packages/parser/CHANGELOG.md b/packages/parser/CHANGELOG.md index 97daaa7dcfc8..a36ec7350059 100644 --- a/packages/parser/CHANGELOG.md +++ b/packages/parser/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + +**Note:** Version bump only for package @typescript-eslint/parser + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) **Note:** Version bump only for package @typescript-eslint/parser diff --git a/packages/parser/package.json b/packages/parser/package.json index 44992e92cb2f..100a547ec803 100644 --- a/packages/parser/package.json +++ b/packages/parser/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/parser", - "version": "5.36.2", + "version": "5.37.0", "description": "An ESLint custom parser which leverages TypeScript ESTree", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -45,9 +45,9 @@ "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" }, "dependencies": { - "@typescript-eslint/scope-manager": "5.36.2", - "@typescript-eslint/types": "5.36.2", - "@typescript-eslint/typescript-estree": "5.36.2", + "@typescript-eslint/scope-manager": "5.37.0", + "@typescript-eslint/types": "5.37.0", + "@typescript-eslint/typescript-estree": "5.37.0", "debug": "^4.3.4" }, "devDependencies": { diff --git a/packages/scope-manager/CHANGELOG.md b/packages/scope-manager/CHANGELOG.md index fe113e082dff..37518a9cc39f 100644 --- a/packages/scope-manager/CHANGELOG.md +++ b/packages/scope-manager/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + +**Note:** Version bump only for package @typescript-eslint/scope-manager + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) diff --git a/packages/scope-manager/package.json b/packages/scope-manager/package.json index c77c31d43170..d171dd3335c2 100644 --- a/packages/scope-manager/package.json +++ b/packages/scope-manager/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/scope-manager", - "version": "5.36.2", + "version": "5.37.0", "description": "TypeScript scope analyser for ESLint", "keywords": [ "eslint", @@ -38,12 +38,12 @@ "typecheck": "cd ../../ && nx typecheck @typescript-eslint/scope-manager" }, "dependencies": { - "@typescript-eslint/types": "5.36.2", - "@typescript-eslint/visitor-keys": "5.36.2" + "@typescript-eslint/types": "5.37.0", + "@typescript-eslint/visitor-keys": "5.37.0" }, "devDependencies": { "@types/glob": "*", - "@typescript-eslint/typescript-estree": "5.36.2", + "@typescript-eslint/typescript-estree": "5.37.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/packages/shared-fixtures/CHANGELOG.md b/packages/shared-fixtures/CHANGELOG.md index a9d688b023c3..c580d4d70d06 100644 --- a/packages/shared-fixtures/CHANGELOG.md +++ b/packages/shared-fixtures/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + +**Note:** Version bump only for package @typescript-eslint/shared-fixtures + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) diff --git a/packages/shared-fixtures/package.json b/packages/shared-fixtures/package.json index f8da2334fde0..6f7be78deaf4 100644 --- a/packages/shared-fixtures/package.json +++ b/packages/shared-fixtures/package.json @@ -1,5 +1,5 @@ { "name": "@typescript-eslint/shared-fixtures", - "version": "5.36.2", + "version": "5.37.0", "private": true } diff --git a/packages/type-utils/CHANGELOG.md b/packages/type-utils/CHANGELOG.md index 5155902ceef3..8d6d60b87f48 100644 --- a/packages/type-utils/CHANGELOG.md +++ b/packages/type-utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + +**Note:** Version bump only for package @typescript-eslint/type-utils + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) **Note:** Version bump only for package @typescript-eslint/type-utils diff --git a/packages/type-utils/package.json b/packages/type-utils/package.json index 8fcf23de2fe2..690d37528938 100644 --- a/packages/type-utils/package.json +++ b/packages/type-utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/type-utils", - "version": "5.36.2", + "version": "5.37.0", "description": "Type utilities for working with TypeScript + ESLint together", "keywords": [ "eslint", @@ -39,13 +39,13 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/typescript-estree": "5.36.2", - "@typescript-eslint/utils": "5.36.2", + "@typescript-eslint/typescript-estree": "5.37.0", + "@typescript-eslint/utils": "5.37.0", "debug": "^4.3.4", "tsutils": "^3.21.0" }, "devDependencies": { - "@typescript-eslint/parser": "5.36.2", + "@typescript-eslint/parser": "5.37.0", "typescript": "*" }, "peerDependencies": { diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index ffcc8850a023..8ef5d32144c8 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + +**Note:** Version bump only for package @typescript-eslint/types + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) **Note:** Version bump only for package @typescript-eslint/types diff --git a/packages/types/package.json b/packages/types/package.json index 4d38fddeaa56..3141d18e7b34 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/types", - "version": "5.36.2", + "version": "5.37.0", "description": "Types for the TypeScript-ESTree AST spec", "keywords": [ "eslint", diff --git a/packages/typescript-estree/CHANGELOG.md b/packages/typescript-estree/CHANGELOG.md index 243d67fb16b2..1a0676ea4794 100644 --- a/packages/typescript-estree/CHANGELOG.md +++ b/packages/typescript-estree/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + +**Note:** Version bump only for package @typescript-eslint/typescript-estree + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) diff --git a/packages/typescript-estree/package.json b/packages/typescript-estree/package.json index 764f01df1a3f..986c0dae6ccc 100644 --- a/packages/typescript-estree/package.json +++ b/packages/typescript-estree/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/typescript-estree", - "version": "5.36.2", + "version": "5.37.0", "description": "A parser that converts TypeScript source code into an ESTree compatible form", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -42,8 +42,8 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/types": "5.36.2", - "@typescript-eslint/visitor-keys": "5.36.2", + "@typescript-eslint/types": "5.37.0", + "@typescript-eslint/visitor-keys": "5.37.0", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -59,7 +59,7 @@ "@types/is-glob": "*", "@types/semver": "*", "@types/tmp": "*", - "@typescript-eslint/shared-fixtures": "5.36.2", + "@typescript-eslint/shared-fixtures": "5.37.0", "glob": "*", "jest-specific-snapshot": "*", "make-dir": "*", diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index f37405a8be0e..ba5b890570e2 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + +**Note:** Version bump only for package @typescript-eslint/utils + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) **Note:** Version bump only for package @typescript-eslint/utils diff --git a/packages/utils/package.json b/packages/utils/package.json index edaca3a62e13..5650063caec6 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/utils", - "version": "5.36.2", + "version": "5.37.0", "description": "Utilities for working with TypeScript + ESLint together", "keywords": [ "eslint", @@ -40,9 +40,9 @@ }, "dependencies": { "@types/json-schema": "^7.0.9", - "@typescript-eslint/scope-manager": "5.36.2", - "@typescript-eslint/types": "5.36.2", - "@typescript-eslint/typescript-estree": "5.36.2", + "@typescript-eslint/scope-manager": "5.37.0", + "@typescript-eslint/types": "5.37.0", + "@typescript-eslint/typescript-estree": "5.37.0", "eslint-scope": "^5.1.1", "eslint-utils": "^3.0.0" }, diff --git a/packages/visitor-keys/CHANGELOG.md b/packages/visitor-keys/CHANGELOG.md index e413a4a3a729..c1f9b6d7261e 100644 --- a/packages/visitor-keys/CHANGELOG.md +++ b/packages/visitor-keys/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + +**Note:** Version bump only for package @typescript-eslint/visitor-keys + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) **Note:** Version bump only for package @typescript-eslint/visitor-keys diff --git a/packages/visitor-keys/package.json b/packages/visitor-keys/package.json index 24f05bfbad83..fa2c98fe0fbf 100644 --- a/packages/visitor-keys/package.json +++ b/packages/visitor-keys/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/visitor-keys", - "version": "5.36.2", + "version": "5.37.0", "description": "Visitor keys used to help traverse the TypeScript-ESTree AST", "keywords": [ "eslint", @@ -39,7 +39,7 @@ "typecheck": "tsc -p tsconfig.json --noEmit" }, "dependencies": { - "@typescript-eslint/types": "5.36.2", + "@typescript-eslint/types": "5.37.0", "eslint-visitor-keys": "^3.3.0" }, "devDependencies": { diff --git a/packages/website-eslint/CHANGELOG.md b/packages/website-eslint/CHANGELOG.md index 010e9e55f425..51e3c2dc9206 100644 --- a/packages/website-eslint/CHANGELOG.md +++ b/packages/website-eslint/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + +**Note:** Version bump only for package @typescript-eslint/website-eslint + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) **Note:** Version bump only for package @typescript-eslint/website-eslint diff --git a/packages/website-eslint/package.json b/packages/website-eslint/package.json index 35180ac187ad..a0e53359f15d 100644 --- a/packages/website-eslint/package.json +++ b/packages/website-eslint/package.json @@ -1,6 +1,6 @@ { "name": "@typescript-eslint/website-eslint", - "version": "5.36.2", + "version": "5.37.0", "private": true, "description": "ESLint which works in browsers.", "engines": { @@ -16,19 +16,19 @@ "format": "prettier --write \"./**/*.{ts,mts,cts,tsx,js,mjs,cjs,jsx,json,md,css}\" --ignore-path ../../.prettierignore" }, "dependencies": { - "@typescript-eslint/types": "5.36.2", - "@typescript-eslint/utils": "5.36.2" + "@typescript-eslint/types": "5.37.0", + "@typescript-eslint/utils": "5.37.0" }, "devDependencies": { "@rollup/plugin-commonjs": "^22.0.0", "@rollup/plugin-json": "^4.1.0", "@rollup/plugin-node-resolve": "^13.3.0", "@rollup/pluginutils": "^4.2.1", - "@typescript-eslint/eslint-plugin": "5.36.2", - "@typescript-eslint/parser": "5.36.2", - "@typescript-eslint/scope-manager": "5.36.2", - "@typescript-eslint/typescript-estree": "5.36.2", - "@typescript-eslint/visitor-keys": "5.36.2", + "@typescript-eslint/eslint-plugin": "5.37.0", + "@typescript-eslint/parser": "5.37.0", + "@typescript-eslint/scope-manager": "5.37.0", + "@typescript-eslint/typescript-estree": "5.37.0", + "@typescript-eslint/visitor-keys": "5.37.0", "eslint": "*", "rollup": "^2.75.4", "rollup-plugin-terser": "^7.0.2", diff --git a/packages/website/CHANGELOG.md b/packages/website/CHANGELOG.md index f3076d260646..69fd3f641139 100644 --- a/packages/website/CHANGELOG.md +++ b/packages/website/CHANGELOG.md @@ -3,6 +3,22 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.37.0](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.2...v5.37.0) (2022-09-12) + + +### Bug Fixes + +* **website:** Use extended base rule name from file's meta ([#5621](https://github.com/typescript-eslint/typescript-eslint/issues/5621)) ([7fd2f89](https://github.com/typescript-eslint/typescript-eslint/commit/7fd2f89ae732ca12ec83fad278362032473ff3ca)) + + +### Features + +* **docs:** always expanding collapsible sidebar menus under docs ([#5608](https://github.com/typescript-eslint/typescript-eslint/issues/5608)) ([8176fb1](https://github.com/typescript-eslint/typescript-eslint/commit/8176fb15299943cbf20385eb0ea7ba877e193285)) + + + + + ## [5.36.2](https://github.com/typescript-eslint/typescript-eslint/compare/v5.36.1...v5.36.2) (2022-09-05) **Note:** Version bump only for package website diff --git a/packages/website/package.json b/packages/website/package.json index 6458848f1dc5..e31cb6ec32a3 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -1,6 +1,6 @@ { "name": "website", - "version": "5.36.2", + "version": "5.37.0", "private": true, "scripts": { "build": "docusaurus build", @@ -20,8 +20,8 @@ "@docusaurus/remark-plugin-npm2yarn": "~2.0.1", "@docusaurus/theme-common": "~2.0.1", "@mdx-js/react": "1.6.22", - "@typescript-eslint/parser": "5.36.2", - "@typescript-eslint/website-eslint": "5.36.2", + "@typescript-eslint/parser": "5.37.0", + "@typescript-eslint/website-eslint": "5.37.0", "clsx": "^1.1.1", "eslint": "*", "json-schema": "^0.4.0", @@ -41,7 +41,7 @@ "@types/react": "^18.0.9", "@types/react-helmet": "^6.1.5", "@types/react-router-dom": "^5.3.3", - "@typescript-eslint/eslint-plugin": "5.36.2", + "@typescript-eslint/eslint-plugin": "5.37.0", "copy-webpack-plugin": "^11.0.0", "cypress": "8.3.0", "cypress-axe": "^0.14.0", pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy