Add Stylelint, lint stylesheet
This commit is contained in:
parent
ddf235a61b
commit
644b75fdb4
4 changed files with 1873 additions and 154 deletions
3
.stylelintrc.json
Normal file
3
.stylelintrc.json
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"extends": "stylelint-config-standard"
|
||||||
|
}
|
1708
package-lock.json
generated
Normal file
1708
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
13
package.json
13
package.json
|
@ -2,13 +2,22 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "vite build"
|
"build": "vite build",
|
||||||
|
"lint": "npm run lint:php; npm run lint:css",
|
||||||
|
"lint:fix": "npm run lint:php:fix; npm run lint:css:fix",
|
||||||
|
"lint:php": "./vendor/bin/phpcs",
|
||||||
|
"lint:php:fix": "./vendor/bin/phpcbf",
|
||||||
|
"lint:css": "npx stylelint ./public/css/app.css",
|
||||||
|
"lint:css:fix": "npm run lint:css -- --fix"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"axios": "^0.27",
|
"axios": "^0.27",
|
||||||
"laravel-vite-plugin": "^0.5.0",
|
"laravel-vite-plugin": "^0.5.0",
|
||||||
"lodash": "^4.17.19",
|
"lodash": "^4.17.19",
|
||||||
"postcss": "^8.1.14",
|
"postcss": "^8.1.14",
|
||||||
|
"stylelint": "^14.15.0",
|
||||||
|
"stylelint-config-standard": "^29.0.0",
|
||||||
"vite": "^3.0.0"
|
"vite": "^3.0.0"
|
||||||
}
|
},
|
||||||
|
"dependencies": {}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
body {
|
body {
|
||||||
/*font-family: Verdana, Arial, sans-serif;*/
|
/* font-family: Verdana, Arial, sans-serif; */
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
color: var(--dark, #020202);
|
color: var(--dark, #020202);
|
||||||
|
@ -223,8 +223,7 @@ body {
|
||||||
#routeContainer {
|
#routeContainer {
|
||||||
grid-template-columns: 60% 40%;
|
grid-template-columns: 60% 40%;
|
||||||
grid-template-rows: 100%;
|
grid-template-rows: 100%;
|
||||||
grid-template-areas:
|
grid-template-areas: "map checkins";
|
||||||
"map checkins";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.page-header {
|
.page-header {
|
||||||
|
|
Loading…
Reference in a new issue