Stephen Cavaliere 0664beb76d refactor(lint): use tslint api for linting (#4248)
Closes #867, #3993

BREAKING CHANGE: 

In order to use the updated `ng lint` command, the following section will have to be added to the project's `angular-cli.json` at the root level of the json object.

  ```json
  "lint": [
    {
      "files": "src/**/*.ts",
      "project": "src/tsconfig.json"
    },
    {
      "files": "e2e/**/*.ts",
      "project": "e2e/tsconfig.json"
    }
  ],
  ```

Alternatively, you can run `ng update`.
2017-01-28 17:34:53 +00:00

352 B

ng lint

Overview

ng lint will lint you app code using tslint.

Options

--fix will attempt to fix lint errors

--force will always return error code 0 even with lint errors

--format (-t) the output formatter to use