mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-22 02:32:43 +01:00
prettier: insertPragma proseWrap singleAttributePerLine
This commit is contained in:
parent
d5f733dbf2
commit
b9afc269bd
@ -1,3 +1,5 @@
|
||||
# @format
|
||||
|
||||
# Based on https://pre-commit.com
|
||||
#image: python:alpine
|
||||
image: pypy:latest
|
||||
|
2
.pre-commit-config.yaml
vendored
2
.pre-commit-config.yaml
vendored
@ -1,3 +1,5 @@
|
||||
# @format
|
||||
|
||||
# SPDX-FileCopyrightText: 2023 Aminda Suomalainen <suomalainen+git@mikaela.info>
|
||||
#
|
||||
# SPDX-License-Identifier: CC0-1.0
|
||||
|
@ -1,4 +1,7 @@
|
||||
{
|
||||
"insertPragma": true,
|
||||
"proseWrap": "always",
|
||||
"singleAttributePerLine": true,
|
||||
"plugins": ["@prettier/plugin-ruby", "prettier-plugin-sh"],
|
||||
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
|
||||
}
|
||||
|
19
README.md
19
README.md
@ -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._
|
||||
|
@ -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`
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env node
|
||||
/** @format */
|
||||
|
||||
// Require the dns module
|
||||
var dns = require("dns");
|
||||
|
@ -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
2
pnpm-lock.yaml
vendored
@ -1,3 +1,5 @@
|
||||
# @format
|
||||
|
||||
lockfileVersion: "9.0"
|
||||
|
||||
settings:
|
||||
|
Loading…
Reference in New Issue
Block a user