Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
774e8c18
Unverified
Commit
774e8c18
authored
Jan 15, 2019
by
Dan Field
Committed by
GitHub
Jan 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove ignore_for_file lints (#26545)
* remove ignore_for_file lints * update comments * remove example
parent
025d04ad
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
gen_date_localizations.dart
dev/tools/gen_date_localizations.dart
+6
-1
date_localizations.dart
...lutter_localizations/lib/src/l10n/date_localizations.dart
+5
-2
update_packages.dart
packages/flutter_tools/lib/src/commands/update_packages.dart
+0
-8
No files found.
dev/tools/gen_date_localizations.dart
View file @
774e8c18
...
...
@@ -81,9 +81,11 @@ Future<void> main(List<String> rawArgs) async {
// To regenerate run (omit --overwrite to print to console instead of the file):
// dart --enable-asserts dev/tools/gen_date_localizations.dart --overwrite
// ignore_for_file: public_member_api_docs
'''
);
buffer
.
writeln
(
'''
/// The subset of date symbols supported by the intl package which are also
/// supported by flutter_localizations.'''
);
buffer
.
writeln
(
'const Map<String, dynamic> dateSymbols = <String, dynamic> {'
);
symbolFiles
.
forEach
((
String
locale
,
File
data
)
{
if
(
materialLocales
.
contains
(
locale
))
...
...
@@ -93,6 +95,9 @@ Future<void> main(List<String> rawArgs) async {
// Code that uses datePatterns expects it to contain values of type
// Map<String, String> not Map<String, dynamic>.
buffer
.
writeln
(
'''
/// The subset of date patterns supported by the intl package which are also
/// supported by flutter_localizations.'''
);
buffer
.
writeln
(
'const Map<String, Map<String, String>> datePatterns = <String, Map<String, String>> {'
);
patternFiles
.
forEach
((
String
locale
,
File
data
)
{
if
(
materialLocales
.
contains
(
locale
))
{
...
...
packages/flutter_localizations/lib/src/l10n/date_localizations.dart
View file @
774e8c18
...
...
@@ -6,8 +6,8 @@
// To regenerate run (omit --overwrite to print to console instead of the file):
// dart --enable-asserts dev/tools/gen_date_localizations.dart --overwrite
//
ignore_for_file: public_member_api_docs
//
/ The subset of date symbols supported by the intl package which are also
/// supported by flutter_localizations.
const
Map
<
String
,
dynamic
>
dateSymbols
=
<
String
,
dynamic
>{
'ar'
:
<
String
,
dynamic
>{
'NAME'
:
r''
'ar'''
,
...
...
@@ -11356,6 +11356,9 @@ const Map<String, dynamic> dateSymbols = <String, dynamic>{
],
},
};
/// The subset of date patterns supported by the intl package which are also
/// supported by flutter_localizations.
const
Map
<
String
,
Map
<
String
,
String
>>
datePatterns
=
<
String
,
Map
<
String
,
String
>>{
'ar'
:
<
String
,
String
>{
...
...
packages/flutter_tools/lib/src/commands/update_packages.dart
View file @
774e8c18
...
...
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// ignore_for_file: flutter_style_todos
import
'dart:async'
;
import
'dart:collection'
;
...
...
@@ -22,12 +20,6 @@ import '../runner/flutter_command.dart';
/// Map from package name to package version, used to artificially pin a pub
/// package version in cases when upgrading to the latest breaks Flutter.
///
/// Example:
///
/// ```
/// 'linter': '0.1.35', // TODO(yjbanov): https://github.com/dart-lang/linter/issues/824
/// ```
const
Map
<
String
,
String
>
_kManuallyPinnedDependencies
=
<
String
,
String
>{
// Add pinned packages here.
'flutter_gallery_assets'
:
'0.1.6'
,
// See //examples/flutter_gallery/pubspec.yaml
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment