Skip to content

Commit

Permalink
fix: template config from CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
chenasraf committed Oct 26, 2024
1 parent 78d6bf1 commit 41f4ca5
Show file tree
Hide file tree
Showing 4 changed files with 749 additions and 4 deletions.
18 changes: 18 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import eslint from '@eslint/js'
import tseslint from 'typescript-eslint'

export default [
...tseslint.config(eslint.configs.recommended, ...tseslint.configs.recommended),
{
rules: {
'no-unused-vars': ['warn', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
'@typescript-eslint/no-unused-vars': [
'warn',
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
],
},
},
{
ignores: ['node_modules/', 'build/', 'dist/', 'gen/'],
},
]
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"massarg": "2.0.1"
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@types/jest": "^29.5.13",
"@types/mock-fs": "^4.13.4",
"@types/node": "^22.5.5",
Expand All @@ -53,6 +54,7 @@
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.6.2"
"typescript": "^5.6.2",
"typescript-eslint": "^8.11.0"
}
}
Loading

0 comments on commit 41f4ca5

Please sign in to comment.