Skip to content

[infra] bump lint packages #2359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkgs/code_assets/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:

dev_dependencies:
custom_lint: ^0.7.5
dart_flutter_team_lints: ^3.5.1
dart_flutter_team_lints: ^3.5.2
json_schema: ^5.2.0 # May only be used in tool/ and test/json_schema/.
repo_lint_rules:
path: ../repo_lint_rules/
Expand Down
2 changes: 1 addition & 1 deletion pkgs/data_assets/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies:

dev_dependencies:
custom_lint: ^0.7.5
dart_flutter_team_lints: ^3.5.1
dart_flutter_team_lints: ^3.5.2
json_schema: ^5.2.0 # May only be used in tool/ and test/json_schema/.
repo_lint_rules:
path: ../repo_lint_rules/
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ffi/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ environment:
sdk: '>=3.7.0 <4.0.0'

dev_dependencies:
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.5.2
test: ^1.21.2
2 changes: 1 addition & 1 deletion pkgs/ffigen/example/c_json/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ dependencies:
dev_dependencies:
ffigen:
path: '../../'
lints: ^2.0.1
lints: ^6.0.0
2 changes: 1 addition & 1 deletion pkgs/ffigen/example/ffinative/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ dependencies:
dev_dependencies:
ffigen:
path: '../../'
lints: ^2.0.0
lints: ^6.0.0
2 changes: 1 addition & 1 deletion pkgs/ffigen/example/libclang-example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ dependencies:
dev_dependencies:
ffigen:
path: '../../'
lints: ^2.0.1
lints: ^6.0.0
2 changes: 1 addition & 1 deletion pkgs/ffigen/example/objective_c/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies:
dev_dependencies:
ffigen:
path: ../../
lints: ^2.0.0
lints: ^6.0.0

dependency_overrides:
objective_c:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ffigen/example/shared_bindings/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ dependencies:
dev_dependencies:
ffigen:
path: '../../'
lints: ^2.0.1
lints: ^6.0.0
2 changes: 1 addition & 1 deletion pkgs/ffigen/example/simple/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ dependencies:
dev_dependencies:
ffigen:
path: '../../'
lints: ^2.0.1
lints: ^6.0.0
2 changes: 1 addition & 1 deletion pkgs/ffigen/example/swift/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies:
dev_dependencies:
ffigen:
path: ../../
lints: ^2.0.0
lints: ^6.0.0

dependency_overrides:
objective_c:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ffigen/lib/ffigen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
///
/// For most use cases the YAML based API is simpler. See
/// https://pub.dev/packages/ffigen for details.
library ffigen;
library;

export 'src/config_provider.dart'
show
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ffigen/lib/src/code_generator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.

/// Generates FFI bindings for a given Library.
library code_generator;
library;

export 'code_generator/binding.dart';
export 'code_generator/compound.dart';
Expand Down
3 changes: 1 addition & 2 deletions pkgs/ffigen/lib/src/code_generator/func_type.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

import '../code_generator.dart';
import '../visitor/ast.dart';

import 'unique_namer.dart';
import 'writer.dart';

Expand Down Expand Up @@ -136,7 +135,7 @@ class FunctionType extends Type {
}
}

/// Represents a NativeFunction<Function>.
/// Represents a `NativeFunction<Function>`.
class NativeFunc extends Type {
// Either a FunctionType or a Typealias of a FunctionType.
final Type _type;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ffigen/lib/src/config_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// BSD-style license that can be found in the LICENSE file.

/// Creates config object used by other sub_modules.
library config_provider;
library;

export 'config_provider/config.dart';
export 'config_provider/config_types.dart';
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ffigen/lib/src/header_parser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
/// Generates a Library (code_generator)
///
/// Parses the header files AST using clang_bindings.
library header_parser;
library;

export 'header_parser/parser.dart' show parse;
2 changes: 1 addition & 1 deletion pkgs/ffigen/lib/src/header_parser/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ class Stack<T> {
class IncrementalNamer {
final _incrementedStringCounters = <String, int>{};

/// Appends `<int>` to base. <int> is incremented on every call.
/// Appends `<int>` to base. `<int>` is incremented on every call.
String name(String base) {
var i = _incrementedStringCounters[base] ?? 0;
i++;
Expand Down
2 changes: 1 addition & 1 deletion pkgs/ffigen/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies:

dev_dependencies:
async: ^2.11.0
dart_flutter_team_lints: ^2.0.0
dart_flutter_team_lints: ^3.5.2
json_schema: ^5.1.1
leak_tracker: ^10.0.7
objective_c: ^8.1.0
Expand Down
2 changes: 1 addition & 1 deletion pkgs/hooks/example/build/download_asset/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ dependencies:
dev_dependencies:
args: ^2.6.0
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15

# Note: If pub workspaces are in use, the user-defines must be in the workspace
Expand Down
2 changes: 1 addition & 1 deletion pkgs/hooks/example/build/local_asset/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ dependencies:
dev_dependencies:
ffigen: ^18.0.0
file_testing: ^3.0.2
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
2 changes: 1 addition & 1 deletion pkgs/hooks/example/build/native_add_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ dependencies:
path: ../native_add_library/

dev_dependencies:
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
2 changes: 1 addition & 1 deletion pkgs/hooks/example/build/native_add_library/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
2 changes: 1 addition & 1 deletion pkgs/hooks/example/build/system_library/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
2 changes: 1 addition & 1 deletion pkgs/hooks/example/build/use_dart_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ dependencies:
path: ../package_with_assets/

dev_dependencies:
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
2 changes: 1 addition & 1 deletion pkgs/hooks/example/link/package_with_assets/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencies:
record_use: ^0.3.0

dev_dependencies:
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
2 changes: 1 addition & 1 deletion pkgs/hooks/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dev_dependencies:
args: ^2.6.0
code_assets: ^0.19.4 # Used for running tests with real asset types.
custom_lint: ^0.7.5
dart_flutter_team_lints: ^3.5.1
dart_flutter_team_lints: ^3.5.2
data_assets: any # Used for running tests with real asset types.
file_testing: ^3.0.2
glob: any
Expand Down
2 changes: 1 addition & 1 deletion pkgs/hooks_runner/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ dependencies:

dev_dependencies:
custom_lint: ^0.7.5
dart_flutter_team_lints: ^3.5.1
dart_flutter_team_lints: ^3.5.2
data_assets: any # Used in tests.
file_testing: ^3.0.2
repo_lint_rules:
Expand Down
2 changes: 1 addition & 1 deletion pkgs/hooks_runner/test_data/add_asset_link/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencies:
native_toolchain_c: any

dev_dependencies:
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
2 changes: 1 addition & 1 deletion pkgs/hooks_runner/test_data/complex_link/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ dependencies:
logging: ^1.3.0

dev_dependencies:
lints: ^5.1.1
lints: ^6.0.0
path: ^1.9.0
test: ^1.25.15
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ dependencies:
logging: ^1.3.0

dev_dependencies:
lints: ^5.1.1
lints: ^6.0.0
path: ^1.9.0
test: ^1.25.15
2 changes: 1 addition & 1 deletion pkgs/hooks_runner/test_data/cyclic_package_1/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ dependencies:
hooks: any

dev_dependencies:
lints: ^5.1.1
lints: ^6.0.0
2 changes: 1 addition & 1 deletion pkgs/hooks_runner/test_data/cyclic_package_2/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ dependencies:
hooks: any

dev_dependencies:
lints: ^5.1.1
lints: ^6.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies: {}

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
native_add:
path: ../native_add/
test: ^1.25.15
2 changes: 1 addition & 1 deletion pkgs/hooks_runner/test_data/drop_dylib_link/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ dependencies:
native_toolchain_c: any

dev_dependencies:
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
2 changes: 1 addition & 1 deletion pkgs/hooks_runner/test_data/fail_build/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
2 changes: 1 addition & 1 deletion pkgs/hooks_runner/test_data/infra_failure/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
2 changes: 1 addition & 1 deletion pkgs/hooks_runner/test_data/native_add/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
some_dev_dep:
path: ../some_dev_dep/
test: ^1.25.15
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
some_dev_dep:
path: ../some_dev_dep/
test: ^1.25.15
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
some_dev_dep:
path: ../some_dev_dep/
test: ^1.25.15
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ dependencies:
native_toolchain_c: ^0.12.0

dev_dependencies:
dart_flutter_team_lints: ^3.5.1
dart_flutter_team_lints: ^3.5.2
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
some_dev_dep:
path: ../some_dev_dep/
test: ^1.25.15
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ dependencies:
native_toolchain_c: ^0.5.0

dev_dependencies:
dart_flutter_team_lints: ^3.5.1
dart_flutter_team_lints: ^3.5.2
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
some_dev_dep:
path: ../some_dev_dep/
test: ^1.25.15
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
2 changes: 1 addition & 1 deletion pkgs/hooks_runner/test_data/native_subtract/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencies:

dev_dependencies:
ffigen: ^18.0.0
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
2 changes: 1 addition & 1 deletion pkgs/hooks_runner/test_data/no_asset_for_link/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ dependencies:
meta: ^1.16.0

dev_dependencies:
lints: ^5.1.1
lints: ^6.0.0
test: ^1.25.15
Loading
Loading