Skip to content

Use pkg:lints and pkg:flutter_lints when analyzing code #1881

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

Closed
goderbauer opened this issue May 11, 2021 · 5 comments · Fixed by dart-archive/dart-services#722
Closed

Use pkg:lints and pkg:flutter_lints when analyzing code #1881

goderbauer opened this issue May 11, 2021 · 5 comments · Fixed by dart-archive/dart-services#722
Assignees
Labels
area-dart-services P1 A high priority bug; for example, a single project is unusable or has many test failures
Milestone

Comments

@goderbauer
Copy link

To promote good coding practices and for a consistent experience across the dart ecosystem, dartpad should use the analyzer options defined in the new flutter_lints and lints packages when analyzing Flutter code or pure Dart code, respectively.

/cc @mit-mit @pq @devoncarew

@goderbauer
Copy link
Author

For non-Flutter code I would vote for using recommended.yaml over core.yaml.

@goderbauer
Copy link
Author

There's also a discussion here regarding recommended vs core: dart-archive/lints#18 (comment)

@mit-mit
Copy link
Member

mit-mit commented May 11, 2021

Tracking issue for dart create default: dart-lang/core#739

@mit-mit
Copy link
Member

mit-mit commented May 12, 2021

For Dart code please also use recommended.yaml (dart create has been updated).

@mit-mit
Copy link
Member

mit-mit commented May 31, 2021

Being worked on in dart-archive/dart-services#722

@RedBrogdon RedBrogdon added this to the Backlog milestone Jul 29, 2021
@RedBrogdon RedBrogdon added the P1 A high priority bug; for example, a single project is unusable or has many test failures label Jul 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dart-services P1 A high priority bug; for example, a single project is unusable or has many test failures
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants