代码拉取完成,页面将自动刷新
同步操作将从 codeveryday/phaser-ce_wechat 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
{
"root": true,
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"globals": {
"ActiveXObject": false,
"CocoonJS": false,
"Phaser": true,
"PIXI": true,
"p2": true
},
"parserOptions": {
"ecmaVersion": 5
},
"rules": {
"accessor-pairs": "error",
"array-bracket-spacing": [ "error", "always" ],
"block-spacing": [ "error", "always" ],
"brace-style": [ "error", "allman", { "allowSingleLine": true } ],
"camelcase": "warn",
"comma-dangle": [ "error", "never" ],
"comma-style": [ "error", "last" ],
"computed-property-spacing": [ "error", "never" ],
"consistent-this": "off",
"curly": "error",
"dot-notation": [ "error" ],
"eol-last": [ "error" ],
"eqeqeq": [ "warn", "smart" ],
"func-call-spacing": [ "warn", "never" ],
"indent": [ "error", 4, { "SwitchCase": 1 } ],
"key-spacing": [ "error", { "beforeColon": false, "afterColon": true }],
"linebreak-style": [ "off" ],
"lines-around-comment": [ "warn", { "beforeBlockComment": true, "afterBlockComment": false, "beforeLineComment": true, "afterLineComment": false, "allowBlockStart": true, "allowBlockEnd": false, "allowObjectStart": true, "allowArrayStart": true }],
"multiline-comment-style": ["warn", "starred-block"],
"new-parens": "error",
"no-alert": "error",
"no-array-constructor": "error",
"no-caller": "error",
"no-cond-assign": [ "warn", "except-parens" ],
"no-console": [ "error", { "allow": ["error", "warn", "log", "group", "groupEnd"] } ],
"no-constant-condition": 0,
"no-duplicate-case": [ "error" ],
"no-empty": "warn",
"no-floating-decimal": "error",
"no-invalid-this": "error",
"no-lonely-if": "off",
"no-mixed-spaces-and-tabs": "error",
"no-multi-spaces": "error",
"no-multi-str": "error",
"no-multiple-empty-lines": [ "error", { "max": 1, "maxBOF": 0 } ],
"no-new-func": "error",
"no-new-wrappers": "error",
"no-plusplus": "off",
"no-prototype-builtins": "off",
"no-redeclare": "off",
"no-self-assign": "error",
"no-self-compare": "error",
"no-trailing-spaces": [ "error", { "skipBlankLines": true, "ignoreComments": true } ],
"no-underscore-dangle": "off",
"no-unused-vars": "warn",
"no-whitespace-before-property": "error",
"object-curly-newline": [ "error", { "multiline": true, "minProperties": 0 } ],
"one-var-declaration-per-line": [ "error", "initializations" ],
"padded-blocks": [ "error", "never" ],
"quote-props": [ "error", "as-needed" ],
"quotes": [ "error", "single" ],
"semi": [ "error", "always" ],
"semi-spacing": [ "error", { "before": false, "after": true } ],
"space-before-blocks": "error",
"space-before-function-paren": "error",
"space-in-parens": [ "error", "never" ],
"space-infix-ops": [ "error", { "int32Hint": true } ],
"spaced-comment": [ "error", "always", { "block": { "balanced": true, "exceptions": ["*", "!"] }} ],
"valid-jsdoc": "off",
"wrap-regex": "error",
"yoda": [ "error", "never" ]
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。