Skip to content

Code Quality

Benjamin Shen edited this page Oct 23, 2022 · 1 revision

For more information, see https://dev.cornelldti.org/docs/guide-code-quality/.

Style Guide

CoursePlan uses ESLint and Prettier for formatting the code.

Run the command below to find all linter errors.
npm run lint

Run the command below to find all formatting errors.
npm run format:check

Optionally, we recommend using a hard wrap extension such as Rewrap when writing .md files.

Type Checking

CoursePlan uses Vue TSC for type checking.

Run the command below to find all type errors.
npm run type-check