Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Suggested rules #2

Merged
merged 3 commits into from
Aug 9, 2019
Merged

Suggested rules #2

merged 3 commits into from
Aug 9, 2019

Conversation

rezi-darren-larson
Copy link
Contributor

Initial take on default rules that we should use. Up for discussion on what the team would like to use.

  • updated files to only use the 1.8.0 library; this will prevent issues when the library gets update. This is recommended when continuous builds or presubmit checks are in place.

  • Changed severity levels on a handful of rules to treat as errors and others as warnings to highlight issues (over the default info). This will help with standardizing the code. In theory, rules we decide to implement should all be set to errors if not follow, but this is an item we need to discuss as a team.

- Set pubspec to use 1.8.0
- Set yaml file to use the only 1.8.0
- added extra rules not default to pedantic 1.8.0
- set a handful of rules to be ignored
- changed default severity levels
@rezi-darren-larson
Copy link
Contributor Author

Looking to have a discussion with the team before any of this is merged.

- Reverted pedantic version back to 1.7.0 as min to prevent compile error
- set all rules severity level to “error” to enforce standards
Copy link

@jlalvarez18 jlalvarez18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jlalvarez18 jlalvarez18 merged commit 7014071 into master Aug 9, 2019
@jlalvarez18 jlalvarez18 deleted the suggested_rules branch August 9, 2019 16:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants