Skip to content

Commit 514b9a9

Browse files
committed
fix(lint): run lint:fix
1 parent 4de7988 commit 514b9a9

File tree

7 files changed

+2
-6
lines changed

7 files changed

+2
-6
lines changed

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ export default [
187187
files: ['**/tests/**/*.js'],
188188
rules: {
189189
'qunit/require-expect': ['error', 'except-simple'],
190+
'no-unused-vars': 'off',
190191
},
191192
},
192193
];

packages/classic-test-app/server/demo-api.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ var app = express();
66
var server = require('./index.js')(app);
77

88
app.listen(process.env.PORT, function () {
9-
// eslint-disable-next-line no-console
109
console.log('Server started on port ' + process.env.PORT);
1110
});

packages/test-app/config/fastboot-testing.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable no-redeclare */
21
module.exports = function () {
32
return {
43
buildSandboxGlobals(defaultGlobals) {

packages/test-app/config/fastboot.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* eslint-disable no-redeclare */
21
module.exports = function () {
32
return {
43
buildSandboxGlobals(defaultGlobals) {

packages/test-app/server/demo-api.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ var app = express();
66
var server = require('./index.js')(app);
77

88
app.listen(process.env.PORT, function () {
9-
// eslint-disable-next-line no-console
109
console.log('Server started on port ' + process.env.PORT);
1110
});

packages/test-app/tests/acceptance/authentication-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ module('Acceptance: Authentication', function (hooks) {
102102
await authenticateSession({});
103103
try {
104104
await visit('/auth-error');
105-
} catch (e) {
105+
} catch (_e) {
106106
// ignore the error
107107
}
108108

packages/test-esa/tests/unit/authenticators/oauth2-password-grant-test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,6 @@ module('OAuth2PasswordGrantAuthenticator', function (hooks) {
422422
let body = parsePostData(requestBody);
423423

424424
if (body.token_type_hint === 'refresh_token') {
425-
// eslint-disable-next-line qunit/no-conditional-assertions
426425
assert.deepEqual(body, {
427426
token_type_hint: 'refresh_token',
428427
token: 'refresh token!',

0 commit comments

Comments
 (0)