From 6cf27051a9eaa47e6c78af6264399e4518f2996e Mon Sep 17 00:00:00 2001 From: Jesse Attas Date: Thu, 19 Sep 2024 17:23:15 -0500 Subject: [PATCH] Change files --- ...onfig-angular-225ce3da-b49d-4df7-ace0-b99abb8fbcb0.json | 7 +++++++ ...ig-javascript-4569f2fb-83ed-4863-9f95-96f907ede343.json | 7 +++++++ ...ig-typescript-32797652-8b30-47bc-b259-dfe598d5a4e3.json | 7 +++++++ 3 files changed, 21 insertions(+) create mode 100644 change/@ni-eslint-config-angular-225ce3da-b49d-4df7-ace0-b99abb8fbcb0.json create mode 100644 change/@ni-eslint-config-javascript-4569f2fb-83ed-4863-9f95-96f907ede343.json create mode 100644 change/@ni-eslint-config-typescript-32797652-8b30-47bc-b259-dfe598d5a4e3.json diff --git a/change/@ni-eslint-config-angular-225ce3da-b49d-4df7-ace0-b99abb8fbcb0.json b/change/@ni-eslint-config-angular-225ce3da-b49d-4df7-ace0-b99abb8fbcb0.json new file mode 100644 index 0000000..225dad5 --- /dev/null +++ b/change/@ni-eslint-config-angular-225ce3da-b49d-4df7-ace0-b99abb8fbcb0.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "Rule changes for asynchronous code:\\n 1. Functions marked `async` must now include an `await`. The rule `'@typescript-eslint/require-await'` changed from `'off'` to `'error'`.\\n 2. Test code must now correctly handle promises. The rule `'@typescript-eslint/no-floating-promises'` changed from `'off'` to `'error'`.", + "packageName": "@ni/eslint-config-angular", + "email": "jattasNI@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/change/@ni-eslint-config-javascript-4569f2fb-83ed-4863-9f95-96f907ede343.json b/change/@ni-eslint-config-javascript-4569f2fb-83ed-4863-9f95-96f907ede343.json new file mode 100644 index 0000000..a13eb3a --- /dev/null +++ b/change/@ni-eslint-config-javascript-4569f2fb-83ed-4863-9f95-96f907ede343.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "Rule changes for asynchronous code:\\n 1. Functions marked `async` must now include an `await`. The rule `'require-await'` changed from `'off'` to `'error'`.\\n 2. It is now acceptable for a function to return an awaited promise. The rule `'no-return-await'` changed from `'error'` to `'off'`.", + "packageName": "@ni/eslint-config-javascript", + "email": "jattasNI@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/change/@ni-eslint-config-typescript-32797652-8b30-47bc-b259-dfe598d5a4e3.json b/change/@ni-eslint-config-typescript-32797652-8b30-47bc-b259-dfe598d5a4e3.json new file mode 100644 index 0000000..31f3957 --- /dev/null +++ b/change/@ni-eslint-config-typescript-32797652-8b30-47bc-b259-dfe598d5a4e3.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "Rule changes for asynchronous code:\\n 1. Functions marked `async` must now include an `await`. The rule `'@typescript-eslint/require-await'` changed from `'off'` to `'error'`.", + "packageName": "@ni/eslint-config-typescript", + "email": "jattasNI@users.noreply.github.com", + "dependentChangeType": "patch" +}