Skip to content

Commit

Permalink
apply prettier plugin for eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyadn committed Oct 18, 2023
1 parent 151870c commit 2c465c6
Show file tree
Hide file tree
Showing 6 changed files with 238 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
extends:
- eslint:recommended
- plugin:@typescript-eslint/recommended
- prettier
- plugin:prettier/recommended
parser: '@typescript-eslint/parser'
plugins:
- '@typescript-eslint'
1 change: 1 addition & 0 deletions .prettierrc.toml
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
singleQuote = true
trailingComma = 'es5'
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"test": "vitest",
"test:cov": "vitest --coverage",
"diagram": "esrun script/generateDiagram.ts",
"lint": "prettier --check . && eslint .",
"lint:fix": "prettier --write . && eslint . --fix",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"benchmark": "esrun benchmark/benchmark.ts"
},
"devDependencies": {
Expand All @@ -56,8 +56,9 @@
"esbuild": "^0.19.4",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^5.0.1",
"glob": "^8.0.3",
"prettier": "^2.7.1",
"prettier": "^3.0.3",
"timezone-mock": "^1.3.4",
"tsup": "^7.2.0",
"typescript": "^4.8.4",
Expand Down
Loading

0 comments on commit 2c465c6

Please sign in to comment.