Skip to content

ESLintの実装サンプル #29

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

Merged
merged 11 commits into from
Sep 1, 2015
Merged

ESLintの実装サンプル #29

merged 11 commits into from
Sep 1, 2015

Conversation

azu
Copy link
Owner

@azu azu commented Aug 31, 2015

#21 MyLinterというESLintのルールを処理出来る小さな実装

loadPlugin(plugin) {
var rule = plugin(this._ruleContext);
// on(nodeType, nodeTypeCallback);
Object.keys(rule).forEach(nodeType => {
Copy link
Owner Author

Choose a reason for hiding this comment

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

nodeType毎にそれぞれlistenさせてる

azu added a commit that referenced this pull request Sep 1, 2015
ESLintの実装サンプル
@azu azu merged commit 65c4015 into master Sep 1, 2015
@azu azu deleted the MyLint branch September 1, 2015 14:01
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.

1 participant