File tree 3 files changed +8
-4
lines changed
packages/custom_lint_builder 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change
1
+ ## Unreleased patch
2
+
3
+ - Upgrade analyzer to support 6.4.0
4
+
1
5
## 0.6.1 - 2024-02-14
2
6
3
7
- ` custom_lint_core ` upgraded to ` 0.6.1 `
Original file line number Diff line number Diff line change @@ -866,8 +866,8 @@ class _ClientAnalyzerPlugin extends analyzer_plugin.ServerPlugin {
866
866
return ;
867
867
}
868
868
869
- final resolver =
870
- analysisContext.createResolverForFile (resourceProvider. getFile (path) );
869
+ final file = resourceProvider. getFile (path);
870
+ final resolver = analysisContext.createResolverForFile (file );
871
871
if (resolver == null ) return ;
872
872
873
873
final lintsBeforeExpectLint = < AnalysisError > [];
@@ -954,7 +954,7 @@ class _ClientAnalyzerPlugin extends analyzer_plugin.ServerPlugin {
954
954
CustomAnalyzerConverter ().convertAnalysisErrors (
955
955
allAnalysisErrors,
956
956
lineInfo: resolver.lineInfo,
957
- options: analysisContext.analysisOptions ,
957
+ options: analysisContext.getAnalysisOptionsForFile (file) ,
958
958
),
959
959
).toNotification (),
960
960
),
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ environment:
7
7
sdk : " >=3.0.0 <4.0.0"
8
8
9
9
dependencies :
10
- analyzer : " >=5.12.0 <7.0.0 "
10
+ analyzer : ^6.4.0
11
11
analyzer_plugin : ^0.11.0
12
12
collection : ^1.16.0
13
13
# Using tight constraints as custom_lint_builder communicate with each-other
You can’t perform that action at this time.
0 commit comments