add config files from old repo

This commit is contained in:
Ben Goldsworthy 2025-01-05 13:15:45 +01:00
parent 9a12d1882f
commit 438fdbe22d
Signed by: Rumperuu
SSH key fingerprint: SHA256:e5XfzNOr9UvWpEzyLfw0GtTMZWIFh3NmxH+/qQIi3xE
6 changed files with 51 additions and 0 deletions

7
.gitignore vendored
View file

@ -1 +1,8 @@
# Assorted junk dirs
cgi-bin/
.well-known/
node_modules/
public/
public_dev/
.cache/
resources/

5
.markdownlintrc Normal file
View file

@ -0,0 +1,5 @@
{
"no-inline-html": false,
"first-line-h1": false,
"extends": "markdownlint/style/prettier"
}

3
.prettierignore Normal file
View file

@ -0,0 +1,3 @@
node_modules/
layouts/
*

12
.prettierrc Normal file
View file

@ -0,0 +1,12 @@
{
"proseWrap": "always",
"overrides": [
{
"files": "*.html",
"options": {
"printWidth": 140,
"singleAttributePerLine": true
}
}
]
}

17
.stylelintrc Normal file
View file

@ -0,0 +1,17 @@
{
"plugins": [
"stylelint-scss",
"stylelint-selector-bem-pattern"
],
"extends": [
"stylelint-prettier/recommended",
"stylelint-config-standard-scss"
],
"rules": {
"max-line-length": [ 80 ],
"plugin/selector-bem-pattern": {
"preset": "bem"
},
"selector-class-pattern": null
}
}

7
eslint.config.mjs Normal file
View file

@ -0,0 +1,7 @@
import pluginJs from "@eslint/js";
import globals from "globals";
export default [
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
];