Skip to content
This repository was archived by the owner on Oct 4, 2025. It is now read-only.

Commit 0e1ca46

Browse files
committed
lint fixes
1 parent 343dac5 commit 0e1ca46

File tree

9 files changed

+699
-370
lines changed

9 files changed

+699
-370
lines changed

.eslintrc.cjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ module.exports = {
1010
extends: [
1111
"eslint:recommended",
1212
"plugin:@typescript-eslint/eslint-recommended",
13+
"prettier"
1314
],
1415
plugins: ["@typescript-eslint"],
1516
parserOptions: {

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,17 @@
3131
"build": "webpack --mode production",
3232
"build-dev": "webpack --mode development",
3333
"start-dev": "webpack serve --mode development --port 10001 --output-path ./dist --static ${PWD}",
34-
"lint": "eslint ./src webpack.config.cjs"
34+
"lint": "eslint ./src",
35+
"format:check": "prettier --check ./src/",
36+
"format": "prettier --write ./src/"
3537
},
3638
"devDependencies": {
3739
"@types/uuid": "^10.0.0",
3840
"@typescript-eslint/eslint-plugin": "^8.4.0",
3941
"@typescript-eslint/parser": "^8.4.0",
4042
"eslint": "^8.56.1",
43+
"eslint-config-prettier": "^9.1.0",
44+
"prettier": "^3.3.3",
4145
"raw-loader": "^4.0.2",
4246
"ts-loader": "^9.5.1",
4347
"tsconfig-paths-webpack-plugin": "^4.1.0",

0 commit comments

Comments
 (0)