Skip to content

Commit

Permalink
Merge pull request #450 from department-of-veterans-affairs/feature/3…
Browse files Browse the repository at this point in the history
…69-narin-snackbar-linting

[Feature] Add 'react-native-toast-notifications' to linter deprecation warnings
  • Loading branch information
narin authored Aug 26, 2024
2 parents a47db2a + 72982ba commit 37a0fca
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@department-of-veterans-affairs/mobile-component-library",
"version": "0.21.1-alpha.21",
"version": "0.21.1-alpha.22",
"description": "VA Design System Mobile Component Library",
"main": "src/index.tsx",
"scripts": {
Expand Down
9 changes: 9 additions & 0 deletions packages/linting/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ module.exports = {
module: 'components',
use: 'LoadingIndicator from @department-of-veterans-affairs/mobile-component-library',
},
{
name: 'showSnackBar',
module: 'utils/common',
use: 'useSnackbar hook from @department-of-veterans-affairs/mobile-component-library',
},
{
nameRegExp: 'react-native-toast-notifications',
use: 'useSnackbar hook from @department-of-veterans-affairs/mobile-component-library',
},
],
},
}
2 changes: 1 addition & 1 deletion packages/linting/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@department-of-veterans-affairs/eslint-config-mobile",
"version": "0.18.0",
"version": "0.18.1-alpha.0",
"description": "VA Design System Mobile ESLint Configuration",
"repository": {
"type": "git",
Expand Down

0 comments on commit 37a0fca

Please sign in to comment.