[pkg/js_shared] address a few analysis issues

Change-Id: I9ce9c66fa24bf58172b0fb2545c8bd745bc2fe68
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/249549
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
This commit is contained in:
Devon Carew 2022-06-23 23:34:18 +00:00 committed by Commit Bot
parent e045f7cd3e
commit 93951169ba
4 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1 @@
include: package:lints/core.yaml

View file

@ -131,7 +131,9 @@ abstract class Recipe {
static const int _at = 0x40;
static const String _atString = '@';
// ignore: unused_field
static const int _uppercaseA = 0x41;
// ignore: unused_field
static const int _uppercaseZ = 0x5A;
static const int _leftBracket = 0x5B;
@ -148,6 +150,7 @@ abstract class Recipe {
static const String _backtickString = '`';
static const int _lowercaseA = 0x61;
// ignore: unused_field
static const int _lowercaseZ = 0x7A;
static const int _leftBrace = 0x7B;

View file

@ -9,3 +9,4 @@ environment:
dev_dependencies:
_fe_analyzer_shared: any
expect: any
lints: any

View file

@ -131,7 +131,9 @@ abstract class Recipe {
static const int _at = 0x40;
static const String _atString = '@';
// ignore: unused_field
static const int _uppercaseA = 0x41;
// ignore: unused_field
static const int _uppercaseZ = 0x5A;
static const int _leftBracket = 0x5B;
@ -148,6 +150,7 @@ abstract class Recipe {
static const String _backtickString = '`';
static const int _lowercaseA = 0x61;
// ignore: unused_field
static const int _lowercaseZ = 0x7A;
static const int _leftBrace = 0x7B;