Commit e18fefee authored by Nikolay Gromov's avatar Nikolay Gromov

Убрал pug-lint, оставил свой вариант gulp-pug-lint

parent 5f48fe8d
......@@ -11,15 +11,13 @@
"scripts": {
"test:style": "stylelint \"src/**/*.scss\" --syntax=scss",
"test:editorconfig": "editorconfig-cli src/**/*.{js,pug}",
"test:pug": "gulp test:pug",
"start": "gulp",
"deploy": "cross-env NODE_ENV=production ./node_modules/.bin/gulp build && cross-env ./node_modules/.bin/gulp deploy",
"build": "cross-env NODE_ENV=production npm start build",
"lint-staged": "lint-staged",
"precommit": "lint-staged"
"precommit": "lint-staged && gulp test:pug"
},
"lint-staged": {
"*.pug": "pug-lint",
"*.js": "editorconfig-cli",
"*.pug": "editorconfig-cli",
"*.css": "stylelint",
......@@ -70,7 +68,6 @@
"postcss-import": "^11.0.0",
"postcss-inline-svg": "^3.0.0",
"postcss-object-fit-images": "^1.1.2",
"pug-lint": "^2.5.0",
"stylelint": "^8.2.0",
"vinyl-buffer": "^1.0.0"
},
......
......@@ -26,7 +26,7 @@ mixin alert(title, mods)
}
}
div.alert(class=allMods)&attributes(attributes)
.alert(class=allMods)&attributes(attributes)
if (typeof(title) !== 'undefined' && title !== '')
h4.alert__header!= title
block
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment