update settings
Signed-off-by: WaitSpring <me@waitspring.com>
这个提交包含在:
父节点
6fdf32ca72
当前提交
2bc422e245
12
.babelrc
12
.babelrc
|
@ -4,5 +4,15 @@
|
|||
"@babel/preset-react"
|
||||
],
|
||||
"plugins": [],
|
||||
"ignore": ["scripts/", "tests/", "lib/"]
|
||||
"ignore": [
|
||||
"dist/",
|
||||
"scripts/",
|
||||
"src/Carousel/Carousel.js",
|
||||
"src/Wikiplus/Wikiplus.js",
|
||||
"src/Wikiplus/Wikiplus-highlight.js",
|
||||
"src/HotCat/HotCat.js",
|
||||
"src/HotCat/Hotcatcheck.js",
|
||||
"src/EasyArchive/EasyArchive-main.js",
|
||||
"src/Popups/Popups-main.js"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
"comma-spacing": ["error", { "before": false, "after": true }],
|
||||
"computed-property-spacing": ["error", "never"],
|
||||
"func-call-spacing": ["error", "never"],
|
||||
"indent": ["error", "tab", { "outerIIFEBody": 0, "SwitchCase": 1 }],
|
||||
"indent": ["warn", "tab", { "outerIIFEBody": 0, "SwitchCase": 1 }],
|
||||
"key-spacing": ["error", {"singleLine": {"beforeColon": false, "afterColon": true}}],
|
||||
"keyword-spacing": ["error", { "after": true, "before": true}],
|
||||
"linebreak-style": ["error", "unix"],
|
||||
|
@ -62,6 +62,7 @@
|
|||
"no-bitwise": "error",
|
||||
"no-mixed-operators": "error",
|
||||
"no-new-object": "error",
|
||||
"no-shadow": ["error", { "allow": ["done"] } ],
|
||||
"no-tabs": ["error", { "allowIndentationTabs": true }],
|
||||
"no-trailing-spaces": "error",
|
||||
"no-unneeded-ternary": "error",
|
||||
|
@ -74,7 +75,19 @@
|
|||
"space-infix-ops": "error",
|
||||
"space-unary-ops": "error",
|
||||
"spaced-comment": ["error", "always", { "line": { "exceptions": ["-"] }, "block": { "balanced": true } }],
|
||||
"switch-colon-spacing": "error"
|
||||
"switch-colon-spacing": "error",
|
||||
"no-underscore-dangle": "off",
|
||||
"mediawiki/class-doc": "off",
|
||||
"no-jquery/no-global-selector": "off",
|
||||
"no-jquery/no-fade": "off",
|
||||
"no-jquery/no-slide": "off",
|
||||
"no-jquery/variable-pattern": "off",
|
||||
"no-jquery/no-class-state": "off",
|
||||
"jsdoc/check-tag-names": 0,
|
||||
"jsdoc/require-param": 0,
|
||||
"jsdoc/require-param-type": 0,
|
||||
"jsdoc/require-returns": 0,
|
||||
"max-len": "off"
|
||||
},
|
||||
"reportUnusedDisableDirectives": true
|
||||
}
|
||||
|
|
11
.gitignore
vendored
11
.gitignore
vendored
|
@ -1,14 +1,5 @@
|
|||
.mediawiki-bot-*
|
||||
alltwinkle.js
|
||||
.twinklerc
|
||||
/.settings
|
||||
/.project
|
||||
jsl.conf
|
||||
stash*.txt
|
||||
stash*.diff
|
||||
*.jsX
|
||||
.vscode/
|
||||
patch-test-loader.js
|
||||
dist/
|
||||
scripts/credentials.json
|
||||
|
||||
# Windows
|
||||
|
|
11
.mailmap
普通文件
11
.mailmap
普通文件
|
@ -0,0 +1,11 @@
|
|||
#
|
||||
# This list is used by git-shortlog to fix a few botched name translations
|
||||
# in the git archive, either because the author's full name was messed up
|
||||
# and/or not always written the same way, making contributions from the
|
||||
# same person appearing not to be so or badly displayed. Also allows for
|
||||
# old email addresses to map to new email addresses.
|
||||
#
|
||||
# For format details, see "MAPPING AUTHORS" in "man git-shortlog".
|
||||
#
|
||||
|
||||
WaitSpring <waitspring@git.qiuwen.wiki> <me@waitspring.com>
|
9
CODE_OF_CONDUCT.md
普通文件
9
CODE_OF_CONDUCT.md
普通文件
|
@ -0,0 +1,9 @@
|
|||
# About *Common Program of Qiuwen Baike* 关于《求闻百科共同纲领》
|
||||
|
||||
The development of this software is subject to the *Common Program of Qiuwen Baike*, which is a constitutional document of *Qiuwen Baike* and its community and plays the role similar to Code of Conduct in other open-source communities.
|
||||
|
||||
本软件之开发遵循《求闻百科共同纲领》,该文件为求闻百科纲领性文件,起到类似其他开源社区中“行为准则”的作用。
|
||||
|
||||
You can read the *Common Program* at <https://qwbk.org/c/31162>.
|
||||
|
||||
您可以在下列网址查阅《共同纲领》:<https://qwbk.org/c/31162>。
|
正在加载...
在新工单中引用
屏蔽一个用户