I have a CLI tool written in TypeScript which needs to have a Shebang in the top of the file. Thus the copyright header has to follow afterwards and this is not recognized with my config:
"header/header": [
"error",
"block",
[
{
"pattern": "Copyright",
"template": "Copyright Test"
}
],
2
],
cli.ts
#!/usr/bin/env node
/*
* Copyright (C) 2021
*/
// Some code here...
I have a CLI tool written in TypeScript which needs to have a Shebang in the top of the file. Thus the copyright header has to follow afterwards and this is not recognized with my config:
cli.ts