We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
standard
feross
Learn more about funding links in repositories.
Report abuse
1 parent 5c664f2 commit 204dee1Copy full SHA for 204dee1
test/validate-config.js
@@ -9,7 +9,7 @@ test('load config in eslint to validate all rule syntax is correct', function (t
9
configFile: 'eslintrc.json'
10
})
11
12
- const code = 'var foo = 1\nvar bar = function () {}\nbar(foo)\n'
+ const code = 'const foo = 1\nconst bar = function () {}\nbar(foo)\n'
13
14
t.equal(cli.executeOnText(code).errorCount, 0)
15
t.end()
0 commit comments