Skip to content

Commit 33ccd34

Browse files
committed
fix(lint): remove husky and lint-staged from template
1 parent 7372a91 commit 33ccd34

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

src/dependencies.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,8 @@ export function devDependencies({ features }: { features: string[] }) {
3838
'eslint-plugin-cypress': '^2.13.3',
3939
'eslint-plugin-import': '^2.27.5',
4040
'eslint-plugin-jest': '^27.2.3',
41-
husky: '^8.0.3',
4241
jest: '^29.6.1',
4342
'jest-openapi': '^0.14.2',
44-
'lint-staged': '^13.2.3',
4543
'prettier': '^3.0.0',
4644
'ts-jest': '^29.1.1',
4745
typescript: '^5.1.6',

templates/all/.husky/pre-commit

Lines changed: 0 additions & 4 deletions
This file was deleted.

templates/all/package.json.hbs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"migration:create": "db-migrate --config migrations/db-migrate.json create",
2020
{{/inArray}}
2121
"lint": "eslint .",
22-
"postinstall": "husky install && coconfig"
22+
"postinstall": "coconfig"
2323
},
2424
"config": {
2525
"coconfig": "@openapi-typescript-infra/coconfig"
@@ -38,9 +38,6 @@
3838
"openapi",
3939
"express"
4040
],
41-
"lint-staged": {
42-
"*.{js,jsx,ts,tsx}": "yarn eslint --cache --fix"
43-
},
4441
"devDependencies": {
4542
{{#forEach devDependencies}}
4643
"{{name}}": "{{spec}}"{{#unless isLast}},{{/unless}}

0 commit comments

Comments
 (0)