Skip to content

Commit df1813f

Browse files
authored
[infra] clean up analysis options files (#2407)
1 parent e110de0 commit df1813f

File tree

17 files changed

+2
-101
lines changed

17 files changed

+2
-101
lines changed

pkgs/code_assets/analysis_options.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
include: package:dart_flutter_team_lints/analysis_options.yaml
22

33
analyzer:
4-
errors:
5-
todo: ignore
64
language:
7-
strict-casts: true
8-
strict-inference: true
95
strict-raw-types: true
106
plugins:
117
# - custom_lint # https://github.com/dart-lang/sdk/issues/60784
128

139
linter:
1410
rules:
1511
- avoid_positional_boolean_parameters
16-
- dangling_library_doc_comments
1712
- public_member_api_docs
1813
- prefer_const_declarations
1914
- prefer_expression_function_bodies

pkgs/data_assets/analysis_options.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
include: package:dart_flutter_team_lints/analysis_options.yaml
22

33
analyzer:
4-
errors:
5-
todo: ignore
64
language:
7-
strict-casts: true
8-
strict-inference: true
95
strict-raw-types: true
106
plugins:
117
# - custom_lint # https://github.com/dart-lang/sdk/issues/60784
128

139
linter:
1410
rules:
1511
- avoid_positional_boolean_parameters
16-
- dangling_library_doc_comments
1712
- prefer_const_declarations
1813
- prefer_expression_function_bodies
1914
- prefer_final_in_for_each

pkgs/ffi/analysis_options.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
include: package:dart_flutter_team_lints/analysis_options.yaml
22

33
analyzer:
4-
errors:
5-
todo: ignore
64
language:
7-
strict-casts: true
8-
strict-inference: true
95
strict-raw-types: true
106

117
linter:

pkgs/ffigen/analysis_options.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
include: package:dart_flutter_team_lints/analysis_options.yaml
66

77
analyzer:
8-
errors:
9-
todo: ignore
108
exclude:
119
- 'test/**_expected*'
1210

@@ -17,14 +15,9 @@ analyzer:
1715
- test_flutter/native_objc_test/**
1816
- test/native_objc_test/**
1917
language:
20-
strict-casts: true
21-
strict-inference: true
2218
strict-raw-types: true
2319

2420
linter:
2521
rules:
26-
dangling_library_doc_comments: true
27-
directives_ordering: true
2822
prefer_final_locals: true
2923
prefer_final_in_for_each: true
30-
use_super_parameters: true

pkgs/hooks/analysis_options.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
include: package:dart_flutter_team_lints/analysis_options.yaml
22

33
analyzer:
4-
errors:
5-
todo: ignore
64
language:
7-
strict-casts: true
8-
strict-inference: true
95
strict-raw-types: true
106
plugins:
117
# - custom_lint # https://github.com/dart-lang/sdk/issues/60784
128

139
linter:
1410
rules:
1511
- avoid_positional_boolean_parameters
16-
- dangling_library_doc_comments
1712
- public_member_api_docs
1813
- prefer_const_declarations
1914
- prefer_expression_function_bodies
Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,4 @@
1-
# This file configures the static analysis results for your project (errors,
2-
# warnings, and lints).
3-
#
4-
# This enables the 'recommended' set of lints from `package:lints`.
5-
# This set helps identify many issues that may lead to problems when running
6-
# or consuming Dart code, and enforces writing Dart using a single, idiomatic
7-
# style and format.
8-
#
9-
# If you want a smaller set of lints you can change this to specify
10-
# 'package:lints/core.yaml'. These are just the most critical lints
11-
# (the recommended set includes the core lints).
12-
# The core lints are also what is used by pub.dev for scoring packages.
13-
141
include: package:lints/recommended.yaml
152

16-
# Uncomment the following section to specify additional rules.
17-
18-
# linter:
19-
# rules:
20-
# - camel_case_types
21-
22-
# analyzer:
23-
# exclude:
24-
# - path/to/excluded/files/**
25-
26-
# For more information about the core and recommended set of lints, see
27-
# https://dart.dev/go/core-lints
28-
293
# For additional information about configuring this file, see
304
# https://dart.dev/guides/language/analysis-options

pkgs/hooks_runner/analysis_options.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
include: package:dart_flutter_team_lints/analysis_options.yaml
22

33
analyzer:
4-
errors:
5-
todo: ignore
64
language:
7-
strict-casts: true
8-
strict-inference: true
95
strict-raw-types: true
106
plugins:
117
# - custom_lint # https://github.com/dart-lang/sdk/issues/60784
128

139
linter:
1410
rules:
1511
- avoid_positional_boolean_parameters
16-
- dangling_library_doc_comments
1712
- prefer_const_declarations
1813
- prefer_expression_function_bodies
1914
- prefer_final_in_for_each

pkgs/hooks_runner/test_data/native_add_version_skew/analysis_options.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
include: package:dart_flutter_team_lints/analysis_options.yaml
22

33
analyzer:
4-
errors:
5-
todo: ignore
64
language:
7-
strict-casts: true
8-
strict-inference: true
95
strict-raw-types: true
106

117
linter:
128
rules:
139
- avoid_positional_boolean_parameters
14-
- dangling_library_doc_comments
1510
- prefer_const_declarations
1611
- prefer_expression_function_bodies
1712
- prefer_final_in_for_each

pkgs/hooks_runner/test_data/native_add_version_skew_2/analysis_options.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
include: package:dart_flutter_team_lints/analysis_options.yaml
22

33
analyzer:
4-
errors:
5-
todo: ignore
64
language:
7-
strict-casts: true
8-
strict-inference: true
95
strict-raw-types: true
106

117
linter:
128
rules:
139
- avoid_positional_boolean_parameters
14-
- dangling_library_doc_comments
1510
- prefer_const_declarations
1611
- prefer_expression_function_bodies
1712
- prefer_final_in_for_each

pkgs/json_syntax_generator/analysis_options.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
include: package:dart_flutter_team_lints/analysis_options.yaml
22

33
analyzer:
4-
errors:
5-
todo: ignore
64
language:
7-
strict-casts: true
8-
strict-inference: true
95
strict-raw-types: true
106
plugins:
117
# - custom_lint # https://github.com/dart-lang/sdk/issues/60784
128

139
linter:
1410
rules:
1511
- avoid_positional_boolean_parameters
16-
- dangling_library_doc_comments
1712
- prefer_const_declarations
1813
- prefer_expression_function_bodies
1914
- prefer_final_in_for_each

0 commit comments

Comments
 (0)