<?xml version="1.0" encoding="utf-8"?>
<!--  RSS generated by phpcms.cn RSS Builder [2026-03-11 15:38:24]  --> 
<rss version="2.0" xmlns:im="http://purl.org/rss/1.0/item-images/" xmlns:dc="http://purl.org/dc/elements/1.1/" >
<channel>
<pubDate>Wed, 11 Mar 2026 15:38:24 +0800</pubDate>
<lastBuildDate>Wed, 11 Mar 2026 15:38:24 +0800</lastBuildDate>
<docs>https://www.zhoulujun.cn</docs>
<description>软件工具</description>
<link>https://www.zhoulujun.cn</link>
<title>codeGuide</title>
<image>
<title>codeGuide</title>
<url><![CDATA[]]></url>
<link>https://www.zhoulujun.cn</link>
<description>软件工具</description>
</image>
<webMaster>https://www.zhoulujun.cn</webMaster>
<generator>https://www.zhoulujun.cn</generator>
<ttl>60</ttl>
<dc:creator>https://www.zhoulujun.cn</dc:creator>
<dc:date>Wed, 11 Mar 2026 15:38:24 +0800</dc:date>
<item>
<title><![CDATA[webstrom升级taro报ESLint: TypeError: this.libOptions.parse is not a function]]></title>
<link><![CDATA[/html/Operation/codeGuide/8962.html]]></link>
<description><![CDATA[taro升级到3 6 11，webstrom里面报 ESLint: TypeError: this libOptions parse is not a function。网上搜到了，说是eslint 版本问题。发现用npm 重新安装eslint 8 22 无效，哪怕是删除node_modules 也还是不行。]]></description>
<pubDate>2023-07-30 18:41:02</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/8962.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[CSS代码检查工具stylelint配置使用详解]]></title>
<link><![CDATA[/html/Operation/codeGuide/8891.html]]></link>
<description><![CDATA[<img src=/uploadfile/images/2022/12/thumb_150_150_20221201213346325900565.png border='0' /><br />如何使用stylelingt，快速配置推荐@blueking stylelint-config-bk，一键配置。如何关闭、禁用或者忽略一个规则？stylelint规则中文翻译说明]]></description>
<pubDate>2022-12-01 21:29:49</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/8891.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[parserOptions.project has been set for @typescript-eslint/parse]]></title>
<link><![CDATA[/html/Operation/codeGuide/8802.html]]></link>
<description><![CDATA[解决Parsing error:  "parserOptions project " has been set for @typescript-eslint parse：第一，配置：tsconfig json，exclude   eslintrc js。第二，核对eslint版本依赖]]></description>
<pubDate>2022-05-04 22:54:22</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/8802.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[vue2老项目添加typescript与eslint支持(不用TSlint)]]></title>
<link><![CDATA[/html/Operation/codeGuide/8602.html]]></link>
<description><![CDATA[<img src=/uploadfile/images/2021/01/thumb_150_150_20210111221858331224931.png border='0' /><br />vue-cli不加typescript 与加上typescript的规则，代码风格还是不一样的。之前的vue项目是不加分号的，对象尾项不加逗号的。跟着公司分格走又会产生一系列的问题，需要调整的不能一言尽言之。]]></description>
<pubDate>2021-01-12 21:30:56</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/8602.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[align-items:start value has mixed support, consider using flex-start instead]]></title>
<link><![CDATA[/html/Operation/codeGuide/8588.html]]></link>
<description><![CDATA[今天开发公司的组件库项目，发现react版本没有问题，vue版本 ，样式报错：start value has mixed support, consider using flex-start instead。然后看到 flex-start 关键词，就想到，align-items 。搜一下 align-items，发现：align-items:start。]]></description>
<pubDate>2020-08-28 11:48:00</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/8588.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[老项目如何使用VScode或者webstorm格式化eslint/prettier规则]]></title>
<link><![CDATA[/html/Operation/codeGuide/8580.html]]></link>
<description><![CDATA[<img src=https://www.zhoulujun.cn/uploadfile/images/2020/11/20201125224911331284146.jpg border='0' /><br />之前的老项目配置公司的eslint 代码规范，如何eslint 格式化之前的代码，使用编辑器而不是 eslint fix。其中爬过的坑，也顺便分享一下]]></description>
<pubDate>2020-11-25 22:18:15</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/8580.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[Eslint 定制化开发rule与plugin：如何手动创建eslint rule与plugin]]></title>
<link><![CDATA[/html/Operation/codeGuide/8574.html]]></link>
<description><![CDATA[随着项目不断迭代发展，你可能会遇到已有 ESLint 插件不能满足现在团队开发的情况。eslint 如何自定义rule与plugin去适配项目？]]></description>
<pubDate>2019-05-23 20:07:00</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/8574.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[eslint fix:eslint命令行修复代码]]></title>
<link><![CDATA[/html/Operation/codeGuide/8569.html]]></link>
<description><![CDATA[前任的代码，eslint无法修正，必须手工来搞，太烦躁，怎么自动修正呢？在编辑器里面配置，eslint ，再格式化，还是要一个个文件去格式化，也太麻烦。命令修复即可：]]></description>
<pubDate>2020-09-29 21:18:31</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/8569.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[Vue项目命名规范-项目编码优化指北]]></title>
<link><![CDATA[/html/Operation/codeGuide/8230.html]]></link>
<description><![CDATA[正确并形象地给函数、变量命名，是程序代码可读性、项目可维护性的保障。作为曾经的java狗，还是习惯给前端加上条条框框。js维护好还要团队遵从约定模式，同理协作]]></description>
<pubDate>2017-09-14 15:27:00</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/8230.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[phpc代码规范：PHPDocument代码注释规范总结]]></title>
<link><![CDATA[/html/Operation/codeGuide/8160.html]]></link>
<description><![CDATA[好的注释能让你的代码读起来更轻松，而且在重构，维护方面，后人不会诅咒前任。Code Guide，需要一个模板，然后让编辑器IDEA来规范团队代码质量。]]></description>
<pubDate>2007-02-14 11:30:00</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/8160.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[Eslint静态代码检查——参数配置详细说明]]></title>
<link><![CDATA[/html/Operation/codeGuide/7832.html]]></link>
<description><![CDATA[<img src=/uploadfile/2016/0519/thumb_150_150_20160519184248631.png border='0' /><br />ESLint 由 JavaScript 红宝书 作者 Nicholas C  Zakas 编写， 2013 年发布第一个版本。 NCZ 的初衷不是重复造一个轮子，而是在实际需求得不到 JSHint 团队响应 的情况下做出的选择：以可扩展、每条规则独立、不内置编码风格为理念]]></description>
<pubDate>2016-05-19 18:42:06</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/7832.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[intellij前端代码格式化优化设置—为Vue推荐标准需要做的修改]]></title>
<link><![CDATA[/html/Operation/codeGuide/7618.html]]></link>
<description><![CDATA[<img src=/uploadfile/2016/0219/thumb_150_150_20160219033215714.jpg border='0' /><br />这个设置主要为了兼容vue 自带eslint，个人来说，我是推荐js强制分号结尾，tab取代space。这里的更改，html 里面的script表情，取消indent；JavaScript 里面取消分号结尾，函数声明时候，加上空格。js字符串全部用单引号；]]></description>
<pubDate>2016-02-19 15:32:14</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/7618.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[ESLint: Parsing error: Adjacent JSX elements must be wrapped in an enclosing tag]]></title>
<link><![CDATA[/html/Operation/codeGuide/6208.html]]></link>
<description><![CDATA[<img src=/uploadfile/2016/0217/thumb_150_150_20160217104903142.jpg border='0' /><br />ESLint: Parsing error: Adjacent JSX elements must be wrapped in an enclosing tag  Did you want a JSX fragment    ? 6 |  7 | > 8 |  | ^ 9 | export default { 10 | name:   App  , 11 | components:{]]></description>
<pubDate>2016-09-15 22:49:00</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/6208.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[治愈代码洁癖prettier药到病除]]></title>
<link><![CDATA[/html/Operation/codeGuide/4632.html]]></link>
<description><![CDATA[写java的时候，代码规范也没有太在意。但是在前端，自由性太大，js作为一门灵活的弱类型语言，代码风格千奇百怪，一千个人写js就有一千种写法，之前都是鼓捣各种lint去规范代码。有了prettier之后，so easy]]></description>
<pubDate>2016-02-15 21:12:54</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/4632.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[让团队按统一编码规范开发代码]]></title>
<link><![CDATA[/html/Operation/codeGuide/4597.html]]></link>
<description><![CDATA[<img src=https://www.zhoulujun.cn/uploadfile/net/2019/0719/20190719213913333312083.png border='0' /><br />为了在版本控制软件中不再因为格式不同而比较代码，最好让团队统一一下编码规范开发代码。https:  github com google styleguide eclipse   ]]></description>
<pubDate>2016-02-15 21:12:39</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/4597.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[JSHint 配置参数浅析]]></title>
<link><![CDATA[/html/Operation/codeGuide/336.html]]></link>
<description><![CDATA[JSHint跟JSLint非常像，都是Javascript代码验证工具，这种工具可以检查你的代码并提供相关的代码改进意见。

对于你的代码，你可以选择多种方式来进行检验：]]></description>
<pubDate>2015-10-31 16:35:06</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/336.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
<item>
<title><![CDATA[ JSHint 配置详解与使用说明]]></title>
<link><![CDATA[/html/Operation/codeGuide/171.html]]></link>
<description><![CDATA[JSHint是一个由javascript社区驱动开发的用于检查javascript代码错误和问题的工具，有了他，可以使你保持一个良好的编码风格。你可以很简单的配置它以适应你目前的一个编码风格]]></description>
<pubDate>2015-07-24 12:19:59</pubDate>
<guid><![CDATA[/html/Operation/codeGuide/171.html]]></guid>
<author>https://www.zhoulujun.cn</author>
</item>
</channel>
</rss>
