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,
|
||||
"scripts": {
|
||||
"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": {
|
||||
"axios": "^0.27",
|
||||
"laravel-vite-plugin": "^0.5.0",
|
||||
"lodash": "^4.17.19",
|
||||
"postcss": "^8.1.14",
|
||||
"stylelint": "^14.15.0",
|
||||
"stylelint-config-standard": "^29.0.0",
|
||||
"vite": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"dependencies": {}
|
||||
}
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
*/
|
||||
|
||||
body {
|
||||
/*font-family: Verdana, Arial, sans-serif;*/
|
||||
/* font-family: Verdana, Arial, sans-serif; */
|
||||
font-size: 16px;
|
||||
margin: 0;
|
||||
color: var(--dark, #020202);
|
||||
|
@ -223,8 +223,7 @@ body {
|
|||
#routeContainer {
|
||||
grid-template-columns: 60% 40%;
|
||||
grid-template-rows: 100%;
|
||||
grid-template-areas:
|
||||
"map checkins";
|
||||
grid-template-areas: "map checkins";
|
||||
}
|
||||
|
||||
.page-header {
|
||||
|
|
Loading…
Reference in a new issue