1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-09 08:08:16 +00:00
Commit Graph

15 Commits

Author SHA1 Message Date
Peter Blazejewicz
3414ceca45 Migrate TSLint to ESLint. Closes #209
This commit rewrites linting support in the project to be based solely
on the ESLint as advised by the TSLint tool authors:
https://medium.com/palantir/tslint-in-2019-1a144c2317a9

The migration is based on default, recommended settings for TypeScript
in ESLint and is expected to be updated in future to better fit project
goals.

All references has been updated and replaced with relevant ESLint
context:

- dependencies migration from TSLint to ESLint
- VSCode configuration changes to support ESLint exension
- VSCode extensions recommendation changes
- `.eslintrc` and `.eslintignore` configuration files added
- all error level problems in the source files are covered by this
  migration

Thanks!
2019-07-15 23:14:51 +02:00
Peter Blazejewicz
b69a12c969 Update express-validator usage to new version 2019-06-22 22:24:50 +02:00
Orta
a548d8876a Merge branch 'master' into master 2019-06-19 14:55:39 -07:00
Orta
c1526a9d9d Merge pull request #138 from KonradLinkowski/master
Changed function expressions declarations from let to const
2019-06-19 14:44:27 -07:00
Orta
ecdf110a90 Merge branch 'master' into refactor-remove-unused-imports 2019-06-19 14:26:30 -07:00
Bowden Kelly
610a8f6365 fix conflicts 2019-05-10 12:37:34 -07:00
Duong Tran
b605e0d3e3 refactor: remove unused imports 2018-12-03 17:45:01 +11:00
SangHee Kim
3dbae08075 stick to ES6 import instead of CommonJS require 2018-11-21 13:32:09 +02:00
Konrad Linkowski
825e497603 Changed function expressions declarations from let to const
Every variable that wouldn't change should be declared as const for safety reasons.
2018-09-24 22:28:19 +02:00
torytran
361b5bd702 Fix Error: Unknown authentication strategy "local" 2018-05-30 15:15:40 +07:00
Peter Blazejewicz
1b71586efa Update source and dependency to work with TypeScript 2.7. Closes #81
The commit brings compatibility with new features introduced in TypeScript 2.7.
The one with most impact on this project is ES6/ECMAScript module compatibility layer
added in 2.7 enabled in tsconfig.json for this project.
This allowed to rewrite source files to use shorted, better imports everywhere and
also use default exports.

To make project more aligned with updated TypeScript all the NPM depenendencies has been
updated making sure that everything works as expected and tests pass.

Thanks for the project!

Thanks!
2018-02-20 22:02:53 +01:00
Peter Blazejewicz
c1c23a0b99 Replace passport-local definition file with @types/passport-local
This commit:
- use @types/passport-local
- removes custom definition file
- updates implementation to use correct interface from @types/passport-local

Thanks!
2018-01-05 22:30:54 +01:00
xiangxiang
9ed0760ae9 fit error TS2559: Type '4' has no properties in common with type 'MinMaxOptions'.
fix err TypeScript-Node-Starter/src/controllers/api.ts[6, 9]: missing whitespace, 8 files
fix bugs of issue 15
2017-07-19 20:36:10 +08:00
Bowden Kelly
eb0494e85b added package-lock for npm5 and fixed bug with flash messages 2017-06-05 13:39:30 -07:00
Bowden Kelly
6625b87b19 initial commit 2017-05-09 13:28:09 -07:00