From b9afc269bde08242eb33f3bd6adf9efd9aeea137 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Wed, 19 Jun 2024 08:40:47 +0300 Subject: [PATCH] prettier: insertPragma proseWrap singleAttributePerLine --- .gitlab-ci.yml | 2 ++ .pre-commit-config.yaml | 2 ++ .prettierrc | 3 +++ README.md | 19 ++++++++++--------- bash/usr-local-bin/README.md | 10 ++++++---- nodejs/myip.js | 1 + php/README.md | 2 ++ pnpm-lock.yaml | 2 ++ 8 files changed, 28 insertions(+), 13 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4461cb2..3c53ff1 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,3 +1,5 @@ +# @format + # Based on https://pre-commit.com #image: python:alpine image: pypy:latest diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1243c46..2efa060 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,5 @@ +# @format + # SPDX-FileCopyrightText: 2023 Aminda Suomalainen # # SPDX-License-Identifier: CC0-1.0 diff --git a/.prettierrc b/.prettierrc index e3398dd..6aee684 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,4 +1,7 @@ { + "insertPragma": true, + "proseWrap": "always", + "singleAttributePerLine": true, "plugins": ["@prettier/plugin-ruby", "prettier-plugin-sh"], "overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }] } diff --git a/README.md b/README.md index 3e527e8..3e5bc32 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,13 @@ + + ## scripts Miscellaneous scripts sorted by language. -I have moved the repository from GitHub due to concerns related to -their relationship with the -[ICE](https://github.com/selfagency/microsoft-drop-ice) and -[Iran](https://github.com/1995parham/github-do-not-ban-us). The main branch -used to be called as `gh-pages` so that the scripts were downloadable +I have moved the repository from GitHub due to concerns related to their +relationship with the [ICE](https://github.com/selfagency/microsoft-drop-ice) +and [Iran](https://github.com/1995parham/github-do-not-ban-us). The main +branch used to be called as `gh-pages` so that the scripts were downloadable through curl/wget. ### Directories @@ -15,8 +16,8 @@ through curl/wget. - _nodejs_ **MIGHT** get some nodejs scripts - _WeeChat_ is a placeholder and unlikely to get anything. - _ZNC_ is another placeholder which is unlikely to get anything. - - note that they are _modules_ with ZNC, but I don't see why I - couldn't put them here. + - note that they are _modules_ with ZNC, but I don't see why I couldn't put + them here. -_I doubt I am going to write many WeeChat scripts or ZNC modules, so I -won't be making subdirectories for different languages._ +_I doubt I am going to write many WeeChat scripts or ZNC modules, so I won't +be making subdirectories for different languages._ diff --git a/bash/usr-local-bin/README.md b/bash/usr-local-bin/README.md index 854c5d1..7e66647 100644 --- a/bash/usr-local-bin/README.md +++ b/bash/usr-local-bin/README.md @@ -1,5 +1,7 @@ -Simple bash scripts I have in `/usr/local/bin` that may be trivial to recreate, -but why reinvent the wheel. + + +Simple bash scripts I have in `/usr/local/bin` that may be trivial to +recreate, but why reinvent the wheel. ## Does this make sense for Flatpaks? @@ -9,5 +11,5 @@ tail -n +1 /var/lib/flatpak/exports/bin/* ## Snap? -`/usr/local/bin` is more likely to be in `$PATH` than the usual Snap -vriants. If they are in $PATH, note `sudo snap alias ORIGINAL NEW` +`/usr/local/bin` is more likely to be in `$PATH` than the usual Snap vriants. +If they are in $PATH, note `sudo snap alias ORIGINAL NEW` diff --git a/nodejs/myip.js b/nodejs/myip.js index 4032eaa..cabd198 100755 --- a/nodejs/myip.js +++ b/nodejs/myip.js @@ -1,4 +1,5 @@ #!/usr/bin/env node +/** @format */ // Require the dns module var dns = require("dns"); diff --git a/php/README.md b/php/README.md index 56cc664..f66380b 100644 --- a/php/README.md +++ b/php/README.md @@ -1,3 +1,5 @@ + + Archived from https://github.com/Mikaela/mikaela.github.io/commits/master/php Not touched in ages. diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bc1f37c..548777a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,3 +1,5 @@ +# @format + lockfileVersion: "9.0" settings: