Skip to content

Commit

Permalink
fix: eslint config for node-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-north committed Sep 30, 2018
1 parent 9e9835b commit 7b6b839
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports = {
'index.js',
'testem.js',
'blueprints/*/index.js',
'node-tests/**/*.js',
'config/**/*.js',
'tests/dummy/config/**/*.js'
],
Expand All @@ -40,7 +41,8 @@ module.exports = {
},
env: {
browser: false,
node: true
node: true,
mocha: true
},
plugins: ['node'],
rules: Object.assign({}, require('eslint-plugin-node').configs.recommended.rules, {
Expand Down
1 change: 0 additions & 1 deletion node-tests/blueprints/acceptance-test-test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use strict';

const blueprintHelpers = require('ember-cli-blueprint-test-helpers/helpers');
const setupTestHooks = blueprintHelpers.setupTestHooks;
const emberNew = blueprintHelpers.emberNew;
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"@types/ember": "~3.0.0",
"@types/ember-qunit": "^3.0.3",
"@types/ember__test-helpers": "^0.7.5",
"@types/mocha": "^5.2.5",
"@types/qunit": "^2.5.1",
"@types/rsvp": "^4.0.2",
"babel-eslint": "^8.2.6",
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,10 @@
version "3.3.10"
resolved "https://registry.yarnpkg.com/@types/jquery/-/jquery-3.3.10.tgz#d0afaec7ee55f591992e74c607df5dc7cd9c76ab"

"@types/mocha@^5.2.5":
version "5.2.5"
resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-5.2.5.tgz#8a4accfc403c124a0bafe8a9fc61a05ec1032073"

"@types/qunit@^2.5.1":
version "2.5.3"
resolved "https://registry.yarnpkg.com/@types/qunit/-/qunit-2.5.3.tgz#e7df363b5e1d1ba034b5fdd34b560d5ec0914225"
Expand Down

0 comments on commit 7b6b839

Please sign in to comment.