Skip to content

Commit cc47295

Browse files
committed
fix linting
1 parent 7213dfa commit cc47295

File tree

6 files changed

+9
-1
lines changed

6 files changed

+9
-1
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ module.exports = {
7171
{
7272
files: ['test/**/*.js'],
7373
env: {
74-
mocha: true
74+
mocha: true,
75+
node: true
7576
},
7677
rules: {
7778
'node/no-unpublished-require': 'off',

addon/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable no-unused-vars */
12
import Mix from '@ember/polyfills/types';
23

34
export type Nullable<T> = T | null | undefined;

addon/utils/mung-options-for-fetch.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable no-unused-vars */
12
import { assign } from '@ember/polyfills';
23
import { serializeQueryParams } from './serialize-query-params';
34
import {

tests/acceptance/root-test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ module('Acceptance: Root', function(hooks) {
3333
});
3434

3535
test('posting a string', function(assert) {
36+
assert.expect(3);
3637
server.post('/upload', function(req) {
3738
assert.equal(req.requestBody, 'foo');
3839
return [
@@ -54,6 +55,7 @@ module('Acceptance: Root', function(hooks) {
5455
});
5556

5657
test('posting a form', function(assert) {
58+
assert.expect(3)
5759
server.post('/upload', function(req) {
5860
assert.ok(req.requestBody instanceof window.FormData);
5961
return [
@@ -77,6 +79,7 @@ module('Acceptance: Root', function(hooks) {
7779
});
7880

7981
test('posting an array buffer', function(assert) {
82+
assert.expect(3);
8083
server.post('/upload', function(req) {
8184
assert.ok(req.requestBody instanceof window.ArrayBuffer);
8285
return [

tests/dummy/app/controllers/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable ember/no-classic-classes, ember/no-actions-hash */
12
import Controller from '@ember/controller';
23
import { run } from '@ember/runloop';
34
import fetch from 'fetch';

tests/dummy/app/routes/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable ember/no-classic-classes */
12
import Route from '@ember/routing/route';
23
import { hash } from 'rsvp';
34
import fetch from 'fetch';

0 commit comments

Comments
 (0)