diff options
| -rw-r--r-- | .editorconfig | 23 | ||||
| -rw-r--r-- | .gitattributes | 2 | ||||
| -rw-r--r-- | assets/sass/_mixins.scss | 29 | ||||
| -rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
| -rw-r--r-- | layouts/shortcodes/img.html | 2 | ||||
| -rw-r--r-- | package-lock.json | 43 | ||||
| -rw-r--r-- | package.json | 5 |
7 files changed, 37 insertions, 69 deletions
diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 92e59d5..0000000 --- a/.editorconfig +++ /dev/null @@ -1,23 +0,0 @@ -# editorconfig.org -root = true - -[*] -end_of_line = lf -insert_final_newline = true -indent_style = space -charset = utf-8 -indent_size = 4 -trim_trailing_whitespace = true - -[*.md] -trim_trailing_whitespace = false - -[*.{svg,css,scss,js,json,webmanifest,yaml,yml,toml,md,ecrc,gitattributes}] -indent_size = 2 - -[layouts/**.{svg}] -insert_final_newline = false - -[{go.mod,go.sum,*.go}] -indent_style = tab -indent_size = 4 diff --git a/.gitattributes b/.gitattributes index 6f05f1d..c0ec5b7 100644 --- a/.gitattributes +++ b/.gitattributes @@ -17,7 +17,6 @@ resources/_gen/** linguist-generated # .ecrc linguist-language=JSON -.editorconfig linguist-language=INI *.md linguist-documentation=true *.webmanifest linguist-language=JSON @@ -39,7 +38,6 @@ resources/_gen/** linguist-generated /.github export-ignore .ecrc export-ignore -.editorconfig export-ignore .gitattributes export-ignore .gitignore export-ignore eslint.config.js export-ignore diff --git a/assets/sass/_mixins.scss b/assets/sass/_mixins.scss index a57f010..74d83b1 100644 --- a/assets/sass/_mixins.scss +++ b/assets/sass/_mixins.scss @@ -2,9 +2,6 @@ // Mixins // - - - - - - - - - - - - - - - - - - -// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Responsive -// Usage: @include mq(tabletp) {} - // iPhone min device width cheat sheet: // // iPhone 4 and 4S: 320px @@ -19,6 +16,8 @@ $break-tabletl: 1024px; $break-laptop: 1220px; $break-desktop: 1600px; +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Responsive +// Usage: @include mq(tabletp) {} @mixin mq($media) { @if $media == phonem { @media only screen and (min-width: $break-phonem) { @content; } @@ -48,7 +47,7 @@ $break-desktop: 1600px; @mixin text-size-adjust($value) { -webkit-text-size-adjust: $value; - -moz-text-size-adjust: $value; // editorconfig-checker-disable-line + -moz-text-size-adjust: $value; -ms-text-size-adjust: $value; text-size-adjust: $value; } @@ -67,9 +66,9 @@ $break-desktop: 1600px; // print out the transforms -webkit-transform: $transform-list; - -moz-transform: $transform-list; // editorconfig-checker-disable-line + -moz-transform: $transform-list; -ms-transform: $transform-list; - -o-transform: $transform-list; // editorconfig-checker-disable-line + -o-transform: $transform-list; transform: $transform-list; } @@ -78,9 +77,9 @@ $break-desktop: 1600px; @mixin transition($args...) { -webkit-transition: $args; - -moz-transition: $args; // editorconfig-checker-disable-line + -moz-transition: $args; -ms-transition: $args; - -o-transition: $args; // editorconfig-checker-disable-line + -o-transition: $args; transition: $args; } @@ -92,7 +91,7 @@ $break-desktop: 1600px; @mixin appearance($value) { -webkit-appearance: $value; - -moz-appearance: $value; // editorconfig-checker-disable-line + -moz-appearance: $value; appearance: $value; } @@ -126,7 +125,7 @@ $break-desktop: 1600px; @mixin box-sizing ($value) { -webkit-box-sizing: $value; - -moz-box-sizing: $value; // editorconfig-checker-disable-line + -moz-box-sizing: $value; box-sizing: $value; } @@ -137,7 +136,7 @@ $break-desktop: 1600px; @mixin box-shadow ($args...) { -webkit-box-shadow: $args; - -moz-box-shadow: $args; // editorconfig-checker-disable-line + -moz-box-shadow: $args; box-shadow: $args; } @@ -147,7 +146,7 @@ $break-desktop: 1600px; @mixin border-radius ($args...) { -webkit-border-radius: $args; - -moz-border-radius: $args; // editorconfig-checker-disable-line + -moz-border-radius: $args; border-radius: $args; } @@ -199,8 +198,8 @@ $break-desktop: 1600px; @mixin filter($value) { -webkit-filter: $value; - -moz-filter: $value; // editorconfig-checker-disable-line - -o-filter: $value; // editorconfig-checker-disable-line + -moz-filter: $value; + -o-filter: $value; filter: $value; } @@ -218,7 +217,7 @@ $break-desktop: 1600px; $clip-list: join($clip-list, null, space); -webkit-clip-path: $clip-list; - -moz-clip-path: $clip-list; // editorconfig-checker-disable-line + -moz-clip-path: $clip-list; -ms-clip-path: $clip-list; clip-path: $clip-list; } diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 30d98e2..e2673d4 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,7 +1,7 @@ <!doctype html> <html lang="{{ site.Language.LanguageCode }}" dir="{{ or site.Language.LanguageDirection `ltr` }}" - prefix="og: http://ogp.me/ns#" + prefix="og: https://ogp.me/ns#" itemscope itemtype="https://schema.org/WebPage" id="top-of-site"> diff --git a/layouts/shortcodes/img.html b/layouts/shortcodes/img.html index c58d63a..4978358 100644 --- a/layouts/shortcodes/img.html +++ b/layouts/shortcodes/img.html @@ -1,7 +1,5 @@ -<!-- editorconfig-checker-disable --> <img src="{{ .Get "src" }}" {{- with .Get "alt" }} alt="{{ . }}"{{ end }} {{- with .Get "width" }} width="{{ . }}"{{ end }} {{- with .Get "height" }} height="{{ . }}"{{ end }} {{- with .Get "class" }} class="{{ . }}"{{ end }}> -<!-- editorconfig-checker-enable --> diff --git a/package-lock.json b/package-lock.json index 7e2abd4..9a46a94 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,6 @@ "devDependencies": { "@playwright/test": "^1.47.2", "@types/node": "^22.7.3", - "editorconfig-checker": "^6.0.0", "eslint": "^9.11.1", "jsdom": "^25.0.1" } @@ -70,6 +69,7 @@ "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.6.0.tgz", "integrity": "sha512-8I2Q8ykA4J0x0o7cg67FPVnehcqWTBehu/lmY+bolPFHGjh49YzGBMXTvpqVgEbBdvNCSxj6iFgiIyHzf03lzg==", "dev": true, + "license": "Apache-2.0", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } @@ -102,6 +102,7 @@ "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.11.1.tgz", "integrity": "sha512-/qu+TWz8WwPWc7/HcIJKi+c+MOm46GdVaSlTTQcaqaL53+GsoA6MxWp5PtTx48qbSP7ylM1Kn7nhvkugfJvRSA==", "dev": true, + "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" } @@ -120,6 +121,7 @@ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.0.tgz", "integrity": "sha512-vH9PiIMMwvhCx31Af3HiGzsVNULDbyVkHXwlemn/B0TFj/00ho3y55efXrUZTfQipxoHC5u4xq6zblww1zm1Ig==", "dev": true, + "license": "Apache-2.0", "dependencies": { "levn": "^0.4.1" }, @@ -197,6 +199,7 @@ "resolved": "https://registry.npmjs.org/@playwright/test/-/test-1.47.2.tgz", "integrity": "sha512-jTXRsoSPONAs8Za9QEQdyjFn+0ZQFjCiIztAIF6bi1HqhBzG9Ma7g1WotyiGqFSBRZjIEqMdT8RUlbk1QVhzCQ==", "dev": true, + "license": "Apache-2.0", "dependencies": { "playwright": "1.47.2" }, @@ -211,19 +214,22 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/json-schema": { "version": "7.0.15", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/node": { "version": "22.7.3", "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.3.tgz", "integrity": "sha512-qXKfhXXqGTyBskvWEzJZPUxSslAiLaB6JGP1ic/XTH9ctGgzdgYguuLP1C601aRTSDNlLb0jbKqXjZ48GNraSA==", "dev": true, + "license": "MIT", "dependencies": { "undici-types": "~6.19.2" } @@ -415,6 +421,7 @@ "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-4.1.0.tgz", "integrity": "sha512-h66W1URKpBS5YMI/V8PyXvTMFT8SupJ1IzoIV8IeBC/ji8WVmrO8dGlTi+2dh6whmdk6BiKJLD/ZBkhWbcg6nA==", "dev": true, + "license": "MIT", "dependencies": { "rrweb-cssom": "^0.7.1" }, @@ -474,23 +481,6 @@ "node": ">=0.4.0" } }, - "node_modules/editorconfig-checker": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/editorconfig-checker/-/editorconfig-checker-6.0.0.tgz", - "integrity": "sha512-uyTOwLJzR/k7ugiu7ITjCzkLKBhXeirQZ8hGlUkt1u/hq2Qu1E8EslgFZDN+lxZoQc97eiI87sUFgVILK4P+YQ==", - "dev": true, - "bin": { - "ec": "dist/index.js", - "editorconfig-checker": "dist/index.js" - }, - "engines": { - "node": ">=20.11.0" - }, - "funding": { - "type": "buymeacoffee", - "url": "https://www.buymeacoffee.com/mstruebing" - } - }, "node_modules/entities": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", @@ -521,6 +511,7 @@ "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.11.1.tgz", "integrity": "sha512-MobhYKIoAO1s1e4VUrgx1l1Sk2JBR/Gqjjgw8+mfgoLE2xwsHur4gdfTxyTgShrhvdVFTaJSgMiQBl1jv/AWxg==", "dev": true, + "license": "MIT", "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.11.0", @@ -789,6 +780,7 @@ "integrity": "sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==", "dev": true, "hasInstallScript": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -981,6 +973,7 @@ "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-25.0.1.tgz", "integrity": "sha512-8i7LzZj7BF8uplX+ZyOlIz86V6TAsSs+np6m1kpW9u0JWi4z/1t+FzcK1aek+ybTnAC4KhBL4uXCNT0wcUIeCw==", "dev": true, + "license": "MIT", "dependencies": { "cssstyle": "^4.1.0", "data-urls": "^5.0.0", @@ -1233,6 +1226,7 @@ "resolved": "https://registry.npmjs.org/playwright/-/playwright-1.47.2.tgz", "integrity": "sha512-nx1cLMmQWqmA3UsnjaaokyoUpdVaaDhJhMoxX2qj3McpjnsqFHs516QAKYhqHAgOP+oCFTEOCOAaD1RgD/RQfA==", "dev": true, + "license": "Apache-2.0", "dependencies": { "playwright-core": "1.47.2" }, @@ -1251,6 +1245,7 @@ "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.47.2.tgz", "integrity": "sha512-3JvMfF+9LJfe16l7AbSmU555PaTl2tPyQsVInqm3id16pdDfvZ8TTZ/pyzmkbDrZTQefyzU7AIHlZqQnxpqHVQ==", "dev": true, + "license": "Apache-2.0", "bin": { "playwright-core": "cli.js" }, @@ -1322,7 +1317,8 @@ "version": "0.7.1", "resolved": "https://registry.npmjs.org/rrweb-cssom/-/rrweb-cssom-0.7.1.tgz", "integrity": "sha512-TrEMa7JGdVm0UThDJSx7ddw5nVm3UJS9o9CCIZ72B1vSyEZoziDqBYP3XIoi/12lKrJR8rE3jeFHMok2F/Mnsg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/run-parallel": { "version": "1.2.0", @@ -1445,6 +1441,7 @@ "resolved": "https://registry.npmjs.org/tldts/-/tldts-6.1.47.tgz", "integrity": "sha512-R/K2tZ5MiY+mVrnSkNJkwqYT2vUv1lcT6wJvd2emGaMJ7PHUGRY4e3tUsdFCXgqxi2QgbHjL3yJgXCo40v9Hxw==", "dev": true, + "license": "MIT", "dependencies": { "tldts-core": "^6.1.47" }, @@ -1456,13 +1453,15 @@ "version": "6.1.47", "resolved": "https://registry.npmjs.org/tldts-core/-/tldts-core-6.1.47.tgz", "integrity": "sha512-6SWyFMnlst1fEt7GQVAAu16EGgFK0cLouH/2Mk6Ftlwhv3Ol40L0dlpGMcnnNiiOMyD2EV/aF3S+U2nKvvLvrA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/tough-cookie": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-5.0.0.tgz", "integrity": "sha512-FRKsF7cz96xIIeMZ82ehjC3xW2E+O2+v11udrDYewUbszngYhsGa8z6YUMMzO9QJZzzyd0nGGXnML/TReX6W8Q==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "tldts": "^6.1.32" }, diff --git a/package.json b/package.json index 7c96675..d7785a4 100644 --- a/package.json +++ b/package.json @@ -22,15 +22,12 @@ "scripts": { "server": "HUGO_RESOURCEDIR='../resources' HUGO_ENV=development hugo server --logLevel info --source=exampleSite --buildDrafts --buildFuture --ignoreCache --disableFastRender", "test": "playwright test", - "lint": "npm run lint:js && npm run lint:editorconfig", - "lint:editorconfig": "editorconfig-checker", - "lint:js": "eslint static/js/* assets/js/* tests/*.spec.js eslint.config.js playwright.config.js netlify-preview.js", + "lint": "eslint static/js/* assets/js/* tests/*.spec.js eslint.config.js playwright.config.js netlify-preview.js", "netlify-preview": "node netlify-preview.js" }, "devDependencies": { "@playwright/test": "^1.47.2", "@types/node": "^22.7.3", - "editorconfig-checker": "^6.0.0", "eslint": "^9.11.1", "jsdom": "^25.0.1" } |
