ESLint plugin
This project is maintained by iliubinskii
ESLint plugin / class-match-filename
Requires class name to match filename.
module.exports = {
plugins: ["misc"],
rules: {
"misc/class-match-filename": "error"
}
};
// filename: SomeName.ts
export class ClassName {}
// filename: ClassName.ts
export class ClassName {}