Open brandongregoryscott opened 2 years ago
Inspired by these eslint-plugin-import rules:
eslint-plugin-import
import/no-named-as-default import/no-anonymous-default-export
Implement a rule that ensures default exports match their filename (in some sort of casing, we can add additional configuration options for specific casing later - default should probably be camelCase)
// noop.ts export default function foo() {};
would be transformed to:
// noop.ts export default function noop() {};
Inspired by these
eslint-plugin-import
rules:import/no-named-as-default import/no-anonymous-default-export
Implement a rule that ensures default exports match their filename (in some sort of casing, we can add additional configuration options for specific casing later - default should probably be camelCase)
would be transformed to: