refractor:prettify all the files of the repo
See original GitHub issueIssue Description
Description
The repo contains many eslint and prettier errors, the command npm run format
prettified all the files. I’m hoping to solve all the eslint errors.
Should I make a PR for this?
The files affected after prettifying were:
modified: .eslintrc.json
modified: .github/ISSUE_TEMPLATE/bug_report.md
modified: .github/ISSUE_TEMPLATE/feature_request.md
modified: .github/feature_request_template.md
modified: .github/pull_request_template.md
modified: CODE_OF_CONDUCT.md
modified: CONTRIBUTING.md
modified: README.md
modified: android/app/src/main/assets/capacitor.config.json
modified: capacitor.config.json
modified: package-lock.json
modified: package.json
modified: public/manifest.json
modified: src/App.js
modified: src/App.test.js
modified: src/Routes.js
modified: src/actions/accountActions.js
modified: src/components/Button/ButtonComponent.js
modified: src/components/auth/Auth.js
modified: src/components/courseCard/courseCard1.js
modified: src/components/courseDetails/schedule.js
modified: src/components/courseDetails/scheduleDetails.js
modified: src/components/wishlistCard/index.js
modified: src/config/index.js
modified: src/constants/index.js
modified: src/context/SettingsContext.js
modified: src/index.js
modified: src/layouts/MainLayout/BottomNav.js
modified: src/layouts/MainLayout/TopBar/Account.js
modified: src/layouts/MainLayout/TopBar/HeaderItems.js
modified: src/layouts/MainLayout/TopBar/Item.js
modified: src/layouts/MainLayout/TopBar/index.js
modified: src/layouts/MainLayout/index.js
modified: src/pages/CoursePageViewWithVideo/index.js
modified: src/pages/HomePage.js
modified: src/pages/HomeView/Hero.js
modified: src/pages/HomeView/NonHero.js
modified: src/pages/HomeView/index.js
modified: src/pages/PersonalPage.js
modified: src/pages/ProfilePage.js
modified: src/pages/WishlistPage.js
modified: src/pages/wishListView/index.js
modified: src/reducers/accountReducer.js
modified: src/reducers/index.js
modified: src/reportWebVitals.js
modified: src/services/authService.js
modified: src/setupTests.js
modified: src/store/index.js
modified: src/theme/index.js
modified: src/theme/shadows.js
modified: src/theme/typography.js
modified: src/utils/analytics.js
modified: src/utils/axios.js
modified: src/utils/bytesToSize.js
modified: src/utils/getInitials.js
modified: src/utils/settings.js
modified: src/utils/wait.js
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to Format All Files in a Directory with Prettier
If you want to change Prettier's configuration, put a .prettierrc file in the root folder of your project, and then run the prettier...
Read more >VS Code extension to format all files in workspace - GitHub
Format Files is a VS Code extension that formats all files in the current workspace, selected folder or glob. VS Code Marketplace Downloads...
Read more >How to Refactor Code in Visual Studio Code - Stepsize
This article looks at how you can refactor your code using Visual ... To enable the Prettier formatter as our default formatter for...
Read more >How to configure prettier to automatically format your code
Site: https:// prettier.io/ prettier is a code formatter for ... and how to make it automatically apply to all files when they're committed....
Read more >Reformat code | IntelliJ IDEA Documentation - JetBrains
From the All file types list, select the types of files in which you want to reformat code. Select Whole file or Changed...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It’s already there in this repo also, I only ran the command, seems like no one has used it till now. So asking to create a PR for the same.
was saying the same in #17