File tree Expand file tree Collapse file tree
fixtures/no-unsupported-features--ecma/star
lib/rules/no-unsupported-features Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 "ignore" : " ^5.1.1" ,
1919 "minimatch" : " ^3.0.4" ,
2020 "resolve" : " ^1.10.1" ,
21- "semver" : " ^6.0 .0"
21+ "semver" : " ^6.1 .0"
2222 },
2323 "devDependencies" : {
2424 "@mysticatea/eslint-plugin" : " ^10.0.3" ,
Original file line number Diff line number Diff line change 1+ {
2+ "private" : true ,
3+ "name" : " test" ,
4+ "engines" : {
5+ "node" : " *"
6+ }
7+ }
Original file line number Diff line number Diff line change @@ -2478,6 +2478,16 @@ ruleTester.run(
24782478 } ,
24792479 ] ,
24802480 } ,
2481+ {
2482+ filename : fixture ( "star/a.js" ) ,
2483+ code : '"use strict"; let a = 1' ,
2484+ errors : [
2485+ {
2486+ messageId : "no-block-scoped-variables-strict" ,
2487+ data : { supported : "4.0.0" , version : "*" } ,
2488+ } ,
2489+ ] ,
2490+ } ,
24812491 {
24822492 code : "var a = async () => 1" ,
24832493 options : [ { version : "7.1.0" } ] ,
You canβt perform that action at this time.
0 commit comments