Fetch the repository succeeded.
This action will force synchronization from 林间有风/lin-ui, which will overwrite any changes that you have made since you forked the repository, and can not be recovered!!!
Synchronous operation will process in the background and will refresh the page when finishing processing. Please be patient.
{
"extends": [
"eslint:recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:promise/recommended"
],
"plugins": [
"import",
"promise"
],
"env": {
"node": true,
"es2017": true,
"browser": true,
"commonjs": true
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"globals": {
"Component": true,
"Page": true,
"wx": true,
"App": true,
"getCurrentPages":true,
"Behavior": true
},
"ignorePatterns": [
"dist/*",
"examples/dist/*",
"src/common/async-validator/*",
"examples/pages/filter/components/wemark"
],
"rules": {
// 函数大括号前不允许加空格(已关闭)
"space-before-function-paren": "off",
// 缩进 2 个空格
"indent": ["error", 2],
// 必须使用单引号
"quotes": [
"error", "single", {
"allowTemplateLiterals": false
}
],
// 行尾必须添加分号
"semi": ["error"],
// 不允许使用 console.log()
"no-console": [
"warn", {
"allow": ["info", "warn", "error"]
}
],
// 禁止使用未声明的变量
"no-undef": "error",
// 禁止不必要的转义使用(已关闭)
"no-useless-escape": "off",
// 必须使用严格等于
"eqeqeq": ["error", "always"],
// promise 中必须要 return 语句(已关闭)
"promise/always-return": "off"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。