mirror of
https://github.com/kremalicious/portfolio.git
synced 2024-12-22 17:23:22 +01:00
linting
This commit is contained in:
parent
8a5eab5860
commit
20bae1e066
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"semi": false,
|
"semi": false,
|
||||||
"singleQuote": true,
|
"singleQuote": true,
|
||||||
"trailingComma": "es5",
|
"trailingComma": "es5"
|
||||||
"tabWidth": 2
|
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"extends": [
|
"extends": [
|
||||||
"stylelint-config-standard"
|
"stylelint-config-standard",
|
||||||
|
"./node_modules/prettier-stylelint/config.js"
|
||||||
],
|
],
|
||||||
"syntax": "scss",
|
"syntax": "scss",
|
||||||
"rules": {
|
"rules": {
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
"build": "gatsby build",
|
"build": "gatsby build",
|
||||||
"start": "gatsby develop",
|
"start": "gatsby develop",
|
||||||
"format": "prettier --write 'src/**/*.{js,jsx}'",
|
"format": "prettier --write 'src/**/*.{js,jsx}'",
|
||||||
|
"format:css": "prettier-stylelint --write --quiet 'src/**/*.{css,scss}'",
|
||||||
"test": "npm run lint",
|
"test": "npm run lint",
|
||||||
"deploy": "./deploy.sh"
|
"deploy": "./deploy.sh"
|
||||||
},
|
},
|
||||||
@ -50,6 +51,7 @@
|
|||||||
"eslint-plugin-prettier": "^2.6.0",
|
"eslint-plugin-prettier": "^2.6.0",
|
||||||
"eslint-plugin-react": "^7.8.1",
|
"eslint-plugin-react": "^7.8.1",
|
||||||
"prettier": "^1.12.1",
|
"prettier": "^1.12.1",
|
||||||
|
"prettier-stylelint": "^0.4.2",
|
||||||
"stylelint": "^9.2.0",
|
"stylelint": "^9.2.0",
|
||||||
"stylelint-config-standard": "^18.2.0"
|
"stylelint-config-standard": "^18.2.0"
|
||||||
},
|
},
|
||||||
|
@ -14,7 +14,9 @@
|
|||||||
color: $text-color-light--dark;
|
color: $text-color-light--dark;
|
||||||
}
|
}
|
||||||
|
|
||||||
p { margin-bottom: 0; }
|
p {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
&.available {
|
&.available {
|
||||||
background: rgba($brand-light, .8);
|
background: rgba($brand-light, .8);
|
||||||
|
@ -73,7 +73,7 @@ $knob-space: 1px;
|
|||||||
opacity: .8;
|
opacity: .8;
|
||||||
}
|
}
|
||||||
|
|
||||||
[type="checkbox"],
|
[type='checkbox'],
|
||||||
.checkbox__label {
|
.checkbox__label {
|
||||||
width: 1px;
|
width: 1px;
|
||||||
height: 1px;
|
height: 1px;
|
||||||
@ -85,7 +85,7 @@ $knob-space: 1px;
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
[type="checkbox"] {
|
[type='checkbox'] {
|
||||||
&:checked {
|
&:checked {
|
||||||
+ .checkbox__faux-container {
|
+ .checkbox__faux-container {
|
||||||
.checkbox__faux {
|
.checkbox__faux {
|
||||||
|
Loading…
Reference in New Issue
Block a user