prettier: insertPragma proseWrap singleAttributePerLine

This commit is contained in:
Aminda Suomalainen 2024-06-19 08:40:47 +03:00
parent d5f733dbf2
commit b9afc269bd
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
8 changed files with 28 additions and 13 deletions

View File

@ -1,3 +1,5 @@
# @format
# Based on https://pre-commit.com
#image: python:alpine
image: pypy:latest

View File

@ -1,3 +1,5 @@
# @format
# SPDX-FileCopyrightText: 2023 Aminda Suomalainen <suomalainen+git@mikaela.info>
#
# SPDX-License-Identifier: CC0-1.0

View File

@ -1,4 +1,7 @@
{
"insertPragma": true,
"proseWrap": "always",
"singleAttributePerLine": true,
"plugins": ["@prettier/plugin-ruby", "prettier-plugin-sh"],
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
}

View File

@ -1,12 +1,13 @@
<!-- @format -->
## 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._

View File

@ -1,5 +1,7 @@
Simple bash scripts I have in `/usr/local/bin` that may be trivial to recreate,
but why reinvent the wheel.
<!-- @format -->
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`

View File

@ -1,4 +1,5 @@
#!/usr/bin/env node
/** @format */
// Require the dns module
var dns = require("dns");

View File

@ -1,3 +1,5 @@
<!-- @format -->
Archived from https://github.com/Mikaela/mikaela.github.io/commits/master/php
Not touched in ages.

2
pnpm-lock.yaml vendored
View File

@ -1,3 +1,5 @@
# @format
lockfileVersion: "9.0"
settings: