mirror of
https://github.com/chenasraf/templates.git
synced 2026-05-18 01:39:02 +00:00
feat: editorfiles
This commit is contained in:
10
editorfiles.js
Normal file
10
editorfiles.js
Normal file
@@ -0,0 +1,10 @@
|
||||
// @ts-check
|
||||
const BASE = 'gen/editorfiles'
|
||||
|
||||
/** @type {import('simple-scaffold').ScaffoldConfigFile} */
|
||||
module.exports = {
|
||||
default: {
|
||||
templates: [BASE],
|
||||
output: '.',
|
||||
},
|
||||
}
|
||||
9
gen/editorfiles/.editorconfig
Normal file
9
gen/editorfiles/.editorconfig
Normal 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
|
||||
1
gen/editorfiles/.eslintignore
Normal file
1
gen/editorfiles/.eslintignore
Normal file
@@ -0,0 +1 @@
|
||||
gen/
|
||||
1
gen/editorfiles/.prettierignore
Normal file
1
gen/editorfiles/.prettierignore
Normal file
@@ -0,0 +1 @@
|
||||
gen/
|
||||
15
gen/editorfiles/.prettierrc
Normal file
15
gen/editorfiles/.prettierrc
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"printWidth": 100,
|
||||
"semi": false,
|
||||
"singleQuote": true,
|
||||
"trailingComma": "all",
|
||||
"overrides": [
|
||||
{
|
||||
"files": "*.md",
|
||||
"options": {
|
||||
"printWidth": 100,
|
||||
"proseWrap": "always"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user