Skip to content

Commit

Permalink
add unused imports eslint plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
sitek94 committed Nov 25, 2023
1 parent 850376b commit ebc2bfb
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 4 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@
- [x] update docker compose
- [x] create CI workflow (lint + build only)
- [x] add simple tests to CI workflow
- [x] manually deploy to Fly.io
- [x] create CI deployment workflow to Fly.io
- [x] manually deploy to fly.io
- [x] create CI deployment workflow to fly.io
- [x] improve CI deployment workflow to trigger only for changed apps
- [ ] run typecheck, lint, test and build in parallel
- [ ] setup tailwindcss in remix
- [ ] create shared ui lib
- [ ] setup Storybook in shared ui lib
- [ ] (?) build and deploy Storybook to fly.io
- [x] set unified path aliases for all apps and shared libs (done for `apps/`, because `libs/` probably don't need them anyway)
- [ ] add unused imports plugin to eslint
- [x] add unused imports plugin to eslint
- [ ] research if it's worth using `turbo`

## References

Expand Down
2 changes: 1 addition & 1 deletion libs/eslint-config/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'import'],
plugins: ['@typescript-eslint', 'import', 'unused-imports'],
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:import/recommended',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^6.2.0",
"eslint-plugin-unused-imports": "^3.0.0",
"prettier": "^3.1.0",
"typescript": "^5.3.2"
},
Expand Down
23 changes: 23 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ebc2bfb

Please sign in to comment.