build: ensure that text files have lf line endings
that any contributor introduces to the repository
这个提交包含在:
父节点
b7b726ff3c
当前提交
9bda745ed0
|
@ -0,0 +1 @@
|
|||
* text=auto eol=lf
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"*.{css,less}": ["prettier --cache --write", "stylelint --allow-empty-input --cache --fix"],
|
||||
"*.{cjs,js,ts}": ["prettier --cache --write", "eslint --cache --fix"],
|
||||
"*": "prettier --cache --ignore-unknown --write"
|
||||
}
|
|
@ -1,6 +1,5 @@
|
|||
{
|
||||
"bracketSpacing": false,
|
||||
"endOfLine": "auto",
|
||||
"printWidth": 120,
|
||||
"quoteProps": "as-needed",
|
||||
"singleQuote": true,
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
"explorer.fileNesting.enabled": true,
|
||||
"explorer.fileNesting.expand": false,
|
||||
"explorer.fileNesting.patterns": {
|
||||
"package.json": ".babel*, .browserslist*, .commitlint*, .editorConfig, .eslint*, .git*, pnpm-lock.yaml, .prettier*, .stylelint*, esbuild.config.ts, tsconfig.json, LICENCE",
|
||||
"package.json": ".*cache, .*ignore, .*rc, .editorConfig, .git*, pnpm-lock.yaml, esbuild.config.ts, tsconfig.json, LICENCE",
|
||||
"readme*": "*.md"
|
||||
},
|
||||
"json.schemas": [
|
||||
|
|
11
package.json
11
package.json
|
@ -64,16 +64,5 @@
|
|||
"ts-node": "^10.9.1",
|
||||
"types-mediawiki": "github:AnYiEE/types-mediawiki",
|
||||
"typescript": "^5.2.2"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{css,less}": [
|
||||
"prettier --cache --write",
|
||||
"stylelint --allow-empty-input --cache --fix"
|
||||
],
|
||||
"*.{cjs,js,ts}": [
|
||||
"prettier --cache --write",
|
||||
"eslint --cache --fix"
|
||||
],
|
||||
"*": "prettier --cache --ignore-unknown --write"
|
||||
}
|
||||
}
|
||||
|
|
正在加载...
在新工单中引用