Skip to content

Commit 9974778

Browse files
authored
Merge pull request #3 from primer/metadata
Add type metadata to no-deprecated-colors rule
2 parents 77e4215 + 24bde9f commit 9974778

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/empty-toes-care.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-plugin-primer-react": patch
3+
---
4+
5+
Add type metadata to no-deprecated-colors rule

src/rules/no-deprecated-colors.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ const styledSystemColorProps = ['color', 'bg', 'backgroundColor', 'borderColor',
44

55
module.exports = {
66
meta: {
7+
type: 'suggestion',
78
fixable: 'code'
89
},
910
create(context) {

0 commit comments

Comments
 (0)