Skip to content

Commit

Permalink
feat(eslint-plugin-experience): restrict underscore prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Oct 18, 2023
1 parent 65295ce commit 2b72882
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ module.exports = {
match: false,
},
},
{
selector: 'classProperty',
format: ['strictCamelCase'],
filter: {
regex: '[API|CVC|HTML|axisX|axisY]',
match: false,
},
},
],
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,14 @@ module.exports = {
match: false,
},
},
{
selector: 'classProperty',
format: ['strictCamelCase'],
filter: {
regex: '[API|CVC|HTML|axisX|axisY]',
match: false,
},
},
],
},
},
Expand Down

0 comments on commit 2b72882

Please sign in to comment.