kevelopment / haruJs

JavaScript Web Framework built in TypeScript bringing in some Spring feelings.
0 stars 0 forks source link

Issues#10: Prettier and tslint Configuration #19

Closed kevelopment closed 3 years ago

kevelopment commented 3 years ago

Added necessary Dependencies and Configuration Files. Figured out that there's tslint-config-prettier which makes life much more enjoyable after I saw the configuration-hell that manual eslint setup brought me into 😅

Next step could be to run an Action executing tslint and configure Husky as pre-commit hook to make sure our code will stay clean and pretty :)

Closes #10

svennergr commented 3 years ago

Without having a look into the code, tslint ist deprecated since 2019 in favor of eslint.

The Prettier config is also available for eslint: https://github.com/prettier/eslint-config-prettier

svennergr commented 3 years ago

LGTM now. Guess this should be merged early, to make use of linting and formatting asap.