File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 22const { getJSXOpeningElementAttribute} = require ( '../utils/get-jsx-opening-element-attribute' )
33const { getJSXOpeningElementName} = require ( '../utils/get-jsx-opening-element-name' )
44
5- const url = require ( '../url' )
6-
75/**
86 * @type {import('eslint').Rule.RuleModule }
97 */
108module . exports = {
119 meta : {
12- type : 'problem ' ,
10+ type : 'suggestion ' ,
1311 docs : {
14- description : 'Avoid using deprecated props from @primer/react' ,
12+ description :
13+ 'Avoid using deprecated `title` prop on `ActionList.Group` component. Use `ActionList.GroupHeading` instead.' ,
1514 recommended : true ,
16- url : url ( module ) ,
15+ url : 'https://primer.style/components/action-list/react/beta#actionlistgroupheading' ,
1716 } ,
18- fixable : true ,
17+ fixable : 'code' ,
1918 schema : [ ] ,
2019 messages : {
2120 titlePropDeprecated : 'The `title` prop is deprecated. Please use `ActionList.GroupHeading` instead.' ,
You can’t perform that action at this time.
0 commit comments