@@ -6,11 +6,11 @@ use hemtt_workspace::{
66 reporting:: { Code , Codes , Diagnostic , Processed } ,
77} ;
88
9- use crate :: { analyze:: SqfLintData , Item , Value } ;
9+ use crate :: { analyze:: LintData , Item , Value } ;
1010
1111crate :: analyze:: lint!( LintC01InvalidValue ) ;
1212
13- impl Lint < SqfLintData > for LintC01InvalidValue {
13+ impl Lint < LintData > for LintC01InvalidValue {
1414 fn ident ( & self ) -> & ' static str {
1515 "invalid_value"
1616 }
@@ -49,22 +49,22 @@ Arma configs only support Strings, Numbers, and Arrays. While other tools would
4949 LintConfig :: error ( )
5050 }
5151
52- fn runners ( & self ) -> Vec < Box < dyn AnyLintRunner < SqfLintData > > > {
52+ fn runners ( & self ) -> Vec < Box < dyn AnyLintRunner < LintData > > > {
5353 vec ! [ Box :: new( RunnerValue ) , Box :: new( RunnerItem ) ]
5454 }
5555}
5656
5757struct RunnerValue ;
5858
59- impl LintRunner < SqfLintData > for RunnerValue {
59+ impl LintRunner < LintData > for RunnerValue {
6060 type Target = Value ;
6161 fn run (
6262 & self ,
6363 _project : Option < & ProjectConfig > ,
6464 _config : & LintConfig ,
6565 processed : Option < & Processed > ,
6666 target : & Value ,
67- _data : & SqfLintData ,
67+ _data : & LintData ,
6868 ) -> Codes {
6969 let Some ( processed) = processed else {
7070 return vec ! [ ] ;
@@ -85,15 +85,15 @@ impl LintRunner<SqfLintData> for RunnerValue {
8585}
8686
8787struct RunnerItem ;
88- impl LintRunner < SqfLintData > for RunnerItem {
88+ impl LintRunner < LintData > for RunnerItem {
8989 type Target = Item ;
9090 fn run (
9191 & self ,
9292 _project : Option < & ProjectConfig > ,
9393 _config : & LintConfig ,
9494 processed : Option < & Processed > ,
9595 target : & Item ,
96- _data : & SqfLintData ,
96+ _data : & LintData ,
9797 ) -> Codes {
9898 let Some ( processed) = processed else {
9999 return vec ! [ ] ;
0 commit comments