When defining the lwc/consistent-component-name rule in the eslint config, the linter tries to correct the exported class name to one including the .ts extension.
File name: console.ts
Class name: Console
Error message from linter: Lightning component class should be named "Console.ts"
When defining the
lwc/consistent-component-name
rule in the eslint config, the linter tries to correct the exported class name to one including the.ts
extension.File name:
console.ts
Class name:
Console
Error message from linter:
Lightning component class should be named "Console.ts"