<%= meta.title %>
How does quick-lint-js compare to ESLint? See for yourself:
const trimArg = <T>(fn: (a: T) => boolean) => {
return (arg1: any, arg2: T) => {
return fn(arg2);
};
};
Cannot find name 'T'. (2304)
JSX element 'T' has no corresponding closing tag. (17008)
Unexpected token. Did you mean `{'>'}` or `>`? (1382)
Unexpected token. Did you mean `{'>'}` or `>`? (1382)
Expression expected. (1109)
Unexpected token. Did you mean `{'>'}` or `>`? (1382)
Expression expected. (1109)
Unexpected token. Did you mean `{'}'}` or `}`? (1381)
Unexpected token. Did you mean `{'}'}` or `}`? (1381)
'</' expected. (1005)
const trimArg = <T>(fn: (a: T) => boolean) => {
return (arg1: any, arg2: T) => {
return fn(arg2);
};
};
generic arrow function needs ',' here in TSX [E0285]
export function Spacer() {
return
<EuiSpacer size="xs" />
<EuiHorizontalRule margin="none" />
<EuiSpacer size="xs" />
}
Unreachable code detected. (7027)
JSX expressions must have one parent element. (2657)
it('matches on the first word', await () => {
await table.searchForItemWithName('Hello');
await table.expectItemsCount('visualize', 1);
});
Expression expected. (1109)
',' expected. (1005)
':' expected. (1005)
',' expected. (1005)
':' expected. (1005)
',' expected. (1005)
it('matches on the first word', await () => {
await table.searchForItemWithName('Hello');
await table.expectItemsCount('visualize', 1);
});
'await' cannot be followed by an arrow function; use 'async' instead [E0178]
function TodoEntry({title, children}) {
return (
<h3>{title}</h3>
<div className="body">{children}</div>
);
}
Adjacent JSX elements must be wrapped in an enclosing tag
function TodoEntry({title, children}) {
return (
<h3>{title}</h3>
<div className="body">{children}</div>
);
}
missing '<>' and '</>' to enclose multiple
children;
children end here [E0189]
What should we work on next? Suggest features for quick-lint-js.
quick-lint-js version 3.0 has over @@@ patches since version 2.0. @@@ people made quick-lint-js possible.
<%- callsToAction() %>Written by strager, lead developer of quick-lint-js.