diff --git a/.changeset/orange-tools-begin.md b/.changeset/orange-tools-begin.md new file mode 100644 index 00000000..9995cb76 --- /dev/null +++ b/.changeset/orange-tools-begin.md @@ -0,0 +1,5 @@ +--- +'eslint-plugin-primer-react': minor +--- + +Updates no-system-props rule to always exclude the 'variant' prop no matter which component. diff --git a/src/rules/__tests__/no-system-props.test.js b/src/rules/__tests__/no-system-props.test.js index 56ebb5a6..5053fe05 100644 --- a/src/rules/__tests__/no-system-props.test.js +++ b/src/rules/__tests__/no-system-props.test.js @@ -18,7 +18,8 @@ ruleTester.run('no-system-props', rule, { `import {Button} from '@primer/components';