Skip to content

pubspec: detect two identical keys #191

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
guillermooo opened this issue Feb 27, 2015 · 3 comments
Closed

pubspec: detect two identical keys #191

guillermooo opened this issue Feb 27, 2015 · 3 comments

Comments

@guillermooo
Copy link

I think pubspec-related linting is going to be handled by dart_style. If so, it could detect cases like this:

name: dart_sample_console
version: 0.0.1
description: A minimal command-line application.
environment:
  sdk: '>=1.0.0 <2.0.0'
dependencies:
  semver: '>=1.0.0 <2.0.0'
  semver: '>=0.1.0 <1.0.0'
dev_dependencies:
  unittest: any

However, I'm not sure how dart_style is intended to run (on demand, constantly in the background...). In this particular case, it would be useful if the user got instant feedback, as the analysis server provides for .dart files.

@Fox32
Copy link

Fox32 commented Feb 27, 2015

I think you mean the linter: https://github.com/dart-lang/linter

@munificent
Copy link
Member

@Fox32 is correct. Can you re-file this bug there?

@guillermooo
Copy link
Author

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants