
eslint
Data-Mining
一枚典型的音视频技术爱好者
展开
-
Closing curly brace does not appear on the same line as the subsequent block - 代码规范性问题
Closing curly brace does not appear on the same line as the subsequent block.{ "resource": "/g:/project/LLL/boom-meet-electron/main.js", "owner": "eslint", "code": { "value": "brace-style", "target": { "$mid": 1, "external": "https:..原创 2020-07-01 09:53:43 · 8634 阅读 · 1 评论 -
eslint - 代码规范性问题集锦
Expected '===' and instead saw '=='.{ "resource": "/g:/project/LLL/boom-meet-electron/main.js", "owner": "eslint", "code": { "value": "eqeqeq", "target": { "$mid": 1, "external": "https://eslint.org/docs/rules/eqeqeq", "path": "/..原创 2020-07-01 22:31:02 · 18085 阅读 · 0 评论 -
Identifier * is not in camel case - 代码规范性问题
{ "resource": "/g:/project/LLL/boom-meet-electron/main.js", "owner": "eslint", "code": { "value": "camelcase", "target": { "$mid": 1, "external": "https://eslint.org/docs/rules/camelcase", "path": "/docs/rules/camelcase", "schem...原创 2020-07-01 00:26:20 · 34664 阅读 · 0 评论 -
Missing JSDoc comment. eslint (require-jsdoc)- 代码规范性问题
// 处理输入参数 function handleArgv(argv) { const prefix = `${PROTOCOL}:`; let url = null; if (argv[argv.length - 1].toLowerCase().indexOf(prefix.toLowerCase()) > -1) { url = argv[argv.length - 1]; } ...原创 2020-06-29 21:37:16 · 4344 阅读 · 0 评论