diff --git a/change/@fluentui-eslint-plugin-4cb91116-336f-417b-b9d2-7f4cf3911568.json b/change/@fluentui-eslint-plugin-4cb91116-336f-417b-b9d2-7f4cf3911568.json new file mode 100644 index 00000000000000..3ffe347f770c57 --- /dev/null +++ b/change/@fluentui-eslint-plugin-4cb91116-336f-417b-b9d2-7f4cf3911568.json @@ -0,0 +1,7 @@ +{ + "type": "minor", + "comment": "feat: enables jsxTags on comment for react config", + "packageName": "@fluentui/eslint-plugin", + "email": "bernardo.sunderhus@gmail.com", + "dependentChangeType": "none" +} diff --git a/packages/eslint-plugin/src/configs/react.js b/packages/eslint-plugin/src/configs/react.js index 3a45f92585c146..6f6f305ebfe43e 100644 --- a/packages/eslint-plugin/src/configs/react.js +++ b/packages/eslint-plugin/src/configs/react.js @@ -18,6 +18,12 @@ const v9PackageDeps = Object.keys( module.exports = { extends: [path.join(__dirname, 'base'), path.join(__dirname, 'react-config')], rules: { + 'jsdoc/check-tag-names': [ + 'error', + { + jsxTags: true, + }, + ], '@fluentui/ban-instanceof-html-element': ['error'], '@fluentui/no-context-default-value': [ 'error',