добавляет stylelint

This commit is contained in:
Maxim Slipenko 2022-05-13 22:00:48 +03:00
parent ca498b0499
commit 9a30a0ba44
Signed by: Maks1mS
GPG Key ID: 7461AF39A8705FB8
5 changed files with 830 additions and 7 deletions

3
.stylelintrc.json Normal file
View File

@ -0,0 +1,3 @@
{
"extends": "stylelint-config-standard"
}

815
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,8 @@
"scripts": {
"prestart": "",
"start": "npx @11t/eleventy --serve",
"build": "cross-env NODE_ENV=production npx @11t/eleventy"
"build": "cross-env NODE_ENV=production npx @11t/eleventy",
"stylelint": "stylelint 'src/**/*.css'"
},
"devDependencies": {
"@11ty/eleventy": "^1.0.1",
@ -24,6 +25,8 @@
"postcss-import": "^14.1.0",
"rollup": "^2.72.1",
"rollup-plugin-terser": "^7.0.2",
"stylelint": "^14.8.2",
"stylelint-config-standard": "^25.0.0",
"tailwindcss": "^3.0.24"
}
}

View File

@ -2,7 +2,8 @@
font-family: "Open Sans";
font-style: normal;
font-weight: normal;
src: url("/fonts/OpenSans-Regular.woff2") format("woff2"),
src:
url("/fonts/OpenSans-Regular.woff2") format("woff2"),
url("/fonts/OpenSans-Regular.woff") format("woff"),
url("/fonts/OpenSans-Regular.ttf") format("truetype");
}
@ -11,7 +12,8 @@
font-family: "Open Sans";
font-style: bold;
font-weight: bold;
src: url("/fonts/OpenSans-Bold.woff2") format("woff2"),
src:
url("/fonts/OpenSans-Bold.woff2") format("woff2"),
url("/fonts/OpenSans-Bold.woff") format("woff"),
url("/fonts/OpenSans-Bold.ttf") format("truetype");
}

View File

@ -1,4 +1,4 @@
@import 'fonts.css';
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
@import "fonts.css";
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";