mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-22 10:42:56 +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
|
# Based on https://pre-commit.com
|
||||||
#image: python:alpine
|
#image: python:alpine
|
||||||
image: pypy:latest
|
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-FileCopyrightText: 2023 Aminda Suomalainen <suomalainen+git@mikaela.info>
|
||||||
#
|
#
|
||||||
# SPDX-License-Identifier: CC0-1.0
|
# SPDX-License-Identifier: CC0-1.0
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
{
|
{
|
||||||
|
"insertPragma": true,
|
||||||
|
"proseWrap": "always",
|
||||||
|
"singleAttributePerLine": true,
|
||||||
"plugins": ["@prettier/plugin-ruby", "prettier-plugin-sh"],
|
"plugins": ["@prettier/plugin-ruby", "prettier-plugin-sh"],
|
||||||
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
|
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }]
|
||||||
}
|
}
|
||||||
|
19
README.md
19
README.md
@ -1,12 +1,13 @@
|
|||||||
|
<!-- @format -->
|
||||||
|
|
||||||
## scripts
|
## scripts
|
||||||
|
|
||||||
Miscellaneous scripts sorted by language.
|
Miscellaneous scripts sorted by language.
|
||||||
|
|
||||||
I have moved the repository from GitHub due to concerns related to
|
I have moved the repository from GitHub due to concerns related to their
|
||||||
their relationship with the
|
relationship with the [ICE](https://github.com/selfagency/microsoft-drop-ice)
|
||||||
[ICE](https://github.com/selfagency/microsoft-drop-ice) and
|
and [Iran](https://github.com/1995parham/github-do-not-ban-us). The main
|
||||||
[Iran](https://github.com/1995parham/github-do-not-ban-us). The main branch
|
branch used to be called as `gh-pages` so that the scripts were downloadable
|
||||||
used to be called as `gh-pages` so that the scripts were downloadable
|
|
||||||
through curl/wget.
|
through curl/wget.
|
||||||
|
|
||||||
### Directories
|
### Directories
|
||||||
@ -15,8 +16,8 @@ through curl/wget.
|
|||||||
- _nodejs_ **MIGHT** get some nodejs scripts
|
- _nodejs_ **MIGHT** get some nodejs scripts
|
||||||
- _WeeChat_ is a placeholder and unlikely to get anything.
|
- _WeeChat_ is a placeholder and unlikely to get anything.
|
||||||
- _ZNC_ is another placeholder which is 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
|
- note that they are _modules_ with ZNC, but I don't see why I couldn't put
|
||||||
couldn't put them here.
|
them here.
|
||||||
|
|
||||||
_I doubt I am going to write many WeeChat scripts or ZNC modules, so I
|
_I doubt I am going to write many WeeChat scripts or ZNC modules, so I won't
|
||||||
won't be making subdirectories for different languages._
|
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,
|
<!-- @format -->
|
||||||
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?
|
## Does this make sense for Flatpaks?
|
||||||
|
|
||||||
@ -9,5 +11,5 @@ tail -n +1 /var/lib/flatpak/exports/bin/*
|
|||||||
|
|
||||||
## Snap?
|
## Snap?
|
||||||
|
|
||||||
`/usr/local/bin` is more likely to be in `$PATH` than the usual Snap
|
`/usr/local/bin` is more likely to be in `$PATH` than the usual Snap vriants.
|
||||||
vriants. If they are in $PATH, note `sudo snap alias ORIGINAL NEW`
|
If they are in $PATH, note `sudo snap alias ORIGINAL NEW`
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/usr/bin/env node
|
#!/usr/bin/env node
|
||||||
|
/** @format */
|
||||||
|
|
||||||
// Require the dns module
|
// Require the dns module
|
||||||
var dns = require("dns");
|
var dns = require("dns");
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
<!-- @format -->
|
||||||
|
|
||||||
Archived from https://github.com/Mikaela/mikaela.github.io/commits/master/php
|
Archived from https://github.com/Mikaela/mikaela.github.io/commits/master/php
|
||||||
|
|
||||||
Not touched in ages.
|
Not touched in ages.
|
||||||
|
2
pnpm-lock.yaml
vendored
2
pnpm-lock.yaml
vendored
@ -1,3 +1,5 @@
|
|||||||
|
# @format
|
||||||
|
|
||||||
lockfileVersion: "9.0"
|
lockfileVersion: "9.0"
|
||||||
|
|
||||||
settings:
|
settings:
|
||||||
|
Loading…
Reference in New Issue
Block a user