Skip to content

Commit

Permalink
Update rules to have unique names
Browse files Browse the repository at this point in the history
  • Loading branch information
narin committed Mar 14, 2024
1 parent 48cd6fc commit 84e3980
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/linting/index.js
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
module.exports = {
plugins: ['deprecate'],
rules: {
'deprecate/import': [
'deprecate/import-va-button': [
'warn',
{
name: 'VAButton',
module: 'components',
use: 'Button from @department-of-veterans-affairs/mobile-component-library',
},
],
'deprecate/import': [
'deprecate/import-click-for-action-link': [
'warn',
{
name: 'ClickForActionLink',
module: 'components',
use: 'Link from @department-of-veterans-affairs/mobile-component-library',
},
],
'deprecate/import': [
'deprecate/import-click-to-call-phone-number': [
'warn',
{
name: 'ClickToCallPhoneNumber',
module: 'components',
use: 'Link from @department-of-veterans-affairs/mobile-component-library',
},
],
'deprecate/import': [
'deprecate/import-attachment-link': [
'warn',
{
name: 'AttachmentLink',
Expand Down

0 comments on commit 84e3980

Please sign in to comment.