Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tool to fix Markdown ESLint errors automatically #945

Merged
merged 5 commits into from
Jan 27, 2016

Conversation

benjycui
Copy link
Contributor

主要是这两个 commit:

  1. 9d6ddd7
  2. f8fe0b2

eslint-tinker 是刚才写的一个自动修复 Markdown 中 ESLint errors 的工具,�由于 antd 的 Markdown 比较多,相对就有点慢,所以就把它和 ESLint 自带的 fix 命令分开,不然写代码时会奔溃。。。

后续会继续优化。

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @simaQ, @afc163 and @yiminghe to be potential reviewers

@@ -9,7 +9,7 @@
````jsx
import { Alert } from 'antd';

const onClose = function(e) {
const onClose = function (e) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个风格很讨厌啊~~~

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

好吧接受,反正写 function 的次数也在变少,而且不推荐写匿名函数。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

刚看到这个我还以为是改错了。。。然后确认了下规则。。。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants