forked from opendatahub-io/odh-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve frontend lint settings (opendatahub-io#969)
* update config of eslint, webpack, ts, jest and dependencies * run lint fix command to get rid of most linting errors * manually get rid of all the warnings and errors that cannot be auto fixed * manually add ~ alias to all previous absolute imports in frontend * add rule to prevent else return and absolute import from src folder * another round of lint --fix * move mock files and change imports * add no-console rule and disable console as needed in code * add restriction to import from api and change the rules of using absolute path. add no-param-reassign * add order rule and run lint fix command * remove baseUrl from tsconfig and make corresponding changes to eslintrc --------- Co-authored-by: Andrew Ballantyne <8126518+andrewballantyne@users.noreply.github.com>
- Loading branch information
1 parent
489e6ef
commit 62faedf
Showing
365 changed files
with
4,512 additions
and
2,621 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.