-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EPMGCIP-179: Configure linters #31
Merged
Merged
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
a563a1b
EPMGCIP-179: Install Typescript ESLint plugins, extend existing config
Dzmitry-Yaniuk 65db864
EPMGCIP-179: Adjust config for Prettier, add ignore files for ESLint …
Dzmitry-Yaniuk 6bde603
EPMGCIP-179: Replace ".eslintignore" with "ignorePatterns" due to red…
Dzmitry-Yaniuk 8829cac
EPMGCIP-179: Add some ESLint plugins for better imports management
Dzmitry-Yaniuk 0e5b7f1
EPMGCIP-179: Apply some common rules for using React and TypeScript
Dzmitry-Yaniuk cad5d82
EPMGCIP-179: Include ".idea" and ".vscode" folders into .gitignore
Dzmitry-Yaniuk 7d4e5d4
EPMGCIP-179: Resolve warnings related to incorrect order of object pr…
Dzmitry-Yaniuk 857bc52
EPMGCIP-179: Add aliases to "messages" folder in root level, update u…
Dzmitry-Yaniuk 1fbcba9
EPMGCIP-179: Added Visual Studio settings as ignored files in ".gitig…
Dzmitry-Yaniuk 99eef80
EPMGCIP-179: Adjust basic ruleset for ".eslintrc.json", add small enh…
Dzmitry-Yaniuk 4aed9dd
EPMGCIP-179: Extend max nesting to 2 level in ".eslintrc.json"
Dzmitry-Yaniuk ac08edb
EPMGCIP-179: Add useful ESLint plugins for Jest and React hooks, upda…
Dzmitry-Yaniuk 552bd71
EPMGCIP-179: Add AQA classname for "ImageGallery" root component, upd…
Dzmitry-Yaniuk 690ccef
EPMGCIP-179: Decrease allowed amount of ESLint warnings from 30 to 20
Dzmitry-Yaniuk File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Dzmitry-Yaniuk
What do you think about decreasing warnings to '0'? It was '0' before switching to nextjs, so I guess we can try to continue doing that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea! From my opinion absence of warnings in code is a project good shape indicator.
However, with existing applied rules we get already around 10 warnings, refactoring code in terms of this PR might not be a good idea. Perhaps I can set this limit now to 20 items?
Otherwise code cannot be pushed without bypass option for git commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Totally agree, so let's set the lowest available number for now and I will create additional ticket for reaching 0