santinic / how2

AI for the Command Line
https://how2terminal.com
MIT License
5.72k stars 156 forks source link

Remove unused vars, functions and dependencies #37

Closed danyshaanan closed 8 years ago

danyshaanan commented 8 years ago

Removed unused variables, functions, and dependencies for cleaner and safer code.

this was done by adding .eslintrc with:

{
  "rules": {
    "no-unused-vars": [2, {"vars": "all", "args": "none"}]
  }
}

and running:

npm i eslint
./node_modules/.bin/eslint lib

If you'd like, I'd be happy to properly add eslint to the project in another RP.

santinic commented 8 years ago

thanks man for all the work