Skip to content

Commit 9395116

Browse files
devoncarewCommit Bot
authored and
Commit Bot
committed
[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 <[email protected]> Commit-Queue: Devon Carew <[email protected]>
1 parent e045f7c commit 9395116

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

pkg/js_shared/analysis_options.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include: package:lints/core.yaml

pkg/js_shared/lib/synced/recipe_syntax.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ abstract class Recipe {
131131
static const int _at = 0x40;
132132
static const String _atString = '@';
133133

134+
// ignore: unused_field
134135
static const int _uppercaseA = 0x41;
136+
// ignore: unused_field
135137
static const int _uppercaseZ = 0x5A;
136138

137139
static const int _leftBracket = 0x5B;
@@ -148,6 +150,7 @@ abstract class Recipe {
148150
static const String _backtickString = '`';
149151

150152
static const int _lowercaseA = 0x61;
153+
// ignore: unused_field
151154
static const int _lowercaseZ = 0x7A;
152155

153156
static const int _leftBrace = 0x7B;

pkg/js_shared/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ environment:
99
dev_dependencies:
1010
_fe_analyzer_shared: any
1111
expect: any
12+
lints: any

sdk/lib/_internal/js_shared/lib/synced/recipe_syntax.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,9 @@ abstract class Recipe {
131131
static const int _at = 0x40;
132132
static const String _atString = '@';
133133

134+
// ignore: unused_field
134135
static const int _uppercaseA = 0x41;
136+
// ignore: unused_field
135137
static const int _uppercaseZ = 0x5A;
136138

137139
static const int _leftBracket = 0x5B;
@@ -148,6 +150,7 @@ abstract class Recipe {
148150
static const String _backtickString = '`';
149151

150152
static const int _lowercaseA = 0x61;
153+
// ignore: unused_field
151154
static const int _lowercaseZ = 0x7A;
152155

153156
static const int _leftBrace = 0x7B;

0 commit comments

Comments
 (0)