Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试使用 polyjuice 工具来完成这项任务:
polyjuice --jshint .jshintrc --jscs .jscsrc > .eslintrc
它不能正常工作。
您收到什么错误消息?
要从命令行运行 Polyjuice,请务必全局安装该软件包:
$ npm install -g polyjuice
然后,您应该能够通过在包含有效配置的任何目录中运行以下命令来将JSHint规则转换为ESLint :
$ polyjuice --jshint .jshintrc > .eslintrc