fixing linting error
This commit is contained in:
parent
20a4ed6140
commit
b13aa41a75
@ -8,7 +8,6 @@ var JSX_ANNOTATION_REGEX = /^\*\s*@jsx\s+([^\s]+)/;
|
|||||||
exports.Program = function (node, parent, scope, file) {
|
exports.Program = function (node, parent, scope, file) {
|
||||||
var id = "React.createElement";
|
var id = "React.createElement";
|
||||||
|
|
||||||
var comment = file.ast.comments[0];
|
|
||||||
for (var i = 0; i < file.ast.comments.length; i++) {
|
for (var i = 0; i < file.ast.comments.length; i++) {
|
||||||
var comment = file.ast.comments[i];
|
var comment = file.ast.comments[i];
|
||||||
var matches = JSX_ANNOTATION_REGEX.exec(comment.value);
|
var matches = JSX_ANNOTATION_REGEX.exec(comment.value);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user