Skip to content

Commit 782f5aa

Browse files
committed
refactor: Remove ESLint, Prettier, and lefthook
1 parent 7e7057e commit 782f5aa

File tree

5 files changed

+6
-67
lines changed

5 files changed

+6
-67
lines changed

.prettierrc.json

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

README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ Using this template, you can build **standalone apps**, **libraries** and/or **C
77
## Features
88

99
1. **Changelog generation** powered by [generate-changelog](https://github.com/lob/generate-changelog)
10-
1. **Automatic code & config formatting** powered by [Lefthook](https://github.com/evilmartians/lefthook)
1110
1. **Automatic dependency updates** powered by [Dependabot](https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates)
12-
1. **Config formatting** powered by [Prettier](https://prettier.io/)
13-
1. **Code linting** powered by [ESLint](https://eslint.org/)
1411
1. **Continuous integration** powered by [GitHub Actions workflows](https://docs.github.com/en/actions/using-workflows)
1512
1. **Dependency management** powered by [npm](https://www.npmjs.com/)
1613
1. **Unit testing** powered by [Vitest](https://vitest.dev/)
@@ -91,16 +88,6 @@ If you are introducing a breaking change, add an exclamation mark (`!`) after th
9188
9289
This is as per [breaking change definition](https://www.conventionalcommits.org/en/v1.0.0/#commit-message-with--to-draw-attention-to-breaking-change) of Conventional Commits 1.0.0.
9390

94-
## Troubleshooting
95-
96-
If you're having trouble with the Git pre-commit hook, then reinstall the hook using the following command:
97-
98-
```bash
99-
npx lefthook install --force
100-
```
101-
102-
Source: [Hooks don't run](https://github.com/evilmartians/lefthook/wiki/Troubleshooting)
103-
10491
## Updates
10592

10693
The dependencies of this boilerplate are updated regularly. If you prefer to update them yourself, you can also run the following command:

eslint.config.mjs

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

lefthook.yml

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

package.json

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,12 @@
88
"description": "",
99
"devDependencies": {
1010
"@arethetypeswrong/cli": "^0.18.1",
11-
"@eslint/eslintrc": "^3.3.1",
12-
"@eslint/js": "^9.22.0",
13-
"lefthook": "^1.11.4",
14-
"@tstv/eslint-config": "^4.0.0",
1511
"@tstv/tsconfig-common": "^3.7.0",
1612
"@types/node": "^24.0.8",
1713
"@vitest/coverage-v8": "^3.0.9",
1814
"cross-env": "^10.0.0",
1915
"dependency-cruiser": "^17.0.1",
20-
"eslint": "^9.23.0",
2116
"generate-changelog": "^1.8.0",
22-
"prettier": "^3.5.3",
2317
"ts-node": "^10.9.2",
2418
"typescript": "^5.7.3",
2519
"vitest": "^3.0.6"
@@ -40,17 +34,17 @@
4034
},
4135
"scripts": {
4236
"build": "tsc",
43-
"check": "npm run check:format -- --list-different && npm run check:lint",
44-
"check:format": "prettier --ignore-path .gitignore --log-level error .",
45-
"check:lint": "eslint --ext .js,.jsx,.ts,.tsx --no-error-on-unmatched-pattern .",
37+
"check": "exit 0",
38+
"check:format": "exit 0",
39+
"check:lint": "exit 0",
4640
"clean": "rm -rf coverage dist",
4741
"commit": "npm run fix && git commit -am \"chore: Generated release files\"",
4842
"deploy": "exit 0",
4943
"dev": "tsc --noEmit && node --no-warnings=ExperimentalWarning --loader ts-node/esm/transpile-only ./src/start.ts",
5044
"dist": "npm run clean && npm run build && attw --pack . --ignore-rules cjs-resolves-to-esm",
51-
"fix": "npm run fix:format && npm run fix:lint",
52-
"fix:format": "npm run check:format -- --write",
53-
"fix:lint": "npm run check:lint -- --fix --quiet",
45+
"fix": "exit 0",
46+
"fix:format": "exit 0",
47+
"fix:lint": "exit 0",
5448
"postversion": "git push origin && git push origin --tags && npm publish --access public && git restore .",
5549
"preversion": "git checkout main && git pull && npm install && npm run test && npm run dist",
5650
"release:major": "generate-changelog -M -x \"chore,test\" && npm run commit && npm version major",

0 commit comments

Comments
 (0)