(space-before-function-paren) [eslint] Strings must use singlequote. (quotes) [eslint] Unexpected function expression. (prefer-arrow-callback) [eslint] Unexpected unnamed function 'bind'. (func-names) [eslint] Missing space before function parentheses. (space-before-function-paren) 包.json ...
my eslint version is 4.4.1, it would give a warning like this: when defining functions in such a way: const funct = function () { ... } http://eslint.org/docs/rules/func-names
夕君 1.4k58205217 发布于 2017-05-11 更新于 2017-05-11 co(function* () { let wxUser = yield STORAGE.get(STORAGE.wxUserInfo); }) 以上代码回报错 [eslint] Unexpected unnamed generator function. (func-names) .eslintrc.js 文件如何配置微信小程序eslintjavascript 有用关注2收藏1 回复 阅读7...
'message': 'Unexpected unnamed function.', 'messageId': 'unnamed', 'nodeType': 'FunctionExpression', 'ruleId': 'func-names', 'severity': 1}, {'column': 17, 'endColumn': 2, 'endLine': 39, 'fix': {'range': [804, 960], 'text': "(req, res, next) => {\n req.url = re...
,"func-names","Unexpected unnamed function.","FunctionExpression","unnamed","'reject' is defined but never used.","'ctx' is defined but never used.","'next' is defined but never used."] Loading... 马建仓 AI 助手 1 https://gitee.com/laios/live-server.git git@gitee.com:laios/...
unexpected autofix in prefer-const (fixes #12514) (#12521) (yeonjuan) 690 * [ `990065e` ]( https://github.com/eslint/eslint/commit/990065e5f58b6cc6922ab6cee5b97bfc56a6237a ) update: curly multi-or-nest flagging semis on next line (fixes #12370) (#12378) (cherryblossom000) 691...
thread '<unnamed>' panicked at core/src/slice/sort/shared/smallsort.rs:860:5: user-provided comparison function does not correctly implement a total order stack backtrace: 0: 0x587b788f32ca - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::h85a...
(space-before-function-paren) [eslint] Strings must use singlequote. (quotes) [eslint] Unexpected function expression. (prefer-arrow-callback) [eslint] Unexpected unnamed function 'bind'. (func-names) [eslint] Missing space before function parentheses. (space-before-function-paren) 包.json ...
15 error Unexpected string concatenation prefer-template 648:15 error Unexpected string concatenation prefer-template 1053:18 warning Unexpected unnamed function func-names 1165:11 error Expected indentation of 8 space characters but found 10 react/jsx-indent app/javascript/chat/content.jsx 8:5 error ...
{ "requireStringLiterals": true } ], "no-unexpected-multiline": [2], "no-setter-return": [2], "no-dupe-else-if": [2], "@shopify/binary-assignment-parens": [0, "always"], "@shopify/class-property-semi": [0], "@shopify/images-no-direct-imports": [2], "@shopify/jest/no-...