Skip to content

Commit

Permalink
chore(eslint): add primer_react_ to list of allowed camelcase names (#…
Browse files Browse the repository at this point in the history
…4615)

Co-authored-by: Josh Black <joshblack@users.noreply.github.com>
  • Loading branch information
joshblack and joshblack authored May 21, 2024
1 parent 9665abf commit 68e6326
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,11 @@ module.exports = {
camelcase: [
'error',
{
allow: ['dark_dimmed'],
allow: [
'dark_dimmed',
// Allow feature flag names that start with `primer_react_`
'^primer_react_',
],
},
],
'primer-react/no-deprecated-colors': ['warn', {checkAllStrings: true}],
Expand Down

0 comments on commit 68e6326

Please sign in to comment.