diff --git a/sdk/apimanagement/api-management-custom-widgets-scaffolder/eslint.config.mjs b/sdk/apimanagement/api-management-custom-widgets-scaffolder/eslint.config.mjs new file mode 100644 index 000000000000..c75d40888727 --- /dev/null +++ b/sdk/apimanagement/api-management-custom-widgets-scaffolder/eslint.config.mjs @@ -0,0 +1,13 @@ +import azsdkEslint from "@azure/eslint-plugin-azure-sdk"; + +export default azsdkEslint.config([ + { + files: ["src/bin/execute.ts"], + rules: { + "n/no-process-exit": "off", + "n/hashbang": "off", + // shebang needs to come first + "@azure/azure-sdk/github-source-headers": "off", + }, + }, +]); diff --git a/sdk/formrecognizer/ai-form-recognizer/eslint.config.mjs b/sdk/formrecognizer/ai-form-recognizer/eslint.config.mjs new file mode 100644 index 000000000000..f8c54b5c37d8 --- /dev/null +++ b/sdk/formrecognizer/ai-form-recognizer/eslint.config.mjs @@ -0,0 +1,13 @@ +import azsdkEslint from "@azure/eslint-plugin-azure-sdk"; + +export default azsdkEslint.config([ + { + files: ["src/bin/gen-model.ts"], + rules: { + "n/no-process-exit": "off", + "n/hashbang": "off", + // shebang needs to come first + "@azure/azure-sdk/github-source-headers": "off", + }, + }, +]); diff --git a/sdk/playwrighttesting/create-microsoft-playwright-testing/eslint.config.mjs b/sdk/playwrighttesting/create-microsoft-playwright-testing/eslint.config.mjs index 4c8a7bd396dd..d2eaf0a185a1 100644 --- a/sdk/playwrighttesting/create-microsoft-playwright-testing/eslint.config.mjs +++ b/sdk/playwrighttesting/create-microsoft-playwright-testing/eslint.config.mjs @@ -1,4 +1,13 @@ import azsdkEslint from "@azure/eslint-plugin-azure-sdk"; export default azsdkEslint.config([ + { + // shebang needs to come first + files: ["src/index.ts"], + rules: { + "n/no-process-exit": "off", + "n/hashbang": "off", + "@azure/azure-sdk/github-source-headers": "off", + }, + }, ]);