RunestoneInteractive / rs

A New Monorepo structure for Runestone
Other
43 stars 69 forks source link

RUN-3/RUN-5 Setup typescript, eslint and prettier #580

Closed morozov-av closed 1 week ago

morozov-av commented 1 week ago
  1. Initial setup of TypeScript completed
  2. ESLint and Prettier have been installed and configured.
  3. Vitest has been added for testing.
  4. Initial formatting has been completed.

Notes:

  1. Although TypeScript is installed, I haven't changed the file extensions to .ts and .tsx yet. This will be done gradually, as it requires meticulous effort.
  2. Not all ESLint errors have been fixed at this stage. This will also be addressed in a subsequent pull request.
  3. TypeScript aliases @/ and @components have been added. These will be useful in the future.
  4. All ESLint and Prettier configurations were added based on my personal experience, but since this is a "matter of taste," I'm happy to discuss them if you disagree with any of the settings.
  5. You may notice many new dependencies, but these are devDependencies and do not affect the size of the production build