We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
URL: http://eslint.org/
consoleが残ってないかを検出するno-console.js
no-console.js
module.exports = function(context) { return { "MemberExpression": function(node) { if (node.object.name === "console") { context.report(node, "Unexpected console statement."); } } }; };
on("MemberExpression")
The text was updated successfully, but these errors were encountered:
Architecture - ESLint - Pluggable JavaScript linter
Sorry, something went wrong.
いわゆるpub/subなパターンといえる
eslint/eslint#3134 (comment)
やっぱりwriteするには吸収層が必要。 このアーキテクチャー的にプラグインは基本的writeは難しいので、擬似的にwriteする仕組みは必要。
ひとまず書けたので close #21 細かいところは別Issueで直そう
No branches or pull requests
ESLintのアーキテクチャ
URL: http://eslint.org/
どう書ける?
consoleが残ってないかを検出する
no-console.js
どういう仕組み?
on("MemberExpression")
するどういう事に向いてる?
どういう事に向いていない?
この仕組みを使ってるもの
チェックリスト
The text was updated successfully, but these errors were encountered: