Skip to content

Commit 752efc0

Browse files
committed
WIP - just experimenting
1 parent ccbd88a commit 752efc0

File tree

113 files changed

+72
-687
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+72
-687
lines changed
Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1 @@
1-
include: package:dart_flutter_team_lints/analysis_options.yaml
2-
3-
analyzer:
4-
language:
5-
strict-raw-types: true
6-
plugins:
7-
# - custom_lint # https://github.com/dart-lang/sdk/issues/60784
8-
9-
linter:
10-
rules:
11-
- avoid_positional_boolean_parameters
12-
- public_member_api_docs
13-
- prefer_const_declarations
14-
- prefer_expression_function_bodies
15-
- prefer_final_in_for_each
16-
- prefer_final_locals
17-
18-
custom_lint:
19-
rules:
20-
- avoid_import_outside_src
1+
include: package:native_test_helpers/analysis_options.yaml

pkgs/code_assets/pubspec.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ dependencies:
2424
hooks: ^0.19.5
2525

2626
dev_dependencies:
27-
custom_lint: ^0.7.5
28-
dart_flutter_team_lints: ^3.5.2
2927
json_schema: ^5.2.0 # May only be used in tool/ and test/json_schema/.
3028
native_test_helpers:
3129
path: ../native_test_helpers/
32-
repo_lint_rules:
33-
path: ../repo_lint_rules/
3430
test: ^1.25.15
Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1 @@
1-
include: package:dart_flutter_team_lints/analysis_options.yaml
2-
3-
analyzer:
4-
language:
5-
strict-raw-types: true
6-
plugins:
7-
# - custom_lint # https://github.com/dart-lang/sdk/issues/60784
8-
9-
linter:
10-
rules:
11-
- avoid_positional_boolean_parameters
12-
- prefer_const_declarations
13-
- prefer_expression_function_bodies
14-
- prefer_final_in_for_each
15-
- prefer_final_locals
16-
17-
custom_lint:
18-
rules:
19-
- avoid_import_outside_src
1+
include: package:native_test_helpers/analysis_options.yaml

pkgs/data_assets/pubspec.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,7 @@ dependencies:
2020
hooks: ^0.19.5
2121

2222
dev_dependencies:
23-
custom_lint: ^0.7.5
24-
dart_flutter_team_lints: ^3.5.2
2523
json_schema: ^5.2.0 # May only be used in tool/ and test/json_schema/.
2624
native_test_helpers:
2725
path: ../native_test_helpers
28-
repo_lint_rules:
29-
path: ../repo_lint_rules/
3026
test: ^1.25.15

pkgs/ffi/analysis_options.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
1-
include: package:dart_flutter_team_lints/analysis_options.yaml
2-
3-
analyzer:
4-
language:
5-
strict-raw-types: true
6-
7-
linter:
8-
rules:
9-
- prefer_final_locals
1+
include: package:native_test_helpers/analysis_options.yaml

pkgs/ffi/pubspec.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ environment:
1313
sdk: '>=3.7.0 <4.0.0'
1414

1515
dev_dependencies:
16-
dart_flutter_team_lints: ^3.5.2
16+
native_test_helpers:
17+
path: ../native_test_helpers
1718
test: ^1.21.2

pkgs/ffigen/analysis_options.yaml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1 @@
1-
# Copyright (c) 2020, the Dart project authors. Please see the AUTHORS file
2-
# for details. All rights reserved. Use of this source code is governed by a
3-
# BSD-style license that can be found in the LICENSE file.
4-
5-
include: package:dart_flutter_team_lints/analysis_options.yaml
6-
7-
analyzer:
8-
exclude:
9-
- 'test/**_expected*'
10-
11-
# Exclude anything that uses package:objective_c, due to flutter dependency.
12-
# https://github.com/dart-lang/native/issues/1068
13-
- example/objective_c/**
14-
- example/swift/**
15-
- test_flutter/native_objc_test/**
16-
- test/native_objc_test/**
17-
language:
18-
strict-raw-types: true
19-
20-
linter:
21-
rules:
22-
prefer_final_locals: true
23-
prefer_final_in_for_each: true
1+
include: package:native_test_helpers/analysis_options.yaml

pkgs/ffigen/example/c_json/pubspec.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,5 @@ dependencies:
1212
path: ^1.8.0
1313

1414
dev_dependencies:
15-
dart_flutter_team_lints: ^3.5.2
1615
ffigen:
1716
path: '../../'

pkgs/ffigen/example/ffinative/pubspec.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ dependencies:
1111
ffi: ^2.0.1
1212

1313
dev_dependencies:
14-
dart_flutter_team_lints: ^3.5.2
1514
ffigen:
1615
path: '../../'

pkgs/ffigen/example/libclang-example/pubspec.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ dependencies:
1111
ffi: ^2.0.1
1212

1313
dev_dependencies:
14-
dart_flutter_team_lints: ^3.5.2
1514
ffigen:
1615
path: '../../'

0 commit comments

Comments
 (0)