Skip to content

Commit 1bd5bb8

Browse files
authored
[infra] Delete repo_lint_rules and remove custom_lint (dart-lang#3080)
1 parent cce2932 commit 1bd5bb8

20 files changed

Lines changed: 0 additions & 178 deletions

‎.github/workflows/native.yaml‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ on:
1919
- 'pkgs/native_test_helpers/**'
2020
- 'pkgs/native_toolchain_c/**'
2121
- 'pkgs/record_use/**'
22-
- 'pkgs/repo_lint_rules/**'
2322
- 'tool/**'
2423
push:
2524
branches: [main]
@@ -34,7 +33,6 @@ on:
3433
- 'pkgs/native_test_helpers/**'
3534
- 'pkgs/native_toolchain_c/**'
3635
- 'pkgs/record_use/**'
37-
- 'pkgs/repo_lint_rules/**'
3836
- 'tool/**'
3937
schedule:
4038
- cron: '0 0 * * 0' # weekly

‎pkgs/code_assets/analysis_options.yaml‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ include: package:dart_flutter_team_lints/analysis_options.yaml
33
analyzer:
44
language:
55
strict-raw-types: true
6-
plugins:
7-
# - custom_lint # https://github.com/dart-lang/sdk/issues/60784
86

97
linter:
108
rules:
@@ -14,7 +12,3 @@ linter:
1412
- prefer_expression_function_bodies
1513
- prefer_final_in_for_each
1614
- prefer_final_locals
17-
18-
custom_lint:
19-
rules:
20-
- avoid_import_outside_src

‎pkgs/code_assets/pubspec.yaml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,8 @@ dependencies:
2424
hooks: ^1.0.0
2525

2626
dev_dependencies:
27-
custom_lint: ^0.8.1
2827
dart_flutter_team_lints: ^3.5.2
2928
json_schema: ^5.2.0 # May only be used in tool/ and test/json_schema/.
3029
native_test_helpers:
3130
path: ../native_test_helpers/
32-
repo_lint_rules:
33-
path: ../repo_lint_rules/
3431
test: ^1.25.15

‎pkgs/data_assets/analysis_options.yaml‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ include: package:dart_flutter_team_lints/analysis_options.yaml
33
analyzer:
44
language:
55
strict-raw-types: true
6-
plugins:
7-
# - custom_lint # https://github.com/dart-lang/sdk/issues/60784
86

97
linter:
108
rules:
@@ -13,7 +11,3 @@ linter:
1311
- prefer_expression_function_bodies
1412
- prefer_final_in_for_each
1513
- prefer_final_locals
16-
17-
custom_lint:
18-
rules:
19-
- avoid_import_outside_src

‎pkgs/data_assets/pubspec.yaml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,8 @@ dependencies:
2020
hooks: ^1.0.0
2121

2222
dev_dependencies:
23-
custom_lint: ^0.8.1
2423
dart_flutter_team_lints: ^3.5.2
2524
json_schema: ^5.2.0 # May only be used in tool/ and test/json_schema/.
2625
native_test_helpers:
2726
path: ../native_test_helpers
28-
repo_lint_rules:
29-
path: ../repo_lint_rules/
3027
test: ^1.25.15

‎pkgs/hooks/analysis_options.yaml‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ include: package:dart_flutter_team_lints/analysis_options.yaml
33
analyzer:
44
language:
55
strict-raw-types: true
6-
plugins:
7-
# - custom_lint # https://github.com/dart-lang/sdk/issues/60784
86

97
linter:
108
rules:
@@ -14,7 +12,3 @@ linter:
1412
- prefer_expression_function_bodies
1513
- prefer_final_in_for_each
1614
- prefer_final_locals
17-
18-
custom_lint:
19-
rules:
20-
- avoid_import_outside_src

‎pkgs/hooks/pubspec.yaml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ dependencies:
3030
dev_dependencies:
3131
args: ^2.6.0
3232
code_assets: ^1.0.0 # Used for running tests with real asset types.
33-
custom_lint: ^0.8.1
3433
dart_flutter_team_lints: ^3.5.2
3534
data_assets: any # Used for running tests with real asset types.
3635
file_testing: ^3.0.2
@@ -41,6 +40,4 @@ dev_dependencies:
4140
native_test_helpers:
4241
path: ../native_test_helpers/
4342
path: ^1.9.1
44-
repo_lint_rules:
45-
path: ../repo_lint_rules/
4643
test: ^1.25.15

‎pkgs/hooks_runner/analysis_options.yaml‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ include: package:dart_flutter_team_lints/analysis_options.yaml
33
analyzer:
44
language:
55
strict-raw-types: true
6-
plugins:
7-
# - custom_lint # https://github.com/dart-lang/sdk/issues/60784
86

97
linter:
108
rules:
@@ -13,7 +11,3 @@ linter:
1311
- prefer_expression_function_bodies
1412
- prefer_final_in_for_each
1513
- prefer_final_locals
16-
17-
custom_lint:
18-
rules:
19-
- avoid_import_outside_src

‎pkgs/hooks_runner/pubspec.yaml‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,11 @@ dependencies:
2727

2828
dev_dependencies:
2929
args: any
30-
custom_lint: ^0.8.1
3130
dart_flutter_team_lints: ^3.5.2
3231
data_assets: any # Used in tests.
3332
file_testing: ^3.0.2
3433
native_test_helpers:
3534
path: ../native_test_helpers/
3635
pub_formats: # Used in tests.
3736
path: ../pub_formats/
38-
repo_lint_rules:
39-
path: ../repo_lint_rules/
4037
test: ^1.25.15

‎pkgs/json_syntax_generator/analysis_options.yaml‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ include: package:dart_flutter_team_lints/analysis_options.yaml
33
analyzer:
44
language:
55
strict-raw-types: true
6-
plugins:
7-
# - custom_lint # https://github.com/dart-lang/sdk/issues/60784
86

97
linter:
108
rules:
@@ -13,7 +11,3 @@ linter:
1311
- prefer_expression_function_bodies
1412
- prefer_final_in_for_each
1513
- prefer_final_locals
16-
17-
custom_lint:
18-
rules:
19-
- avoid_import_outside_src

0 commit comments

Comments
 (0)