File tree Expand file tree Collapse file tree 6 files changed +8
-9
lines changed Expand file tree Collapse file tree 6 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ module.exports = {
37
37
"keyword-spacing" : "error" ,
38
38
"no-array-constructor" : "error" ,
39
39
"no-console" : "off" ,
40
+ "no-duplicate-imports" : "error" ,
40
41
"no-empty" : "off" ,
41
42
"no-eval" : "error" ,
42
43
"no-extra-boolean-cast" : "off" ,
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ var authoredHintUtils = require('./authoredHintUtils');
14
14
var Lightbulb = require ( './templates/Lightbulb' ) ;
15
15
16
16
import { setHasAuthoredHints } from './redux/instructions' ;
17
- import authoredHintsReducer from './redux/authoredHints' ;
18
17
import {
19
18
enqueueHints ,
20
19
showNextHint ,
Original file line number Diff line number Diff line change @@ -3,8 +3,10 @@ import Gatherer from './gatherer';
3
3
import mazeMsg from './locale' ;
4
4
import BeeCell from './beeCell' ;
5
5
import BeeItemDrawer from './beeItemDrawer' ;
6
- import { TestResults } from '../constants.js' ;
7
- import { BeeTerminationValue as TerminationValue } from '../constants.js' ;
6
+ import {
7
+ TestResults ,
8
+ BeeTerminationValue as TerminationValue
9
+ } from '../constants.js' ;
8
10
9
11
const UNLIMITED_HONEY = - 99 ;
10
12
const UNLIMITED_NECTAR = 99 ;
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ import Gatherer from './gatherer';
2
2
import HarvesterCell from './harvesterCell' ;
3
3
import HarvesterDrawer from './harvesterDrawer' ;
4
4
import mazeMsg from './locale' ;
5
- import { HarvesterTerminationValue } from '../constants.js' ;
6
- import { TestResults } from '../constants.js' ;
5
+ import { HarvesterTerminationValue , TestResults } from '../constants.js' ;
7
6
8
7
export default class Harvester extends Gatherer {
9
8
Original file line number Diff line number Diff line change 1
- import { SquareType } from './tiles' ;
2
- import { Direction } from './tiles' ;
1
+ import { SquareType , Direction } from './tiles' ;
3
2
import _ from 'lodash' ;
4
3
5
4
import Subtype from './subtype' ;
Original file line number Diff line number Diff line change 2
2
/* global p5 */
3
3
import { spy , stub } from 'sinon' ;
4
4
import { expect } from '../../util/configuredChai' ;
5
- import createGameLabP5 from '../../util/gamelab/TestableGameLabP5' ;
6
- import { createStatefulGameLabP5 } from '../../util/gamelab/TestableGameLabP5' ;
5
+ import createGameLabP5 , { createStatefulGameLabP5 } from '../../util/gamelab/TestableGameLabP5' ;
7
6
8
7
describe ( 'GameLabSprite' , function ( ) {
9
8
let gameLabP5 , createSprite ;
You can’t perform that action at this time.
0 commit comments