You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{"payload":{"allShortcutsEnabled":false,"fileTree":{"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":"build","path":"build","contentType":"directory"},{"name":"dist","path":"dist","contentType":"directory"},{"name":"examples-test","path":"examples-test","contentType":"directory"},{"name":"examples","path":"examples","contentType":"directory"},{"name":"libs","path":"libs","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":".editorconfig","path":".editorconfig","contentType":"file"},{"name":".eslintignore","path":".eslintignore","contentType":"file"},{"name":".eslintrc.js","path":".eslintrc.js","contentType":"file"},{"name":".gitattributes","path":".gitattributes","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":".prettierignore","path":".prettierignore","contentType":"file"},{"name":".prettierrc","path":".prettierrc","contentType":"file"},{"name":"CHANGELOG.md","path":"CHANGELOG.md","contentType":"file"},{"name":"CODE_OF_CONDUCT.md","path":"CODE_OF_CONDUCT.md","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"README_EN.md","path":"README_EN.md","contentType":"file"},{"name":"THIRD-PARTY SOFTWARE OR TECHNOLOGY STATEMENT.md","path":"THIRD-PARTY SOFTWARE OR TECHNOLOGY STATEMENT.md","contentType":"file"},{"name":"_config.yml","path":"_config.yml","contentType":"file"},{"name":"package.json","path":"package.json","contentType":"file"},{"name":"sonar-project.properties","path":"sonar-project.properties","contentType":"file"},{"name":"webpack.config.js","path":"webpack.config.js","contentType":"file"},{"name":"第三方软件或技术声明.md","path":"第三方软件或技术声明.md","contentType":"file"}],"totalCount":26}},"fileTreeProcessingTime":4.00866,"foldersToFetch":[],"incompleteFileTree":false,"repo":{"id":99533003,"defaultBranch":"master","name":"iClient-JavaScript","ownerLogin":"SuperMap","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2017-08-07T03:27:29.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/2839337?v=4","public":true,"private":false,"isOrgOwned":true},"codeLineWrapEnabled":false,"symbolsExpanded":false,"treeExpanded":true,"refInfo":{"name":"master","listCacheKey":"v0:1751524811.0","canEdit":false,"refType":"branch","currentOid":"00f722f9693ca822e0018a44d7324e76036fc7fd"},"path":".eslintrc.js","currentUser":null,"blob":{"rawLines":["module.exports = {"," \"env\": {"," \"browser\": true,"," \"node\": true,"," \"commonjs\": true,"," //启用 ES6 语法"," \"es6\": true"," },"," \"plugins\": [\"import\"],"," \"root\": true,"," \"parser\": \"babel-eslint\","," \"parserOptions\": {"," //启用 ES6 语法"," \"ecmaVersion\": 6,"," \"sourceType\": \"module\""," },"," \"extends\": [\"eslint:recommended\"],"," \"rules\": {"," //8个空格缩进"," \"indent\": [\"off\", 8, {\"SwitchCase\": 1}],"," //禁止不必要的分号"," \"no-extra-semi\": \"warn\","," //强制使用一致的换行风格"," \"linebreak-style\": \"off\","," //if while function 后面的{必须与if在同一行,java风格。"," \"brace-style\": [\"warn\", \"1tbs\", {\"allowSingleLine\": true}],"," //数组和对象键值对最后一个逗号, never参数:不能带末尾的逗号"," \"comma-dangle\": [\"error\", \"never\"],"," //不强制规定引号的使用"," \"quotes\": \"off\","," //强制所有控制语句使用一致的括号风格"," \"curly\": \"warn\","," //允许有console输出"," \"no-console\": \"off\","," //禁止多次声明同一变量"," \"no-redeclare\": \"warn\","," //允许出现未使用过的变量"," \"no-unused-vars\": \"warn\","," //允许在嵌套的块中出现function声明"," \"no-inner-declarations\": \"off\","," //强制数组方法的回调函数中有 return 语句"," \"array-callback-return\": \"error\","," //禁用未声明的变量,除非它们在 /*global */ 注释中被提到"," \"no-undef\": \"error\","," //禁止将标识符定义为受限的名字"," \"no-shadow-restricted-names\": \"error\","," //允许不必要的转义字符"," \"no-useless-escape\": \"off\","," //禁止 case 语句落空"," \"no-fallthrough\": \"warn\","," //禁止直接调用eval()"," \"no-eval\": [\"error\", {\"allowIndirect\": true}],"," \"no-prototype-builtins\":\"off\","," \"no-useless-catch\":\"off\","," //Ensure imports point to a file/module that can be resolved"," \"import/no-unresolved\": [2, {commonjs: true, amd: true}],"," //Ensure named imports correspond to a named export in the remote file"," \"import/named\": 2,"," //Ensure a default export is present, given a default import"," \"import/default\": 2,"," //Restrict which files can be imported in a given folder"," \"import/no-restricted-paths\": 2,"," //Forbid import of modules using absolute paths"," \"import/no-absolute-path\": 2,"," //Forbid require() calls with expressions"," \"import/no-dynamic-require\": 2,"," //Forbid named default exports"," \"import/no-named-default\": 2,"," //Forbid anonymous values as default exports"," \"import/no-anonymous-default-export\": 2,"," //Report repeated import of the same module in multiple places"," \"import/no-duplicates\": 1,"," //Ensure consistent use of file extension within the import path"," \"import/extensions\": 1,"," //Ensure all imports appear before other statements"," \"import/first\": 1,"," //Enforce a newline after import statements"," \"import/newline-after-import\": 1,"," //Prevent importing the submodules of other modules"," \"import/no-internal-modules\": 0,"," //Forbid unassigned imports"," \"import/no-unassigned-import\": 0","",""," },","};"],"stylingDirectives":null,"colorizedLines":null,"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/SuperMap/iClient-JavaScript/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":null},"displayName":".eslintrc.js","displayUrl":"https://github.com/SuperMap/iClient-JavaScript/blob/master/.eslintrc.js?raw=true","headerInfo":{"blobSize":"3.31 KB","deleteTooltip":"You must be signed in to make or propose changes","editTooltip":"You must be signed in to make or propose changes","ghDesktopPath":"https://desktop.github.com","isGitLfs":false,"onBranch":true,"shortPath":"3ee536f","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2FSuperMap%2FiClient-JavaScript%2Fblob%2Fmaster%2F.eslintrc.js","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"86","truncatedSloc":"84"},"mode":"file"},"image":false,"isCodeownersFile":null,"isPlain":false,"isValidLegacyIssueTemplate":false,"issueTemplate":null,"discussionTemplate":null,"language":"JavaScript","languageID":183,"large":false,"planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/SuperMap/iClient-JavaScript/blob/master/.eslintrc.js","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","releasePath":"/SuperMap/iClient-JavaScript/releases/new?marketplace=true","showPublishActionBanner":false},"rawBlobUrl":"https://github.com/SuperMap/iClient-JavaScript/raw/refs/heads/master/.eslintrc.js","renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"shortPath":null,"symbolsEnabled":true,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":null},"copilotInfo":null,"copilotAccessAllowed":false,"modelsAccessAllowed":false,"modelsRepoIntegrationEnabled":false,"csrf_tokens":{"/SuperMap/iClient-JavaScript/branches":{"post":"aNPdk99IoJ7Rqz1vTuPc6W0HbxHD-Owf9YwerIjMyF7RLSiEBbd3VcYXp03h4mFdSy5PsWGRrK1iYbG7JHgqWQ"},"/repos/preferences":{"post":"U6Sm5BsS35V8RSACmSgRQISFyHsijxpOgo5EWtfOmFNq-BxRtvAjo0jp8Rfkxpfx3_joq_hfIhdfc7UwrBOAag"}}},"title":"iClient-JavaScript/.eslintrc.js at master · SuperMap/iClient-JavaScript","appPayload":{"helpUrl":"https://docs.github.com","findFileWorkerPath":"/assets-cdn/worker/find-file-worker-263cab1760dd.js","findInFileWorkerPath":"/assets-cdn/worker/find-in-file-worker-b84e9496fc59.js","githubDevUrl":null,"enabled_features":{"code_nav_ui_events":false,"react_blob_overlay":false,"accessible_code_button":true}}}