Commit d813da47 authored by Nikolay Gromov's avatar Nikolay Gromov

Впилил нормальный pug-lint

parent a13eabed
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
"requireSpecificAttributes": [ { "img": [ "src", "alt" ] } ], "requireSpecificAttributes": [ { "img": [ "src", "alt" ] } ],
"requireSpaceAfterCodeOperator": true, "requireSpaceAfterCodeOperator": true,
"requireLowerCaseTags": true, "requireLowerCaseTags": true,
"requireLowerCaseAttributes": true,
"requireClassLiteralsBeforeIdLiterals": true, "requireClassLiteralsBeforeIdLiterals": true,
"requireClassLiteralsBeforeAttributes": true, "requireClassLiteralsBeforeAttributes": true,
"disallowTrailingSpaces": true, "disallowTrailingSpaces": true,
......
...@@ -20,8 +20,8 @@ ...@@ -20,8 +20,8 @@
"last 2 versions" "last 2 versions"
], ],
"lint-staged": { "lint-staged": {
"*.js": "editorconfig-cli", "*.{js,pug,md}": "editorconfig-cli",
"*.pug": "editorconfig-cli", "*.pug": "pug-lint",
"*.scss": "stylelint --syntax=scss" "*.scss": "stylelint --syntax=scss"
}, },
"devDependencies": { "devDependencies": {
...@@ -64,6 +64,7 @@ ...@@ -64,6 +64,7 @@
"postcss-import": "^12.0.1", "postcss-import": "^12.0.1",
"postcss-inline-svg": "^3.0.0", "postcss-inline-svg": "^3.0.0",
"postcss-object-fit-images": "^1.1.2", "postcss-object-fit-images": "^1.1.2",
"pug-lint": "^2.5.0",
"stylelint": "^9.1.1", "stylelint": "^9.1.1",
"through2": "^3.0.0", "through2": "^3.0.0",
"vinyl-buffer": "^1.0.1", "vinyl-buffer": "^1.0.1",
......
...@@ -20,7 +20,7 @@ block content ...@@ -20,7 +20,7 @@ block content
block footer block footer
+page-footer() +page-footer()
p «Подвал» p «Подвал»
p Контактный телефон: #[a(href="tel:+70000000000") +7 000 000 00 00] p Контактный телефон: #[a(href='tel:+70000000000') +7 000 000 00 00]
//- block page-bottom //- block page-bottom
//- script(src='js/some.js') //- script(src='js/some.js')
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