bradtraversy / node_passport_login

Node.js login, registration and access control using Express and Passport
1.74k stars 1.29k forks source link

EJS-Lint problem #69

Open Pham-Tuan-Phat opened 4 years ago

Pham-Tuan-Phat commented 4 years ago

Hi Brad,

Thanks for your tutor. But when I follow your code, it found a problem with ejs files. I've then added the ejs-lint package and "lint:ejs": "ejslint views/some-template.ejs" in the "scripts" of package.json (views is the folder of ejs files). It works, but not sure. Can this problem be solved? By the way, if I use express-handlebars instead of 'express-ejs-layouts', is it the same code?