Skip to content

Commit

Permalink
Merge pull request #30 from embroider-build/fix-shebang
Browse files Browse the repository at this point in the history
add shebang back and fix linting config
  • Loading branch information
mansona authored Dec 4, 2023
2 parents 6e274d0 + ccb4561 commit b62a84c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,13 @@ module.exports = {
rules: {
'n/no-process-exit': 0,
'@typescript-eslint/no-explicit-any': 0,
'n/shebang': [
'error',
{
convertPath: {
'src/*.ts': ['^src/(.+).ts$', 'dist/$1.js'],
},
},
],
},
};
1 change: 1 addition & 0 deletions src/cli.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env node
import yargs from 'yargs/yargs';
import type { Argv } from 'yargs';

Expand Down

0 comments on commit b62a84c

Please sign in to comment.