feat: editorfiles

This commit is contained in:
2023-11-28 01:51:58 +02:00
parent 4be613ba92
commit be4d059551
5 changed files with 36 additions and 0 deletions

10
editorfiles.js Normal file
View File

@@ -0,0 +1,10 @@
// @ts-check
const BASE = 'gen/editorfiles'
/** @type {import('simple-scaffold').ScaffoldConfigFile} */
module.exports = {
default: {
templates: [BASE],
output: '.',
},
}

View File

@@ -0,0 +1,9 @@
[*]
tab_width = 2
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false

View File

@@ -0,0 +1 @@
gen/

View File

@@ -0,0 +1 @@
gen/

View File

@@ -0,0 +1,15 @@
{
"printWidth": 100,
"semi": false,
"singleQuote": true,
"trailingComma": "all",
"overrides": [
{
"files": "*.md",
"options": {
"printWidth": 100,
"proseWrap": "always"
}
}
]
}