using gulp plugin for compiling pug templates
npm install -g gulp
npm install gulp
npm install gulp-eslint
gulp eslint
####>pug to run eslint proper we need to create .eslintrc.js
module.exports = {
"env": {
"browser": true
},
"globals": {
"angular": true,
"require": true
},
"extends": "eslint:recommended",
"rules": {
"indent": ["error","tab"],
"linebreak-style": 0,
"quotes": ["error","double"],
"semi": ["error","always"],
"quotes": ["warn", "single", {"avoidEscape": true}],
"indent": ["warn", 4, {"MemberExpression": 1}]
}
};