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
We detect many TypeScript rules already but we're failing to detect those using the TypeScript-specific export = rule syntax:
export = rule
import {Rule} from 'eslint'; const rule: Rule.RuleModule = { meta: {}, create(context): Rule.RuleListener { const source = context.getSourceCode(); // ... } }; export = rule;
Example: https://github.com/43081j/eslint-plugin-lit/blob/master/src/rules/no-duplicate-template-bindings.ts
The text was updated successfully, but these errors were encountered:
but export = rule is not an esm(?). I'd suggest the users move to the standard esm(e.g. export default rule).
export default rule
Sorry, something went wrong.
Good point, updated title to reflect that this is only a TypeScript (not ESM) syntax, I still think we could support it.
https://www.typescriptlang.org/docs/handbook/modules.html#export--and-import--require
ok, let's do it! 👍
Successfully merging a pull request may close this issue.
We detect many TypeScript rules already but we're failing to detect those using the TypeScript-specific
export = rule
syntax:Example: https://github.com/43081j/eslint-plugin-lit/blob/master/src/rules/no-duplicate-template-bindings.ts
The text was updated successfully, but these errors were encountered: