Skip to content

Commit

Permalink
- Updated package.json to add linting to the bump-all-packages sc…
Browse files Browse the repository at this point in the history
…ript

- Updated `.eslint-typescript` to add the `react/no-deprecated` as a warning due to the update to eslint
  • Loading branch information
heath-freenome committed Aug 7, 2023
1 parent c829dd0 commit bab797c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc-typescript
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"plugin:react/jsx-runtime"
],
"rules": {
"react/no-deprecated": "warn",
"react/prop-types": 0,
"react/no-find-dom-node": 0,
"react/display-name": 0,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"prepare": "husky install",
"format": "prettier --write .",
"format-check": "prettier --check .",
"bump-all-packages": "echo 'NOTE: Make sure to sanity check the playground locally before commiting changes' && npm update --save && npm install && npm run build && npm run test",
"bump-all-packages": "echo 'NOTE: Make sure to sanity check the playground locally before commiting changes' && npm update --save && npm install && npm run build && npm run test && npm run lint",
"bump-peer-deps": "node scripts/bump-peer-deps.js",
"refresh-node-modules": "rimraf packages/*/node_modules && rimraf node_modules && npm install",
"commit-package-changes": "git add package-lock.json packages/*/package*.json && cross-env CI=skipPrecommit git commit -m 'updated package*.json after versioning' && git push",
Expand Down

0 comments on commit bab797c

Please sign in to comment.