@@ -3028,7 +3028,7 @@ describe("LegacyESLint", () => {
3028
3028
} , / E r r o r w h i l e p r o c e s s i n g o p t i o n s v a l i d a t i o n s c h e m a o f r u l e ' s c h e m a - i n v a l i d \/ r u l e 1 ' : m i n I t e m s m u s t b e n u m b e r / u) ;
3029
3029
} ) ;
3030
3030
3031
- it ( "should successfully execute with a rule with `schema:false` from a plugin when no options were passed" , async ( ) => {
3031
+ it ( "should succesfully execute with a rule with `schema:false` from a plugin when no options were passed" , async ( ) => {
3032
3032
eslint = new LegacyESLint ( {
3033
3033
cwd : path . join ( fixtureDir , "plugins" ) ,
3034
3034
baseConfig : {
@@ -3055,7 +3055,7 @@ describe("LegacyESLint", () => {
3055
3055
) ;
3056
3056
} ) ;
3057
3057
3058
- it ( "should successfully execute with a rule with `schema:false` from a plugin when an option is passed" , async ( ) => {
3058
+ it ( "should succesfully execute with a rule with `schema:false` from a plugin when an option is passed" , async ( ) => {
3059
3059
eslint = new LegacyESLint ( {
3060
3060
cwd : path . join ( fixtureDir , "plugins" ) ,
3061
3061
baseConfig : {
@@ -3082,7 +3082,7 @@ describe("LegacyESLint", () => {
3082
3082
) ;
3083
3083
} ) ;
3084
3084
3085
- it ( "should successfully execute with a rule with `schema:[]` from a plugin when no options were passed" , async ( ) => {
3085
+ it ( "should succesfully execute with a rule with `schema:[]` from a plugin when no options were passed" , async ( ) => {
3086
3086
eslint = new LegacyESLint ( {
3087
3087
cwd : path . join ( fixtureDir , "plugins" ) ,
3088
3088
baseConfig : {
@@ -3131,7 +3131,7 @@ describe("LegacyESLint", () => {
3131
3131
} , / C o n f i g u r a t i o n f o r r u l e " s c h e m a - e m p t y - a r r a y \/ r u l e 1 " i s i n v a l i d .* s h o u l d N O T h a v e m o r e t h a n 0 i t e m s / su) ;
3132
3132
} ) ;
3133
3133
3134
- it ( "should successfully execute with a rule with no schema from a plugin when no options were passed" , async ( ) => {
3134
+ it ( "should succesfully execute with a rule with no schema from a plugin when no options were passed" , async ( ) => {
3135
3135
eslint = new LegacyESLint ( {
3136
3136
cwd : path . join ( fixtureDir , "plugins" ) ,
3137
3137
baseConfig : {
@@ -3178,7 +3178,7 @@ describe("LegacyESLint", () => {
3178
3178
} , / C o n f i g u r a t i o n f o r r u l e " s c h e m a - m i s s i n g \/ r u l e 1 " i s i n v a l i d .* s h o u l d N O T h a v e m o r e t h a n 0 i t e m s / su) ;
3179
3179
} ) ;
3180
3180
3181
- it ( "should successfully execute with a rule with an array schema from a plugin when no options were passed" , async ( ) => {
3181
+ it ( "should succesfully execute with a rule with an array schema from a plugin when no options were passed" , async ( ) => {
3182
3182
eslint = new LegacyESLint ( {
3183
3183
cwd : path . join ( fixtureDir , "plugins" ) ,
3184
3184
baseConfig : {
@@ -3205,7 +3205,7 @@ describe("LegacyESLint", () => {
3205
3205
) ;
3206
3206
} ) ;
3207
3207
3208
- it ( "should successfully execute with a rule with an array schema from a plugin when a correct option was passed" , async ( ) => {
3208
+ it ( "should succesfully execute with a rule with an array schema from a plugin when a correct option was passed" , async ( ) => {
3209
3209
eslint = new LegacyESLint ( {
3210
3210
cwd : path . join ( fixtureDir , "plugins" ) ,
3211
3211
baseConfig : {
@@ -3280,7 +3280,7 @@ describe("LegacyESLint", () => {
3280
3280
} , / C o n f i g u r a t i o n f o r r u l e " s c h e m a - a r r a y \/ r u l e 1 " i s i n v a l i d .* s h o u l d N O T h a v e m o r e t h a n 1 i t e m s / su) ;
3281
3281
} ) ;
3282
3282
3283
- it ( "should successfully execute with a rule with an object schema from a plugin when no options were passed" , async ( ) => {
3283
+ it ( "should succesfully execute with a rule with an object schema from a plugin when no options were passed" , async ( ) => {
3284
3284
eslint = new LegacyESLint ( {
3285
3285
cwd : path . join ( fixtureDir , "plugins" ) ,
3286
3286
baseConfig : {
@@ -3307,7 +3307,7 @@ describe("LegacyESLint", () => {
3307
3307
) ;
3308
3308
} ) ;
3309
3309
3310
- it ( "should successfully execute with a rule with an object schema from a plugin when a correct option was passed" , async ( ) => {
3310
+ it ( "should succesfully execute with a rule with an object schema from a plugin when a correct option was passed" , async ( ) => {
3311
3311
eslint = new LegacyESLint ( {
3312
3312
cwd : path . join ( fixtureDir , "plugins" ) ,
3313
3313
baseConfig : {
@@ -3971,7 +3971,7 @@ describe("LegacyESLint", () => {
3971
3971
"the entry for the file to be deleted should not have been in the cache" ,
3972
3972
) ;
3973
3973
3974
- // make sure that the previous assertion checks the right place
3974
+ // make sure that the previos assertion checks the right place
3975
3975
assert . notStrictEqual (
3976
3976
typeof cache [ 0 ] [ badFile ] ,
3977
3977
"undefined" ,
@@ -4053,7 +4053,7 @@ describe("LegacyESLint", () => {
4053
4053
"the cache file already exists and wasn't successfully deleted" ,
4054
4054
) ;
4055
4055
4056
- fs . writeFileSync ( cacheFilePath , "[]" ) ; // intentionally invalid to additionally make sure it isn't used
4056
+ fs . writeFileSync ( cacheFilePath , "[]" ) ; // intenationally invalid to additionally make sure it isn't used
4057
4057
4058
4058
eslint = new LegacyESLint ( {
4059
4059
cwd : path . join ( fixtureDir , ".." ) ,
@@ -4089,7 +4089,7 @@ describe("LegacyESLint", () => {
4089
4089
"the cache file already exists and wasn't successfully deleted" ,
4090
4090
) ;
4091
4091
4092
- fs . writeFileSync ( cacheFilePath , "[]" ) ; // intentionally invalid to additionally make sure it isn't used
4092
+ fs . writeFileSync ( cacheFilePath , "[]" ) ; // intenationally invalid to additionally make sure it isn't used
4093
4093
4094
4094
eslint = new LegacyESLint ( {
4095
4095
cwd : path . join ( fixtureDir , ".." ) ,
@@ -4165,7 +4165,7 @@ describe("LegacyESLint", () => {
4165
4165
"the cache file already exists and wasn't successfully deleted" ,
4166
4166
) ;
4167
4167
4168
- fs . writeFileSync ( cacheFilePath , "[]" ) ; // intentionally invalid to additionally make sure it isn't used
4168
+ fs . writeFileSync ( cacheFilePath , "[]" ) ; // intenationally invalid to additionally make sure it isn't used
4169
4169
4170
4170
eslint = new LegacyESLint ( {
4171
4171
cwd : path . join ( fixtureDir , ".." ) ,
@@ -4290,7 +4290,7 @@ describe("LegacyESLint", () => {
4290
4290
* Run 1: Lint result wasn't already cached.
4291
4291
* Run 2: Lint result was already cached. The cached lint result is used but the cache is reconciled before the run ends.
4292
4292
* Run 3: Lint result was already cached. The cached lint result was being used throughout the previous run, so possible
4293
- * mutations in the previous run that occurred after the cache was reconciled may have side effects for this run.
4293
+ * mutations in the previous run that occured after the cache was reconciled may have side effects for this run.
4294
4294
*/
4295
4295
for ( let i = 0 ; i < 3 ; i ++ ) {
4296
4296
const [ result ] = await eslint . lintFiles ( [ filePath ] ) ;
@@ -4359,7 +4359,7 @@ describe("LegacyESLint", () => {
4359
4359
* Run 1: Lint result wasn't already cached.
4360
4360
* Run 2: Lint result was already cached. The cached lint result is used but the cache is reconciled before the run ends.
4361
4361
* Run 3: Lint result was already cached. The cached lint result was being used throughout the previous run, so possible
4362
- * mutations in the previous run that occurred after the cache was reconciled may have side effects for this run.
4362
+ * mutations in the previous run that occured after the cache was reconciled may have side effects for this run.
4363
4363
*/
4364
4364
for ( let i = 0 ; i < 3 ; i ++ ) {
4365
4365
const [ result ] = await eslint . lintFiles ( [ filePath ] ) ;
0 commit comments