File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default defineConfig([
19
19
extends : [ "js/recommended" ] ,
20
20
languageOptions : {
21
21
sourceType : "commonjs" ,
22
- ecmaVersion : 5 ,
22
+ ecmaVersion : 3 ,
23
23
globals : { define : "readonly" }
24
24
} ,
25
25
rules : {
Original file line number Diff line number Diff line change 1678
1678
if ( digitReplacements ) {
1679
1679
formattedCount = "" ;
1680
1680
for ( var i = 0 ; i < countStr . length ; i ++ ) {
1681
- var char = countStr [ i ] ;
1682
- if ( char === "." ) {
1681
+ var character = countStr [ i ] ;
1682
+ if ( character === "." ) {
1683
1683
formattedCount += decimal ;
1684
1684
} else {
1685
- // @ts -ignore because `char ` should always be 0-9 at this point.
1686
- formattedCount += digitReplacements [ char ] ;
1685
+ // @ts -ignore because `character ` should always be 0-9 at this point.
1686
+ formattedCount += digitReplacements [ character ] ;
1687
1687
}
1688
1688
}
1689
1689
} else {
You can’t perform that action at this time.
0 commit comments