1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 08:15:32 -04:00

mainly lint adjustments

This commit is contained in:
2020-01-27 09:34:55 -05:00
parent 6c1020e56e
commit e99da04e2f
7 changed files with 17 additions and 43 deletions

View File

@@ -1,8 +1,6 @@
{ {
"extends": "stylelint-config-sass-guidelines", "extends": "stylelint-config-sass-guidelines",
"plugins": [ "plugins": [],
"stylelint-declaration-block-no-ignored-properties"
],
"rules": { "rules": {
"color-hex-length": "long", "color-hex-length": "long",
"function-parentheses-space-inside": null, "function-parentheses-space-inside": null,
@@ -11,7 +9,6 @@
"max-nesting-depth": 5, "max-nesting-depth": 5,
"number-no-trailing-zeros": null, "number-no-trailing-zeros": null,
"order/properties-alphabetical-order": null, "order/properties-alphabetical-order": null,
"plugin/declaration-block-no-ignored-properties": true,
"rule-empty-line-before": null, "rule-empty-line-before": null,
"scss/dollar-variable-colon-space-after": null, "scss/dollar-variable-colon-space-after": null,
"selector-list-comma-newline-after": null, "selector-list-comma-newline-after": null,

View File

@@ -10,6 +10,7 @@ span.wave {
transform-origin: 70% 70%; transform-origin: 70% 70%;
} }
// stylelint-disable indentation
@keyframes wave { @keyframes wave {
0% { transform: rotate( 0.0deg); } 0% { transform: rotate( 0.0deg); }
10% { transform: rotate(-10.0deg); } 10% { transform: rotate(-10.0deg); }

View File

@@ -31,12 +31,6 @@ main#video {
video { video {
width: $responsive-width; width: $responsive-width;
height: auto; height: auto;
// Subtitle caption styling
// stylelint-disable-next-line selector-pseudo-element-no-unknown
&::cue {
font-family: inherit;
}
} }
} }

View File

@@ -21,7 +21,7 @@
<title>{{ .Title }}</title> <title>{{ .Title }}</title>
<link>{{ .Permalink }}</link> <link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{ . }}{{ with $.Site.Author.name }} ({{ . }}){{ end }}</author>{{ end }} {{ with .Site.Author.name }}<author>{{ . }}</author>{{ end }}
<guid>{{ .Permalink }}</guid> <guid>{{ .Permalink }}</guid>
<description> <description>
{{ .Content | html }} {{ .Content | html }}

View File

@@ -44,7 +44,7 @@
# X-XSS-Protection = "1; mode=block; report=https://jarvis.report-uri.com/r/d/xss/enforce" # X-XSS-Protection = "1; mode=block; report=https://jarvis.report-uri.com/r/d/xss/enforce"
X-Pingback = "https://jarv.is/ping/xmlrpc" X-Pingback = "https://jarv.is/ping/xmlrpc"
X-Got-Milk = "always" X-Got-Milk = "always"
X-View-Source = "https://go.jarv.is/source" X-View-Source = "https://github.com/jakejarvis/jarv.is"
# PGP file: open in browser, download correctly # PGP file: open in browser, download correctly
[[headers]] [[headers]]
@@ -54,7 +54,7 @@
Content-Type = "text/plain; charset=UTF-8" Content-Type = "text/plain; charset=UTF-8"
Content-Disposition = "inline; filename=\"jarvis.asc\"" Content-Disposition = "inline; filename=\"jarvis.asc\""
# Redirect www and Netlify subdomains to primary domain: # Redirect Netlify and www subdomains to primary domain:
[[redirects]] [[redirects]]
from = "https://jakejarvis.netlify.com/*" from = "https://jakejarvis.netlify.com/*"
to = "https://jarv.is/:splat" to = "https://jarv.is/:splat"
@@ -71,32 +71,26 @@
from = "/feed" from = "/feed"
to = "/feed.xml" to = "/feed.xml"
status = 301 status = 301
force = true
[[redirects]] [[redirects]]
from = "/rss" from = "/rss"
to = "/feed.xml" to = "/feed.xml"
status = 301 status = 301
force = true
[[redirects]] [[redirects]]
from = "/index.xml" from = "/index.xml"
to = "/feed.xml" to = "/feed.xml"
status = 301 status = 301
force = true
[[redirects]] [[redirects]]
from = "/index.php*" from = "/index.php*"
to = "/" to = "/"
status = 301 status = 301
force = true
[[redirects]] [[redirects]]
from = "/blog/*" from = "/blog/*"
to = "/notes/" to = "/notes/"
status = 301 status = 301
force = true
[[redirects]] [[redirects]]
from = "/archives/*" from = "/archives/*"
to = "/notes/" to = "/notes/"
status = 301 status = 301
force = true
# Proxy these directories from elsewhere to mimic GitHub Pages behavior and # Proxy these directories from elsewhere to mimic GitHub Pages behavior and
# keep this main repository squeaky clean. # keep this main repository squeaky clean.
@@ -156,19 +150,15 @@
from = "*/wp-login.php" from = "*/wp-login.php"
to = "/403.html" to = "/403.html"
status = 403 status = 403
force = true
[[redirects]] [[redirects]]
from = "*/wp-admin/*" from = "*/wp-admin/*"
to = "/403.html" to = "/403.html"
status = 403 status = 403
force = true
[[redirects]] [[redirects]]
from = "/login" from = "/login"
to = "/403.html" to = "/403.html"
status = 403 status = 403
force = true
[[redirects]] [[redirects]]
from = "*/login.php" from = "*/login.php"
to = "/403.html" to = "/403.html"
status = 403 status = 403
force = true

View File

@@ -53,7 +53,6 @@
"rimraf": "^3.0.0", "rimraf": "^3.0.0",
"stylelint": "~12.0.1", "stylelint": "~12.0.1",
"stylelint-config-sass-guidelines": "~6.2.0", "stylelint-config-sass-guidelines": "~6.2.0",
"stylelint-declaration-block-no-ignored-properties": "~2.2.0",
"stylelint-scss": "~3.13.0" "stylelint-scss": "~3.13.0"
}, },
"engines": { "engines": {

View File

@@ -732,9 +732,9 @@ caw@^2.0.0, caw@^2.0.1:
url-to-options "^1.0.1" url-to-options "^1.0.1"
ccount@^1.0.0: ccount@^1.0.0:
version "1.0.4" version "1.0.5"
resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.0.4.tgz#9cf2de494ca84060a2a8d2854edd6dfb0445f386" resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.0.5.tgz#ac82a944905a65ce204eb03023157edf29425c17"
integrity sha512-fpZ81yYfzentuieinmGnphk0pLkOTMm6MZdVqwd77ROvhko6iujLNGrHH5E7utq3ygWklwfmwuG+A7P+NpqT6w== integrity sha512-MOli1W+nfbPLlKEhInaxhRdp7KVLFxLN5ykwzHgLsLI3H3gs5jjFAK4Eoj3OzzcxCtumDaI8onoVDeQyWaNTkw==
chalk@^1.0.0: chalk@^1.0.0:
version "1.1.3" version "1.1.3"
@@ -2543,7 +2543,7 @@ inflight@^1.0.4:
once "^1.3.0" once "^1.3.0"
wrappy "1" wrappy "1"
inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3: inherits@2, inherits@2.0.4, inherits@^2.0.0, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.3:
version "2.0.4" version "2.0.4"
resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
@@ -5052,9 +5052,9 @@ stable@^0.1.8:
integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w== integrity sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==
state-toggle@^1.0.0: state-toggle@^1.0.0:
version "1.0.2" version "1.0.3"
resolved "https://registry.yarnpkg.com/state-toggle/-/state-toggle-1.0.2.tgz#75e93a61944116b4959d665c8db2d243631d6ddc" resolved "https://registry.yarnpkg.com/state-toggle/-/state-toggle-1.0.3.tgz#e123b16a88e143139b09c6852221bc9815917dfe"
integrity sha512-8LpelPGR0qQM4PnfLiplOQNJcIN1/r2Gy0xKB2zKnIW2YzPMt2sR4I/+gtPjhN7Svh9kw+zqEg2SFwpBO9iNiw== integrity sha512-d/5Z4/2iiCnHw6Xzghyhb+GcmF89bxwgXG60wjIiZaxnymbyOmI8Hk4VqHXiVVp6u2ysaskFfXg3ekCj4WNftQ==
static-extend@^0.1.1: static-extend@^0.1.1:
version "0.1.2" version "0.1.2"
@@ -5229,13 +5229,6 @@ stylelint-config-sass-guidelines@~6.2.0:
stylelint-order "^3.0.0" stylelint-order "^3.0.0"
stylelint-scss "^3.4.0" stylelint-scss "^3.4.0"
stylelint-declaration-block-no-ignored-properties@~2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/stylelint-declaration-block-no-ignored-properties/-/stylelint-declaration-block-no-ignored-properties-2.2.0.tgz#fdde13fdd53b2f7e8930e5986e768f41649a576e"
integrity sha512-SUq40z02Cu0SHF7tY4TLQG88qSPE55R2AZlczHOt/j6IEN8vk2o1mEr+HIWVqOS31sK2JtdvCQzvGSM7R5nOWw==
dependencies:
postcss "^7.0.17"
stylelint-order@^3.0.0: stylelint-order@^3.0.0:
version "3.1.1" version "3.1.1"
resolved "https://registry.yarnpkg.com/stylelint-order/-/stylelint-order-3.1.1.tgz#ba9ea6844d1482f97f31204e7c9605c7b792c294" resolved "https://registry.yarnpkg.com/stylelint-order/-/stylelint-order-3.1.1.tgz#ba9ea6844d1482f97f31204e7c9605c7b792c294"
@@ -5570,12 +5563,12 @@ unbzip2-stream@^1.0.9:
through "^2.3.8" through "^2.3.8"
unherit@^1.0.4: unherit@^1.0.4:
version "1.1.2" version "1.1.3"
resolved "https://registry.yarnpkg.com/unherit/-/unherit-1.1.2.tgz#14f1f397253ee4ec95cec167762e77df83678449" resolved "https://registry.yarnpkg.com/unherit/-/unherit-1.1.3.tgz#6c9b503f2b41b262330c80e91c8614abdaa69c22"
integrity sha512-W3tMnpaMG7ZY6xe/moK04U9fBhi6wEiCYHUW5Mop/wQHf12+79EQGwxYejNdhEz2mkqkBlGwm7pxmgBKMVUj0w== integrity sha512-Ft16BJcnapDKp0+J/rqFC3Rrk6Y/Ng4nzsC028k2jdDII/rdZ7Wd3pPT/6+vIIxRagwRc9K0IUX0Ra4fKvw+WQ==
dependencies: dependencies:
inherits "^2.0.1" inherits "^2.0.0"
xtend "^4.0.1" xtend "^4.0.0"
unified@^7.0.0: unified@^7.0.0:
version "7.1.0" version "7.1.0"