mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-26 12:14:42 +01:00
Add ignores to work around dart-lang/linter#4381 (#2053)
This commit is contained in:
parent
17e3a48639
commit
8802c69337
@ -82,7 +82,10 @@ final class BinaryOperationExpression implements Expression {
|
||||
var right = this.right; // Hack to make analysis work.
|
||||
var rightNeedsParens = switch (right) {
|
||||
BinaryOperationExpression(:var operator) =>
|
||||
// dart-lang/linter#4381
|
||||
// ignore: unnecessary_this
|
||||
operator.precedence <= this.operator.precedence &&
|
||||
// ignore: unnecessary_this
|
||||
!(operator == this.operator && operator.isAssociative),
|
||||
ListExpression(hasBrackets: false, contents: [_, _, ...]) => true,
|
||||
_ => false
|
||||
|
@ -16,7 +16,7 @@ dependencies:
|
||||
charcode: ^1.2.0
|
||||
cli_repl: ^0.2.1
|
||||
collection: ^1.16.0
|
||||
http: ^0.13.3
|
||||
http: ">=0.13.3 <1.0.0"
|
||||
js: ^0.6.3
|
||||
meta: ^1.3.0
|
||||
node_interop: ^2.1.0
|
||||
@ -36,7 +36,7 @@ dependencies:
|
||||
watcher: ^1.0.0
|
||||
|
||||
dev_dependencies:
|
||||
analyzer: ^5.13.0
|
||||
analyzer: ">=5.13.0 <7.0.0"
|
||||
archive: ^3.1.2
|
||||
cli_pkg: ^2.4.4
|
||||
crypto: ^3.0.0
|
||||
|
Loading…
Reference in New Issue
Block a user