Skip to content

Commit 9c7ac2f

Browse files
committed
fix lint
1 parent 752a4ca commit 9c7ac2f

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

packages/ember-cli-fastboot/.eslintrc.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,15 @@ module.exports = {
2929
// node files
3030
{
3131
files: [
32-
'./.eslintrc.js',
32+
'./**/.eslintrc.js',
3333
'./.prettierrc.js',
3434
'./.template-lintrc.js',
35-
'./ember-cli-build.js',
35+
'./**/ember-cli-build.js',
3636
'./index.js',
3737
'./testem.js',
3838
'./blueprints/*/index.js',
3939
'./config/**/*.js',
40+
'./**/lib/**/*.js',
4041
'./tests/dummy/config/**/*.js',
4142
],
4243
parserOptions: {

packages/ember-cli-fastboot/lib/build-utilities/migrate-initializers.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
/* eslint-disable prettier/prettier */
1+
/* eslint-disable no-undef, prettier/prettier */
2+
/* eslint-env node */
23
'use strict';
34

45
const path = require('path');

packages/ember-cli-fastboot/tests/unit/services/fastboot-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ module('Unit | Service | fastboot in the browser', function(hooks) {
77

88
test('isFastBoot', function(assert) {
99
let service = this.owner.lookup('service:fastboot');
10-
assert.equal(service.isFastBoot, false, `it should be false`);
11-
assert.equal(service.get('isFastBoot'), false, `it should be false`);
10+
assert.false(service.isFastBoot, `it should be false`);
11+
assert.false(service.get('isFastBoot'), `it should be false`);
1212
});
1313

1414
test('isFastboot', function(assert) {

packages/fastboot-express-middleware/test/middleware-test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ describe('FastBoot', function() {
111111
// FIXME:
112112
// TODO:
113113
// https://github.com/ember-fastboot/ember-cli-fastboot/pull/840#issuecomment-894329631
114+
// eslint-disable-next-line mocha/no-skipped-tests
114115
it.skip('works without metadata passed', async function() {
115116
let middleware = fastbootMiddleware({
116117
distPath: fixture('app-with-metadata'),

0 commit comments

Comments
 (0)