Skip to content

Setup TypeScript linting - #11

Open
neno-is-ooo wants to merge 1 commit into
mainfrom
proposed/setup-eslint-for-typescript
Open

Setup TypeScript linting#11
neno-is-ooo wants to merge 1 commit into
mainfrom
proposed/setup-eslint-for-typescript

Conversation

@neno-is-ooo

Copy link
Copy Markdown
Owner

Summary

  • add TypeScript-aware ESLint config
  • install type packages for express, cors, figlet, jsonwebtoken, node, and supertest
  • add eslint and @typescript-eslint dependencies
  • convert getVersion.js to getVersion.ts

Testing

  • npm test
  • npx eslint 'src/**/*.ts' --fix (fails: Cannot find package '@eslint/js')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant