admin管理员组文章数量:1334328
I'm using codacy to monitor code quality, but it would be nice to see what codacy will catch before a push. I see that it uses eslint and several other tools to decide what to catch. Is there a way to generate a .eslintrc config file from codacy? That way I can use this config in Webstorm and make any necessary changes before pushing any code.
I'm using codacy to monitor code quality, but it would be nice to see what codacy will catch before a push. I see that it uses eslint and several other tools to decide what to catch. Is there a way to generate a .eslintrc config file from codacy? That way I can use this config in Webstorm and make any necessary changes before pushing any code.
Share Improve this question edited Dec 18, 2016 at 14:35 pedrorijo91 7,8659 gold badges47 silver badges89 bronze badges asked Feb 18, 2016 at 19:49 LBaelishLBaelish 6992 gold badges9 silver badges21 bronze badges2 Answers
Reset to default 52 years later Codacy still doesn't provide an export tool. So the best approach seems to be mimic Codacy configuration on ESLint demo (https://eslint/demo/) then click "Download .eslintrc.json file with this configuration" at the bottom of the page. You will need to check/uncheck rules again, but at least you will get a configuration file for future use.
Unfortunately, it's not possible at this moment to generate a .eslintrc or JHint/JSLint file from Codacy itself. You can import those config files in Codacy but not export them.
本文标签: javascriptEslint config file from codacyStack Overflow
版权声明:本文标题:javascript - Eslint config file from codacy - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742368529a2461764.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论