sass / linter

An experimental Sass linter written using the Dart Sass AST
MIT License
39 stars 6 forks source link

Support Dart SDK >= 2.0.0 #18

Closed mik01aj closed 6 years ago

mik01aj commented 6 years ago

I tried running the linter, but it fails on my machine:

~/github/linter/$ pub get
Resolving dependencies... 
The current Dart SDK version is 2.1.0.
Because sass_linter requires SDK version >=1.22.0 <2.0.0, version solving failed.

I wonder, maybe this needs just a config change in pubspec.yaml?

(FWIW, I tried this, and then it says: Because sass_linter depends on test >=0.12.0-beta.3 <1.3.0 which requires SDK version >=1.8.0 <2.0.0-∞, version solving failed. - so it looks like there's more work to be done.)

srawlins commented 6 years ago

Hi @mik01aj , you're exactly right. Both test and the SDK's versions should be bumped in pubspec.yaml.