Code Monkey home page Code Monkey logo

module_1's Introduction

Module_1

Week 1 homework

  1. Fork this repository.
  2. Using eslint, create an .eslintrc file that includes rules for the following:
    a. proper indentation of 2 spaces
    b. using semi-colons to terminate statements
    c. no use of undefined variables unless part of a global block
    d. no unused variable definitions
    e. always use strict equality/inequality
    f. always use single quotes
    g. no console statements left behind
    h. no dangling commas in object definitions
    i. max line length of 80 characters with 2 space for indentation (can ignore urls)
    j. no trailing spaces on a line
    k. require spacing inside curly brackets for objects
    l. enforce a newline before a return statement
  3. Lint the map-utils.js file and make the corrections necessary for eslint to verify it is clean.
  4. Commit (and push) your changes, which should include map-utils.js with your modifications, and a .eslintrc file, then initiate a pull request with the original, JSCRIPT300-Spring2016/Module_1 repository.
  5. If you have successfully created the .eslintrc file and corrected the map-utils.js, I will reply with a ๐Ÿ‘. Otherwise I will leave comments in the pull request indicating what still needs correction. You can re-submit the work again through another commit/push/pull request. If you don't wish to do so but instead just want the work graded as is, leave a comment stating such.
  6. I will close the pull request either once I've added the ๐Ÿ‘ or you've indicated you're done working on it.

module_1's People

Contributors

jamdon avatar owenkelly avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.