outmoded / university

Community learning experiment
Other
371 stars 194 forks source link

Assignment1 #160

Closed ghost closed 9 years ago

zoe-1 commented 9 years ago

@benleen Travis fails because you are getting below linting errors:

Make .eslintrc file in project root to fix shadow linting issues

.eslintrc file content below:

{
    "extends": "./node_modules/lab/lib/linters/eslint/.eslintrc",
    "rules": {
        // Override any settings from the "parent" configuration
        "hapi/no-shadow-relaxed": [1, { "ignore": ["err", "done", "server", "next", "res"] }],
    }
}

Above will make Travis hapi :-)

zoe-1 commented 9 years ago

You are adding requirements from later assignments into assignment1. For example, you are using Glue in assignment1 but that was not added until assignment5. This is not a big deal as long as you are aware of it.

But, I would recommend working through the assignments step by step rather than merging requirements of various assignments together. But, if that is too simple for you, then make each assignment the way you seem fit. But, this may make it harder for us to provide code review etc.

To start at the proper place for assignment1 do the following:

zoe-1 commented 9 years ago

See comments here about configuring linting options for more details about shadow linting.

ghost commented 9 years ago

@zoe-1

zoe-1 commented 9 years ago

@benleen I looked over your assignment a bit too quickly. Yes, you are right about the branches. I was looking at your master branch. Sorry. In respect to Travis, I would recommend getting travis to pass. But, since the original assignment did not require it, no worries if you do not.