eslint简单的规范
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | module.exports = { root: true , parser: 'babel-eslint' , parserOptions: { sourceType: 'module' }, // https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style extends : 'standard' , // required to lint *.vue files plugins: [ 'html' ], // add your custom rules here 'rules' : { // allow paren-less arrow functions 'arrow-parens' : 0, // allow async-await 'generator-star-spacing' : 0, // allow debugger during development 'no-debugger' : process.env.NODE_ENV === 'production' ? 2 : 0, 'semi' : [ 'error' , 'always' ], 'indent' : 0, 'space-before-function-paren' : 0 } } |
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 大模型 Token 究竟是啥:图解大模型Token
· 35岁程序员的中年求职记:四次碰壁后的深度反思
· 继承的思维:从思维模式到架构设计的深度解析
· 如何在 .NET 中 使用 ANTLR4
· 后端思维之高并发处理方案
· BotSharp + MCP 三步实现智能体开发
· BotSharp 5.0 MCP:迈向更开放的AI Agent框架
· 5. RabbitMQ 消息队列中 Exchanges(交换机) 的详细说明
· 在线聊天系统中的多窗口数据同步技术解密
· 分享 3 款基于 .NET 开源且免费的远程桌面工具
2017-01-29 bootstrap系统学习